Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-124

tomcat-maven-archetype unused generation parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.0
    • None

    Description

      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.

      Attachments

        1. MTOMCAT-124-tomcat-maven-archetype.patch
          722 kB
          patrick garcia
        2. MTOMCAT-124-tomcat-maven-archetype2.patch
          711 kB
          patrick garcia

        Activity

          People

            olamy Olivier Lamy
            patrick123 patrick garcia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: