THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Skip this when using version 3.1.2
If you are using version 3.1.2 or above of Apache ServiceMix, you do not need the additional Maven 2 repository configuration described below!
Due to Apache Incubator policies, the ServiceMix 3.1.1-incubating release and earlier are not available in public Maven repositories, so you need to
either:
- Build ServiceMix from the source, or
- Modify your local Maven configuration to include an additional repository
The last point can be done by modifying your ~/.m2/settings.xml
configuration file to include the following information:
<settings> <profiles> <profile> <id>incubating</id> <repositories> <repository> <id>apache-incubating</id> <url>http://people.apache.org/repo/m2-incubating-repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>apache-incubating</id> <url>http://people.apache.org/repo/m2-incubating-repository</url> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>incubating</activeProfile> </activeProfiles> </settings>
2 Comments
prabhuprasad channappa
iam using maven version 2.08 and apache-servicemix-3.0-incubating .
im getting the below error even after adding the above in setting.xml
c:\http-uploader>mvn archetype:create \ -DarchetypeGroupId=org.apache.servicemix
tooling \ -DarchetypeArtifactId=servicemix-http-consumer-service-unit \ -Dgroup
d=org.apache.servicemix.examples \ -DartifactId=http-consumer-su
INFO] Scanning for projects...
INFO] Searching repository for plugin with prefix: 'archetype'.
INFO] ------------------------------------------------------------------------
ERROR] BUILD FAILURE
INFO] ------------------------------------------------------------------------
INFO] Invalid task '\': you must specify a valid lifecycle phase, or a goal in
he format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
INFO] ------------------------------------------------------------------------
INFO] For more information, run Maven with the -e switch
INFO] ------------------------------------------------------------------------
INFO] Total time: < 1 second
INFO] Finished at: Thu Feb 14 13:33:56 PST 2008
INFO] Final Memory: 2M/4M
INFO] ------------------------------------------------------------------------
PLEASE HELP ME TO FIX THIS ERROR
Lars Heinemann
Please use the mailing lists or the forum to ask for help. http://servicemix.apache.org/mailing-lists.html
Regards,
Lars