|
From: Philip C. <cro...@se...> - 2004-07-15 19:16:44
|
Hi
I am getting maven build failures, for example in ext/legend.
+----------------------------------------
| Executing multiproject:install-callback geotools-legend
| Memory: 15M/23M
+----------------------------------------
Attempting to download jlfgr-1.0.jar.
111K downloaded
Attempting to download opengis-css-0.1.jar.
23K downloaded
Attempting to download main-2.1.x.jar.
WARNING: Failed to download main-2.1.x.jar.
The problem is that it can't find main, but that is because it is
looking for
main/jars/main-2.1.x.jar
instead of
gt2/jars/main-2.1.x.jar
This is caused by the fact that the project.xml has a dependency that
looks like:
<dependency>
<id>main</id>
<version>2.1.x</version>
<url>http://www.geotools.org</url>
</dependency>
but it should be
<dependency>
<artifactId>main</artifactId>
<groupId>gt2</groupId>
<version>2.1.x</version>
<url>http://www.geotools.org</url>
</dependency>
The maven pom used to just use <id>, but they have changed to using a
separate artifact and group id, which is good because it allows, for
example, all the geotools jars to be collected together in the gt2
group, but it also means that the dependencies have to use the
group/artifact pair instead of just id.
thanks,
Philip
|