[jboss-dev-forums] [Design of JBoss Build System] - Re: New JBoss Deploy Plugin
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Mar 7 19:44:14 EST 2007
I tried the deploy target for the current jbossxb-2.0.0.CR1 I'm working on, and I did not have the jboss.repository.root define in my local settings.xml:
| [INFO] [jar:jar]
| [INFO] Building jar: /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding.jar
| [INFO] Preparing source:jar
| [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.[INFO] No goals needed for project - skipping
| [INFO] [source:jar {execution: default}]
| [INFO] Building jar: /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding-sources.jar
| [INFO] [install:install]
| [INFO] Installing /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding.jar to /usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1.jar
| [INFO] Installing /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding-sources.jar to /usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1-sources.jar
| [INFO] [deploy:deploy]
| Uploading: file:///usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1.jar
| 355K uploaded
| [INFO] Retrieving previous metadata from cvs-file-repository
| [INFO] Uploading repository metadata for: 'artifact jboss:jbossxb'
| [INFO] Retrieving previous metadata from cvs-file-repository
| [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1.pom - IGNORING
| [INFO] Uploading project information for jbossxb 2.0.0.CR1
| Uploading: file:///usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1-sources.jar
| 240K uploaded
| [INFO] ------------------------------------------------------------------------[INFO] BUILD SUCCESSFUL
| [INFO] ------------------------------------------------------------------------[INFO] Total time: 55 seconds
| [INFO] Finished at: Wed Mar 07 16:25:06 PST 2007
| [INFO] Final Memory: 13M/293M
| [INFO] ------------------------------------------------------------------------
|
Maybe the CHECKSUM warning I can gather something is missing, but it would be good if the warning could say that jboss.repository.root was not defined or was pointing to an invalid location. However, after defining jboss.repository.root, I'm still not seeing any attempt to load jars to the ${jboss.repository.root}/jboss/jbossxb/2.0.0.CR1 location as would be expected:
| [INFO] [jar:jar]
| [INFO] Building jar: /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding.jar
| [INFO] Preparing source:jar
| [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.[INFO] No goals needed for project - skipping
| [INFO] [source:jar {execution: default}]
| [INFO] Building jar: /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding-sources.jar
| [INFO] [install:install]
| [INFO] Installing /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding.jar to /usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1.jar
| [INFO] Installing /home/svn/Common/tags/jbossxb-2.0.0.CR1/target/jboss-xml-binding-sources.jar to /usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1-sources.jar
| [INFO] [deploy:deploy]
| Uploading: file:///usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1.jar
| 355K uploaded
| [INFO] Retrieving previous metadata from cvs-file-repository
| [INFO] Uploading repository metadata for: 'artifact jboss:jbossxb'
| [INFO] Retrieving previous metadata from cvs-file-repository
| [INFO] Uploading project information for jbossxb 2.0.0.CR1
| Uploading: file:///usr/Repository/repository.jboss.com/maven2/jboss/jbossxb/2.0.0.CR1/jbossxb-2.0.0.CR1-sources.jar
| 240K uploaded
|
and I don't see anything new under ${jboss.repository.root}/jboss/jbossxb
| [starksm at succubus jbossxb-2.0.0.CR1]$ ls /usr/Repository/repository.jboss.com/jboss/jbossxb/
| 1.0.0.CR3/ 1.0.0.CR6.patch01/ 1.0.1.TEST/ lib/
| 1.0.0.CR4/ 1.0.0.CR7/ 1.0RC1/ snapshot/
| 1.0.0.CR5/ 1.0.0.CR8/ 1.0RC2/
| 1.0.0.CR5_JBoss-4.0.4.GA/ 1.0.0.CR9/ as405-snapshot/
| 1.0.0.CR6/ 1.0.0.CR9-brew/ CVS/
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026058#4026058
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026058
More information about the jboss-dev-forums
mailing list