[ 
https://issues.apache.org/jira/browse/MTOMCAT-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

patrick garcia updated MTOMCAT-124:
-----------------------------------

    Attachment: MTOMCAT-124-tomcat-maven-archetype.patch

Hear is the patch with the improvements I proposed: 
MTOMCAT-124-tomcat-maven-archetype.patch

This patch has been done on revision 1297937.

As a commit message I would say:

tomcat-maven-archetype improvement :
- artifactId of main archetype is used as prefix for sub module artifactId

- groupId is not anymore hardcode
- package is not anymore half hardcode
- version is back to the default behaviour (type enter for the default value)

- "base" IT goals has been modified for a batch call with no GUI
- "customized" IT has been add with goals that calls GUI

                
> tomcat-maven-archetype unused generation parameters
> ---------------------------------------------------
>
>                 Key: MTOMCAT-124
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-124
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0-beta-1
>            Reporter: patrick garcia
>            Priority: Trivial
>              Labels: archetype, maven, tomcat
>         Attachments: MTOMCAT-124-tomcat-maven-archetype.patch
>
>
> I found several problems on the superb and very useful 
> "tomcat-maven-archetype"
> The improvement I propos are the followings:
> 1/
> "groupId" and "version" can have default values but should be prompt for user 
> value the same way as for "version" of 
> "org.apache.maven.archetypes:maven-archetype-quickstart:1.1"
> "org.apache.maven.archetypes:maven-archetype-quickstart:1.1" proposes a 
> default "version" and prompt the user for modification at the same time. 
> Pressing enter validate the default value.
> 2/
> Following variables are not in used:
>       artifactId-api
>       artifactId-api-impl
>       artifactId-webapp
>       artifactId-webapp-exec
>       artifactId-webapp-it
> This variables should impact the "mvn archetype:generate" behaviour
> 3/
> I propos to change the default values of :
>       artifactId-api = ${artifactId}-api
>       artifactId-api-impl = ${artifactId}-api-impl
>       artifactId-webapp = ${artifactId}-webapp
>       artifactId-webapp-exec = ${artifactId}-webapp-exec
>       artifactId-webapp-it = ${artifactId}-webapp-it
> 4/
> rootArtifactId cat be renamed as artifactId with no default value
> I will propos patches for this later. I, first, have to understand 
> "archetype" framework.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to