|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
maven archetype for ODE , failing to download from repositoryHi 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 |
|
|
Re: maven archetype for ODE , failing to download from repositoryhi there,
I have changed smx-arch -DremoteRepositories to http://repository.apache.org/content/groups/public , Now i am getting following error The META-INF/maven/archetype.xml descriptor cannot be found. below is compllete stack trace, E:\work>smx-arch su ode "-DgroupId=com.ekaplus.accounting" "-DartifactId=ode-notifyevent" "-DarchetypeVersion=3.3.1" [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] ---------------------------------------------------------------------------- [INFO] Using following parameters for creating OldArchetype: servicemix-ode-service-unit:3.3.1 [INFO] ---------------------------------------------------------------------------- [INFO] Parameter: groupId, Value: com.ekaplus.accounting [INFO] Parameter: packageName, Value: com.ekaplus.accounting [INFO] Parameter: basedir, Value: E:\work [INFO] Parameter: package, Value: com.ekaplus.accounting [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: artifactId, Value: ode-notifyevent [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating from archetype Embedded error: The META-INF/maven/archetype.xml descriptor cannot be found. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Thu Nov 05 17:04:12 GMT+05:30 2009 [INFO] Final Memory: 7M/13M [INFO] ------------------------------------------------------------------------ Any comment on this? Regards Brijesh N K
|
|
|
Re: maven archetype for ODE , failing to download from repositoryyou need to use https://repository.apache.org/content/groups/public
I just found the request of http://repository.apache.org/content/groups/public is redirect to https://repository.apache.org/content/groups/public. And maven can't deal with this kind of redirection. Willem brijesh wrote: > hi there, > > I have changed smx-arch -DremoteRepositories to > http://repository.apache.org/content/groups/public , > Now i am getting following error > > The META-INF/maven/archetype.xml descriptor cannot be found. > > below is compllete stack trace, > > > > E:\work>smx-arch su ode "-DgroupId=com.ekaplus.accounting" > "-DartifactId=ode-notifyevent" "-DarchetypeVersion=3.3.1" > [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] > ---------------------------------------------------------------------------- > [INFO] Using following parameters for creating OldArchetype: > servicemix-ode-service-unit:3.3.1 > [INFO] > ---------------------------------------------------------------------------- > [INFO] Parameter: groupId, Value: com.ekaplus.accounting > [INFO] Parameter: packageName, Value: com.ekaplus.accounting > [INFO] Parameter: basedir, Value: E:\work > [INFO] Parameter: package, Value: com.ekaplus.accounting > [INFO] Parameter: version, Value: 1.0-SNAPSHOT > [INFO] Parameter: artifactId, Value: ode-notifyevent > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error creating from archetype > > Embedded error: The META-INF/maven/archetype.xml descriptor cannot be found. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3 seconds > [INFO] Finished at: Thu Nov 05 17:04:12 GMT+05:30 2009 > [INFO] Final Memory: 7M/13M > [INFO] > ------------------------------------------------------------------------ > > > Any comment on this? > > Regards > Brijesh N K > > > brijesh wrote: >> 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 >> >> >> > |
|
|
Re: maven archetype for ODE , failing to download from repositoryAlso note the ode archetype currently produces some pretty outdated
artifacts, see https://issues.apache.org/activemq/browse/SM-1885. ~Greg On Thu, 05 Nov 2009 08:48:52 -0500, Willem Jiang <willem.jiang@...> wrote: > you need to use https://repository.apache.org/content/groups/public > > I just found the request of > http://repository.apache.org/content/groups/public is redirect to > https://repository.apache.org/content/groups/public. > > And maven can't deal with this kind of redirection. > > Willem > > brijesh wrote: >> hi there, I have changed smx-arch -DremoteRepositories to >> http://repository.apache.org/content/groups/public , >> Now i am getting following error >> The META-INF/maven/archetype.xml descriptor cannot be found. below is >> compllete stack trace, E:\work>smx-arch su ode >> "-DgroupId=com.ekaplus.accounting" >> "-DartifactId=ode-notifyevent" "-DarchetypeVersion=3.3.1" >> [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] >> ---------------------------------------------------------------------------- >> [INFO] Using following parameters for creating OldArchetype: >> servicemix-ode-service-unit:3.3.1 >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Parameter: groupId, Value: com.ekaplus.accounting >> [INFO] Parameter: packageName, Value: com.ekaplus.accounting >> [INFO] Parameter: basedir, Value: E:\work >> [INFO] Parameter: package, Value: com.ekaplus.accounting >> [INFO] Parameter: version, Value: 1.0-SNAPSHOT >> [INFO] Parameter: artifactId, Value: ode-notifyevent >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Error creating from archetype >> Embedded error: The META-INF/maven/archetype.xml descriptor cannot be >> found. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 3 seconds >> [INFO] Finished at: Thu Nov 05 17:04:12 GMT+05:30 2009 >> [INFO] Final Memory: 7M/13M >> [INFO] >> ------------------------------------------------------------------------ >> Any comment on this? >> Regards >> Brijesh N K >> brijesh wrote: >>> 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 >>> >>> >>> >> > -- Greg Lucas |
| Free embeddable forum powered by Nabble | Forum Help |