Hi JB, Its done, that was the mistake. Thanks for the support.
Regards Brijesh N K Jean-Baptiste Onofre wrote: > > Could you try using only one -DarchetypeVersion=3.2.3 ? > > Regards > JB > > brijesh wrote: >> JB, >> >> Error stack as follows >> >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'archetype'. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Maven Default Project >> [INFO] task-segment: [archetype:create] (aggregator-style) >> [INFO] >> ------------------------------------------------------------------------ >> Downloading: >> http://repo1.maven.org/maven2/com/ekaplus/accounting/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom >> Downloading: >> http://repo1.maven.org/maven2/com/ekaplus/accounting/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom >> [INFO] Setting property: classpath.resource.loader.class => >> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. >> [INFO] Setting property: velocimacro.messages.on => 'false'. >> [INFO] Setting property: resource.loader => 'classpath'. >> [INFO] Setting property: resource.manager.logwhenfound => 'false'. >> [INFO] [archetype:create] >> [WARNING] This goal is deprecated. Please use mvn archetype:generate >> instead >> [INFO] Defaulting package to group ID: com.ekaplus.accounting >> [INFO] We are using command line specified remote repositories: >> http://people.apache.org/repo/m2-ibiblio-rsync-repository >> [INFO] snapshot >> org.apache.servicemix.tooling:servicemix-camel-service-unit:2009.01-SNAPSHOT: >> checking for updates from id0 >> Downloading: >> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/servicemix-camel-service-unit/2009.01-SNAPSHOT/servicemix-camel-service-unit-2009.01-SNAPSHOT.jar >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> GroupId: org.apache.servicemix.tooling >> ArtifactId: servicemix-camel-service-unit >> Version: 2009.01-SNAPSHOT >> >> Reason: Unable to download the artifact from any repository >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=org.apache.servicemix.tooling >> -DartifactId=servicemix-camel-service-unit -Dversion=2009.01-SNAPSHOT >> -Dpackaging=jar -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the file >> there: >> mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tooling >> -DartifactId=servicemix-camel-service-unit -Dversion=2009.01-SNAPSHOT >> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> >> >> org.apache.servicemix.tooling:servicemix-camel-service-unit:jar:2009.01-SNAPSHOT >> >> from the specified remote repositories: >> id0 (http://people.apache.org/repo/m2-ibiblio-rsync-repository) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 4 seconds >> [INFO] Finished at: Wed Sep 30 16:08:40 GMT+05:30 2009 >> [INFO] Final Memory: 7M/13M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> Regards >> Brijesh N K >> >> >> >> >> Jean-Baptiste Onofre wrote: >>> Is the error is exactly the same (looking for RELEASE) ? >>> >>> brijesh wrote: >>>> Hi JB, >>>> >>>> thanks for the response, >>>> >>>> As you mentioned i have tried following command >>>> >>>> smx-arch su camel "-DgroupId=com.ekaplus.accounting" >>>> "-DartifactId=camel-notifyevent" "-DarchetypeVersion=3.2.3" >>>> "-DarchetypeVersion=2009.01-SNAPSHOT" >>>> >>>> But i am still getting same error . >>>> >>>> Please advice me >>>> >>>> Regards >>>> Brijesh N K >>>> >>>> >>>> >>>> >>>> >>>> >>>> Jean-Baptiste Onofre wrote: >>>>> Hi, >>>>> >>>>> You need to define the archetype version to use. Try to add the >>>>> following argument: >>>>> -DarchetypeVersion=3.2.3 >>>>> or >>>>> -DarchetypeVersion=2009.01-SNAPSHOT >>>>> >>>>> Regards >>>>> JB >>>>> >>>>> brijesh wrote: >>>>>> hello there, >>>>>> >>>>>> I am getting build error, >>>>>> while trying to generate camel SU using maven with following command >>>>>> >>>>>> smx-arch su camel "-DgroupId=com.ekaplus.accounting" >>>>>> "-DartifactId=camel-notifyevent" >>>>>> >>>>>> >>>>>> following is error stack, >>>>>> >>>>>> >>>>>> [INFO] Scanning for projects... >>>>>> [INFO] Searching repository for plugin with prefix: 'archetype'. >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] Building Maven Default Project >>>>>> [INFO] task-segment: [archetype:create] (aggregator-style) >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> Downloading: >>>>>> http://repo1.maven.org/maven2/com/ekaplus/accounting/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom >>>>>> Downloading: >>>>>> http://repo1.maven.org/maven2/com/ekaplus/accounting/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom >>>>>> [INFO] Setting property: classpath.resource.loader.class => >>>>>> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. >>>>>> [INFO] Setting property: velocimacro.messages.on => 'false'. >>>>>> [INFO] Setting property: resource.loader => 'classpath'. >>>>>> [INFO] Setting property: resource.manager.logwhenfound => 'false'. >>>>>> [INFO] [archetype:create] >>>>>> [WARNING] This goal is deprecated. Please use mvn archetype:generate >>>>>> instead >>>>>> [INFO] Defaulting package to group ID: com.ekaplus.accounting >>>>>> [INFO] We are using command line specified remote repositories: >>>>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository >>>>>> [INFO] artifact >>>>>> org.apache.servicemix.tooling:servicemix-camel-service-unit: >>>>>> checking for updates from id0 >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [ERROR] BUILD ERROR >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] Failed to resolve artifact. >>>>>> >>>>>> GroupId: org.apache.servicemix.tooling >>>>>> ArtifactId: servicemix-camel-service-unit >>>>>> Version: RELEASE >>>>>> >>>>>> Reason: Unable to determine the release version >>>>>> >>>>>> Try downloading the file manually from the project website. >>>>>> >>>>>> Then, install it using the command: >>>>>> mvn install:install-file -DgroupId=org.apache.servicemix.tooling >>>>>> -DartifactId=servicemix-camel-service-unit -Dversion=RELEASE >>>>>> -Dpackaging=jar >>>>>> -Dfile=/path/to/file >>>>>> >>>>>> Alternatively, if you host your own repository you can deploy the >>>>>> file >>>>>> there: >>>>>> mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tooling >>>>>> -DartifactId=servicemix-camel-service-unit -Dversion=RELEASE >>>>>> -Dpackaging=jar >>>>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>>>> >>>>>> >>>>>> >>>>>> org.apache.servicemix.tooling:servicemix-camel-service-unit:jar:RELEASE >>>>>> >>>>>> >>>>>> >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] For more information, run Maven with the -e switch >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] Total time: 4 seconds >>>>>> [INFO] Finished at: Wed Sep 30 14:28:35 GMT+05:30 2009 >>>>>> [INFO] Final Memory: 7M/13M >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> >>> >> > > -- View this message in context: http://www.nabble.com/Error-while-creating-camel-SU-%2C-using-maven-tp25677368p25682148.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
