Can't resolve Vaadin Add-Ons with eclipse and ivy

Hello guys,

I have the problem that ivy can’t resolve Vaadin Add-Ons.

ivy.xml[code]


[/code]ivy-settings.xml

[code]


[/code]ivy-error

unresolved dependency: org.vaadin.addons#borderlayout;0.5: not found

I don’t know what the problem is and I hope you can help me. :slight_smile:

I discovered that the problem seems to be with the vaadin facet in eclipse. In a project without that, for example a simple base project which offers the vaadin jars for other projects, then the addons not resolved in this project. In a project with vaadin facets activated it works.

This is really strange because everything works fine exept resolving the addons.

VAADIN_BASE is a simple java project in eclipse with ivy activated.

VAADIN_BASE - ivy.xml[code]

<?xml version="1.0"?> <!DOCTYPE ivy-module [

]>














	<!-- The core server part of Vaadin -->
	<dependency org="com.vaadin" name="vaadin-server" rev="&vaadin.version;"
		conf="default->default" />

	<!-- Vaadin themes -->
	<dependency org="com.vaadin" name="vaadin-themes" rev="&vaadin.version;" />

	<!-- Precompiled DefaultWidgetSet -->
	<dependency org="com.vaadin" name="vaadin-client-compiled"
		rev="&vaadin.version;" />

	<!-- Vaadin client side, needed for widget set compilation -->
	<dependency org="com.vaadin" name="vaadin-client" rev="&vaadin.version;" />

	<!-- Compiler for custom widget sets. Should not be deployed -->
	<dependency org="com.vaadin" name="vaadin-client-compiler"
		rev="&vaadin.version;" conf="widgetset-compile->default" />
</dependencies>
[/code]

VAADIN_BASE - ivy-settings.xml[code]

<?xml version="1.0" encoding="UTF-8"?>
		<!-- Vaadin Add-on repository -->
		<ibiblio name="vaadin-addons" usepoms="true" m2compatible="true"
			root="http://maven.vaadin.com/vaadin-addons" />

		<!-- Vaadin snapshots repository -->
		<ibiblio name="vaadin-snapshots" usepoms="true" m2compatible="true"
			root="https://oss.sonatype.org/content/repositories/vaadin-snapshots" />
		<!-- Repository used for Vaadin modified smartsprites library -->
		<dual name="custom-smartsprites">
			<filesystem name="smartsprites-ivy">
				<ivy pattern="${basedir}/ivymodule/[module]

-ivy-[revision]
.xml" />











[/code]
Have anyone an idea to fix this?

Same problem here. Any fix please?

Solved the issue.
From withing Eclipse, go to Window → Preferences
Expand the ‘Ivy’ Tree and select ‘Settings’
Set the “ivy settings path” to the loaction of yorur ivysettings.xml.
I went with ${workspace_loc:proj_name/ivysettings.xml} where proj_name is my project pinting to /proj_name/ivysettings.xml (this is also the same place I have my ivy.xml)

Kenneth Njendu:
Solved the issue.
From withing Eclipse, go to Window → Preferences
Expand the ‘Ivy’ Tree and select ‘Settings’
Set the “ivy settings path” to the loaction of yorur ivysettings.xml.
I went with ${workspace_loc:proj_name/ivysettings.xml} where proj_name is my project pinting to /proj_name/ivysettings.xml (this is also the same place I have my ivy.xml)

Hey,
Worked for me Thanks