« Return to Thread: maven archetype for ODE , failing to download from repository

maven archetype for ODE , failing to download from repository

by brijesh :: Rate this Message:

Reply to Author | View in Thread

Hi there ,

I get errors when i execute below command for generating artifacts for ODE

smx-arch su ode "-DgroupId=com.ekaplus.accounting" "-DartifactId=se-notifyevent3" "-DarchetypeVersion=3.3.1"

Below 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
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/servicemix-ode-service-unit/3.3.1/servicemix-ode-service-unit-3.3.1.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-ode-service-unit
Version: 3.3.1

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-ode-service-unit -Dversion=3.3.1 -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-ode-service-unit -Dversion=3.3.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.servicemix.tooling:servicemix-ode-service-unit:jar:3.3.1

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: Thu Nov 05 12:31:22 GMT+05:30 2009
[INFO] Final Memory: 7M/13M
[INFO] ------------------------------------------------------------------------


Any comments on this?

Regards
Brijesh N K

 « Return to Thread: maven archetype for ODE , failing to download from repository