bsnyder wrote: > > On Mon, Jul 7, 2008 at 1:45 PM, scott-o <[EMAIL PROTECTED]> wrote: >> >> I've installed servicemix 3.2.1 Maven 2.0.9 and Java 1.6.0_06, and I'm >> working through the tutorial and need some help on step 2.5. >> >> In step 2.4, I had to use the parameter >> -DarchetypeCatalog=http://servicemix.apache.org/tooling/3.2.2-SNAPSHOT/archetype-catalog.xml >> to get the create to work. >> >> At step 2.5, I get an error when executing mvn jbi:projectDeploy that the >> maven-jbi-plugin does not exist. >> >> What can I do to get Maven to deploy the project? >> >> The trace from running mvn -e jbi:projectDeploy is below: >> >> + Error stacktraces are turned on. >> [INFO] Scanning for projects... >> [INFO] Reactor build order: >> [INFO] Tutorial >> [INFO] Tutorial :: File SU >> [INFO] tutorial-sa >> [INFO] Searching repository for plugin with prefix: 'jbi'. >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] The plugin 'org.apache.maven.plugins:maven-jbi-plugin' does not >> exist > > I hazard a guess that you may have specified a newer version than is > available in the central repository (http:/repo1.maven.org/maven2/) > which only holds released versions. The latest release is 3.2.1. > However, I notice that in the archetypeCatalog property above you're > using version 3.2.2-SNAPSHOT which will only be available in the ASF > snapshot repo (http://people.apache.org/repo/m2-snapshot-repository/). > I'm guessing the issue is that you don't have the snapshot repo > specified in your POM file so Maven doesn't know to look there. Just > add the following to your POM and see if it locates the > jbi-maven-plugin: > > <repositories> > ... > <repository> > <id>asf-m2-snapshot-repo</id> > <name>ASF Maven 2 Snapshot Repo</name> > <url>http://people.apache.org/repo/m2-snapshot-repository/</url> > <releases> > <enabled>false</enabled> > <releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > <repository> > </repositories> > > HTH > > Bruce > -- > perl -e 'print > unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" > );' > > Apache ActiveMQ - http://activemq.org/ > Apache Camel - http://activemq.org/camel/ > Apache ServiceMix - http://servicemix.org/ > > Blog: http://bruceblog.org/ > >
I added the snippet to the pom.xml in the tutorial-sa directory and re-ran mvn from that directory. Unfortunately, the error "...maven-jbi-plugin' does not exist..." persists. -- View this message in context: http://www.nabble.com/maven-jbi-plugin-does-not-exist-tp18325070p18326196.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
