I have that in the pom.xml.
Its basically complaining when trying to download Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.0-incubating/jbi-maven-plugin-3.0-incubating.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) I never build servicemix from source. But I do have this in my settings.xml <settings> <profiles> <profile> <id>incubating</id> <repositories> <repository> <id>apache-incubating</id> <url>http://people.apache.org/repo/m2-incubating-repository</url> </repository> </repositories> </profile> </profiles> <activeProfiles> <activeProfile>incubating</activeProfile> </activeProfiles> </settings> This is when my local repository is empty. There should be something in the settings.xml that points to an alternate repository for the jbi-maven-plugin artifact dependency? cmalonzo wrote: > > Hi, > > Do you have, in your pom.xml a list of plugin repositories where maven can > download plugins from? If not, you can try and add this in the pom.xml: > > <pluginRepositories> > <pluginRepository> > <id>apache.snapshots</id> > <name>Maven Central Plugins Development Repository</name> > <url>http://cvs.apache.org/maven-snapshot-repository</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > > Regards, > > Cristina Malonzo > > > icechunk wrote: >> >> <html> >> <body> >> <table width="80%"> >> <tr> >> <td> >> I have a custom component built with the Maven archtypes. When I try to >> compile this on a machine where maven is freshly installed (mvn -version >> works), I get the following >> </td> >> </tr> >> >> <tr> >> <td> >> <pre> >> [INFO] Scanning for projects... >> Downloading: >> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.0-incubating/servicemix-3.0-incubating.pom >> 59K downloaded >> Downloading: >> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom >> [WARNING] Unable to get resource from repository apache-incubating >> (http://people.apache.org/repo/m2-incubating-repository) >> Downloading: >> http://www.ibiblio.org/maven2/org/apache/apache/1/apache-1.pom >> 3K downloaded >> Downloading: >> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.0-incubating/jbi-maven-plugin-3.0-incubating.pom >> [WARNING] Unable to get resource from repository central >> (http://repo1.maven.org/maven2) >> Downloading: >> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.0-incubating/jbi-maven-plugin-3.0-incubating.pom >> 3K downloaded >> Downloading: >> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.0-incubating/tooling-3.0-incubating.pom >> [WARNING] Unable to get resource from repository central >> (http://repo1.maven.org/maven2) >> Downloading: >> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/tooling/3.0-incubating/tooling-3.0-incubating.pom >> 2K downloaded >> Downloading: >> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.0-incubating/jbi-maven-plugin-3.0-incubating.jar >> [WARNING] Unable to get resource from repository central >> (http://repo1.maven.org/maven2) >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Plugin could not be found - check that the goal name is correct: >> Unable to download the artifact from any repository >> </pre> >> </td> >> </tr> >> >> <tr> >> <td> >> <p> >> I see that the file >> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.0-incubating/jbi-maven-plugin-3.0-incubating.jar >> does not exist. >> >> <p> >> I have followed these instructions >> http://servicemix.goopen.org/sm30ug/4-examples.html#4.Examples-Mavenconfiguration >> >> and set my settings.xml. What else do I need to do? >> </td> >> </tr> >> </table> >> > > > -- View this message in context: http://www.nabble.com/Maven-repository-problem-tf2811096s12049.html#a7852152 Sent from the ServiceMix - User mailing list archive at Nabble.com.
