2008/5/15 Stuart McCulloch <[EMAIL PROTECTED]>: > 2008/5/15 mraible <[EMAIL PROTECTED]>: > >> >> Yes. The war is uploaded as evidenced by the following log messages, but >> repository.xml is not updated. I'm assuming I should be looking for the >> artifactId in this file - and it doesn't show up. >> >> [INFO] [deploy:deploy] >> altDeploymentRepository = null >> [INFO] Retrieving previous build number from Snapshots >> Uploading: >> >> http://binrepo.qa:8081/nexus/content/repositories/snapshots/org/appfuse/jobs/jobs-settings/1.0.0-SNAPSHOT/jobs-settings-1.0.0-20080515.133607-8.war >> 5896K<http://binrepo.qa:8081/nexus/content/repositories/snapshots/org/appfuse/jobs/jobs-settings/1.0.0-SNAPSHOT/jobs-settings-1.0.0-20080515.133607-8.war5896K>uploaded >> [INFO] Retrieving previous metadata from Snapshots >> [INFO] Uploading repository metadata for: 'snapshot >> org.appfuse.jobs:jobs-settings:1.0.0-SNAPSHOT' >> [INFO] Retrieving previous metadata from Snapshots >> [INFO] Uploading repository metadata for: 'artifact >> org.appfuse.jobs:jobs-settings' >> [INFO] Uploading project information for jobs-settings >> 1.0.0-20080515.133607-8 >> [INFO] Retrieving previous build number from Snapshots >> Uploading: >> >> http://binrepo.qa:8081/nexus/content/repositories/snapshots/org/appfuse/jobs/jobs-settings/1.0.0-SNAPSHOT/jobs-settings-1.0.0-20080515.133607-8-javadoc.jar >> 59K uploaded >> [INFO] Retrieving previous build number from Snapshots >> Uploading: >> >> http://binrepo.qa:8081/nexus/content/repositories/snapshots/org/appfuse/jobs/jobs-settings/1.0.0-SNAPSHOT/jobs-settings-1.0.0-20080515.133607-8-sources.jar >> 4K<http://binrepo.qa:8081/nexus/content/repositories/snapshots/org/appfuse/jobs/jobs-settings/1.0.0-SNAPSHOT/jobs-settings-1.0.0-20080515.133607-8-sources.jar4K>uploaded >> [INFO] Retrieving previous build number from Snapshots >> Uploading: >> >> http://binrepo.qa:8081/nexus/content/repositories/snapshots/org/appfuse/jobs/jobs-settings/1.0.0-SNAPSHOT/jobs-settings-1.0.0-20080515.133607-8-javadoc.jar >> 59K uploaded >> [INFO] Retrieving previous build number from Snapshots >> Uploading: >> >> http://binrepo.qa:8081/nexus/content/repositories/snapshots/org/appfuse/jobs/jobs-settings/1.0.0-SNAPSHOT/jobs-settings-1.0.0-20080515.133607-8-sources.jar >> 4K uploaded >> [INFO] [bundle:deploy {execution: bundle-deploy}] >> [INFO] LOCK >> http://binrepo.qa:8081/nexus/content/repositories/snapshots/repository.xml >> [INFO] Downloading repository.xml >> [INFO] Parsing file:/tmp/121085860720029379.xml >> [INFO] Writing OBR metadata >> [INFO] Uploading repository.xml >> [INFO] UNLOCK >> http://binrepo.qa:8081/nexus/content/repositories/snapshots/repository.xml >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD SUCCESSFUL >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 1 minute 4 seconds >> [INFO] Finished at: Thu May 15 07:36:49 MDT 2008 >> [INFO] Final Memory: 16M/508M >> [INFO] >> ------------------------------------------------------------------------ >> >> If I manually run the following, the repository.xml file gets updated. >> >> mvn bundle:deploy-file -Dfile=target/jobs-settings.war -DpomFile=pom.xml >> -Durl=http://binrepo.qa:8081/nexus/content/repositories/snapshots >> -Dgroup=org.appfuse.jobs<http://binrepo.qa:8081/nexus/content/repositories/snapshots-Dgroup=org.appfuse.jobs>-DartifactId=jobs-settings >> -Dversion=1.0.0-SNAPSHOT >> -Dpackaging=war >> > > interesting, for some reason the bundleplugin is not seeing the WAR > attached to the project during the standard Maven deploy phase - can > you raise a JIRA issue against the bundleplugin to track this? >
actually I just found the incorrect check in the install and deploy code: https://issues.apache.org/jira/browse/FELIX-560 and committed a fix to trunk - will deploy 1.4.2-SNAPSHOT later today Thanks, >> >> Matt >> -- >> View this message in context: >> http://www.nabble.com/maven-bundle-plugin-not-writing-OBR-data-when-project-is-a-WAR-tp17219225p17253616.html >> Sent from the Apache Felix - Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> -- > Cheers, Stuart -- Cheers, Stuart

