I put a README in the juddi-tomcat directory on this one. This works on maven-2.0.6 but apparently not on maven-2.0.8 or maven-2.0.9 - they changed something something after 2.0.6 that broke maven.dependency.<ARTIFACT>.<BUILD-TYPE>.path. There's a bug in on it (I'll try to locate it today) which says that they are going to address this, but they haven't yet.

In the meantime, is there any way to configure what maven version our project builds with? If not, I'll go and change/hard-code these values, but it'd be kind of a bummer because this seems like the right way to handle things.


Kurt T Stam wrote:
Hi Tom,

The continuum build machine is not resolving the 'maven.dependency.tomcat.apache-tomcat.zip.path' property, where can I read up on these maven properties. I'm kinda puzzled why this would work on my local machine, but not on the build machine.

http://vmbuild.apache.org/continuum/buildResult.action?buildId=131383&projectId=1440&projectGroupId=130

--Kurt

[INFO] Scanning for projects...
[INFO] -----------------------------------------------------------------------
[INFO] Building jUDDI Tomcat Packaging
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://localhost:8081/archiva/repository/releases//tomcat/apache-tomcat/5.5.23/apache-tomcat-5.5.23.pom Downloading: http://localhost:8081/archiva/repository/releases//tomcat/apache-tomcat/5.5.23/apache-tomcat-5.5.23.zip
6659K downloaded
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/continuum/data/working-directory/1440/target/juddi-tomcat-3.0.0.SNAPSHOT.jar
[INFO] [antrun:run {execution: test}]
[INFO] Executing tasks

unzip-tomcat:
[mkdir] Created dir: /home/continuum/data/working-directory/1440/target/tomcat [unzip] Expanding: /home/continuum/data/working-directory/1440/${maven.dependency.tomcat.apache-tomcat.zip.path} into /home/continuum/data/working-directory/1440/target/tomcat [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
/home/continuum/data/working-directory/1440/build.xml:9: Error while expanding /home/continuum/data/working-directory/1440/${maven.dependency.tomcat.apache-tomcat.zip.path} /home/continuum/data/working-directory/1440/${maven.dependency.tomcat.apache-tomcat.zip.path} (No such file or directory) [INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Wed Dec 17 06:51:59 PST 2008
[INFO] Final Memory: 10M/19M
[INFO] ------------------------------------------------------------------------


Reply via email to