struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <>
Subject [jira] Commented: (WW-3366) Documentarion error for maven archetype in
Date Wed, 06 Jan 2010 09:53:43 GMT


Lukasz Lenart commented on WW-3366:

Yes, you are right and I will try to move Struts2 archetypes inside Struts2 project to be
a submodule and included in release process of whole project

It isn't so obvious but there were only few archetypes released so far, so it will be better
to put a list of available versions of archetypes


> Documentarion error for maven archetype in
> --------------------------------------------------
>                 Key: WW-3366
>                 URL:
>             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:
> States:
> mvn archetype:generate -B \
>                        -DgroupId=tutorial \
>                        -DartifactId=tutorial \
>                        -DarchetypeGroupId=org.apache.struts \
>                        -DarchetypeArtifactId=struts2-archetype-blank \
>                        -DarchetypeVersion=
> But fails:
> ...
> [WARNING] No archetype repository found. Falling back to central repository (

> [WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository
is elsewhere.
> Downloading:
> [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank:jar:'
in repository struts2-archetype-blank-repo (
> Downloading:
> [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