struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Sánchez (JIRA) <>
Subject [jira] Created: (WW-3366) Documentarion error for maven archetype in
Date Tue, 05 Jan 2010 11:17:43 GMT
Documentarion error for maven archetype in

                 Key: WW-3366
             Project: Struts 2
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 2.1.8
         Environment: Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_16
Java home: /usr/lib/jvm/java-6-sun-
Default locale: es_ES, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix"

            Reporter: Antonio Sánchez

Documentation page:


mvn archetype:generate -B \
                       -DgroupId=tutorial \
                       -DartifactId=tutorial \
                       -DarchetypeGroupId=org.apache.struts \
                       -DarchetypeArtifactId=struts2-archetype-blank \

But fails:

[WARNING] No archetype repository found. Falling back to central repository (

[WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.
[INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank:jar:' in
repository struts2-archetype-blank-repo (
[INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank:jar:' in
repository central (
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] The desired archetype does not exist (org.apache.struts:struts2-archetype-blank:

Related to bug: WW-3141

My comments:
1. Include maven archetypes for the corresponding version in each struts2 release, I mean,
maven stuff should be in the release checklist: do not release until the corresponding maven
stuff is developed, tested and uploaded to maven repositories.
2, Anyway, if it is valid to use a different archetype <version>, state it as part of
the documentation. For instance, state tha version "-DarchetypeVersion=" (or whatever)
will also work for (or whatever). This is useful to developers not familiar to maven.

Maven archetypes usage should be devoted more attention, they can be very useful specially
if we bear in mind that struts2 ide plugins are not supported in struts2 project (but maybe
I'm wrong).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message