Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-347

Allow fields like scm, developers, licenses, etc to be set when generating an archetype

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: Creator
    • Labels:
      None
    • Flags:
      Patch

      Description

      Currently a generated archetype only sets basic fields like the groupId, artifactId, etc. There should be options to set generated values for all POM fields.

        Issue Links

          Activity

          Paul Gier created issue -
          Paul Gier made changes -
          Field Original Value New Value
          Component/s Creator [ 12125 ]
          Paul Gier made changes -
          Link This issue is related to ARCHETYPE-265 [ ARCHETYPE-265 ]
          Hide
          Gustavo N. Fernandes added a comment -

          This patch allow setting in archetype.properties values for description, url. In case they are not specified, the values are being taken from the project itself. The patch also fills in values for licenses, developers, and SCM, all taken from the originating project. The patch makes it possible to close and release a staging repository that has pom validation turned on in Nexus Pro.

          Show
          Gustavo N. Fernandes added a comment - This patch allow setting in archetype.properties values for description, url. In case they are not specified, the values are being taken from the project itself. The patch also fills in values for licenses, developers, and SCM, all taken from the originating project. The patch makes it possible to close and release a staging repository that has pom validation turned on in Nexus Pro.
          G Fernandes made changes -
          Attachment archertype.patch [ 52151 ]
          Paul Gier made changes -
          Patch Submitted [Yes]
          Assignee Paul Gier [ pgier ]
          Fix Version/s 2.x [ 16795 ]
          Hide
          Paul Gier added a comment -

          Fixed in r1038644.

          Show
          Paul Gier added a comment - Fixed in r1038644 .
          Paul Gier made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:05:55 UTC 2015 [ 1428224755734 ]
          Mark Thomas made changes -
          Workflow jira [ 12716785 ] Default workflow, editable Closed status [ 12748107 ]
          Mark Thomas made changes -
          Flags Patch [ 10430 ]
          Patch Submitted Yes [ 10763 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:17:37 UTC 2015 [ 1428272257260 ]
          Mark Thomas made changes -
          Workflow jira [ 12954202 ] Default workflow, editable Closed status [ 12991460 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          18d 18h 31m 1 Paul Gier 24/Nov/10 09:22

            People

            • Assignee:
              Paul Gier
              Reporter:
              Paul Gier
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development