Gerhard Goosen a écrit :
> I need some help, I am trying to “mvn install” on geotools 2.2.x and I
> get compilation errors?
>
> Cmd output:
>
> C:\Projects\GeoTools\2.2.x>svn update
> At revision 20304.
> C:\Projects\GeoTools\2.2.x>mvn install
> [INFO]
> [INFO] Building JAR files collector
> Compiling 1 source file to
> C:\Projects\GeoTools\2.2.x\maven\jar-collector\target\classes
> [ERROR] BUILD FAILURE
> [INFO] Compilation failure
> C:\Projects\GeoTools\2.2.x\maven\jar-collector\src\org\geotools\maven\JarCollector.java:[32,32]
>
> package org.codehaus.plexus.util does not exist
Its look like that the build failed right at the begining. I just tried on my
machine (same branch,
same SVN revision) and this part worked fine... (I got an other build failure
later however, but for
an other reason).
It may be worth to look into your
~/.m2/repository/org/codehaus/plexus/plexus-util directory. Do you
have some file there? If yes, maybe you should try to delete completly this
directory and try "mvn
install" again? (it will force Maven 2 to download again the dependencies -
maybe some previous
download were incomplete?).
You may get an other build failure later however. I just tried on the 2.2
branch and saw that a
release was done recently (RC4), that the new development branch is
RC5-SNAPSHOT but the
dependencies were not yet updated in pom.xml files.
I guess that the 2.2 branch maintainers will fix the dependencies soon. As an
alternative, you may
try to checkout and compile the trunk (2.3 development) instead. I know that we
said on our home
page that users should look for the 2.2 branch instead (which is supposed to be
stable), but in
practice I'm not sure that "trunk" is that much less stable than the 2.2
branch. It compile file
most of the time actually, and build failures are usually fixed as soon as I'm
aware of them (I do
not watch as closely the 2.2 branch).
Martin.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel