|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
create portlet structureHello.
I'm try creating portlet structure with: $ mvn archetype:create -DgroupId=com.mycompany.myportlet \ -DartifactId=myportlet \ -DarchetypeGroupId=org.apache.struts \ -DarchetypeArtifactId=struts2-archetype-portlet \ -DarchetypeVersion=2.0.9-SNAPSHOT \ -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository [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] ------------------------------------------------------------------------ [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.mycompany.myportlet [INFO] We are using command line specified remote repositories: http://people.apache.org/repo/m2-snapshot-repository [INFO] snapshot org.apache.struts:struts2-archetype-portlet:2.0.9-SNAPSHOT: checking for updates from id0 Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-archetype-portlet/2.0.9-SNAPSHOT/struts2-archetype-portlet-2.0.9-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating from archetype Embedded error: OldArchetype does not exist. Unable to download the artifact from any repository [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 seconds [INFO] Finished at: Fri Aug 08 10:33:53 CLT 2008 [INFO] Final Memory: 9M/64M I look http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-archetype-portlet/2.0.9-SNAPSHOT/ it's empty what happen ? I not found mirror any idea ? -- -rvm rv- rv- |
| Free embeddable forum powered by Nabble | Forum Help |