struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Geppert (Created) (JIRA)" <>
Subject [jira] [Created] (WW-3738) Struts2 Maven Archetypes are broken
Date Thu, 05 Jan 2012 13:21:39 GMT
Struts2 Maven Archetypes are broken

                 Key: WW-3738
             Project: Struts 2
          Issue Type: Bug
          Components: Example Applications
    Affects Versions: 2.3.1
            Reporter: Johannes Geppert
             Fix For: 2.3.2

The generated archetype jars are missing some importend files like the META-INF/archetype.xml.

mvn archetype:generate -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-portlet
-DarchetypeVersion= -DartifactId=bookmark-portlet -DarchetypeCatalog=

[INFO] Scanning for projects... 
[INFO] ------------------------------------------------------------------------ 
[INFO] Building Maven Stub Project (No POM) 1 
[INFO] ------------------------------------------------------------------------ 
[INFO] >>> maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom >>>

[INFO] <<< maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom <<<

[INFO] --- maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom --- 
[INFO] Generating project in Interactive mode 
[INFO] Archetype repository missing. Using the one from [org.apache.struts:struts2-archetype-portlet:2.3.1
->] found in catalog
(8 KB at 15.6 KB/sec) 
(3 KB at 5.0 KB/sec) 
[INFO] ------------------------------------------------------------------------ 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 4.032s 
[INFO] Finished at: Wed Jan 04 13:26:49 CET 2012 
[INFO] Final Memory: 6M/61M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0:generate
(default-cli) on project standalone-pom: The defined artifact is not an archetype -> [Help
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] For more information about the errors and possible solutions, please read the following
[ERROR] [Help 1]

See Mailing-List Thread:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message