I think surefire has a similar problem, maven is incorrectly detecting a circular dep I believe. Can you set the plugin to al already released version until the new one is deployed, then update the build to use the latest version?

Andy

On 10 Mar 2007, at 23:49, Tim Moloney wrote:

Yes, maven-bundle-plugin is used later in the build. maven-bundle- plugin is the third bundle to be built in the multi-module build and the first module to use it is javax.servlet which is the fourth module in the build.

Tim


Andrew Williams wrote:
Sorry, what I meant is that I assume it is using the plugin which is still to be built...
Is that not the case?

Andy

On 10 Mar 2007, at 11:34, Tim Moloney wrote:

Yes, the parent pom (the one executed by the ant wrapper) is a multi-module pom and one of the modules to build is maven-bundle- plugin.

This is why I'm confused with the error message. maven-bundle- plugin doesn't exist since it hasn't been built yet by this execution of maven.

Tim


Andrew Williams wrote:
Am I right in guessing that your parent pom refers to the felix maven-bundle-plugin?

Andy

On 8 Mar 2007, at 06:30, Tim Moloney wrote:

Any of the following commands fail with the error message below using Maven 2.0.5 and an empty local repository. Maven 2.0.4 works fine.

ant
ant install
mvn -Dpackaging=bundle clean install
mvn -Dpackaging=bundle install

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Felix
[INFO]   OSGi R4 Foundation EE
[INFO]   Maven Bundle Plugin
[INFO]   Servlet 2.1 API
[INFO]   OSGi R4 Core Bundle
[INFO]   OSGi R4 Compendium Bundle
[INFO]   Apache Felix Framework
[INFO]   Apache Felix Shell Service
[INFO]   Apache Felix Shell TUI
[INFO]   Apache Felix Bundle Repository
[INFO]   Apache Felix Main
[INFO]   Apache Felix Log Service
[INFO]   Apache Felix EventAdmin
[INFO]   Apache Felix EventAdmin Bridge UPnP
[INFO]   Apache Felix EventAdmin Bridge Configuration
[INFO]   Apache Felix EventAdmin Bridge UserAdmin
[INFO]   Apache Felix EventAdmin Bridge WireAdmin
[INFO] ------------------------------------------------------------------ ------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------ ------ [INFO] The plugin 'org.apache.felix:maven-bundle-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------ ------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------ ------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Mar 08 01:17:28 EST 2007
[INFO] Final Memory: 2M/4M
[INFO] ------------------------------------------------------------------ ------

The complete steps to reproduce this (assuming Maven 2.0.5 is in the PATH) are:

cd ${HOME}
\rm -r .m2
svn checkout http://svn.apache.org/repos/asf/incubator/felix/ trunk felix-trunk
cd felix-trunk
ant (or any of the commands listed at the top)

Any suggestions on how I can solve this?

Tim


------------------------------------------------------------------ ---
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


------------------------------------------------------------------- --
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to