Archiva
  1. Archiva
  2. MRM-654

Archetype for generation of Consumer plugins

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: repository scanning
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      I've created an archetype for use in creating artifact-consumer-plugin projects. It currently builds and runs against the head version of archiva.

      • Apply the attached patch in the archiva sandbox dir.
      • Build and install it
      • invoke with the following command line

      mvn archetype:create \
      -DarchetypeGroupId=org.apache.maven.archiva \
      -DarchetypeArtifactId=archiva-consumer-plugin-archetype \
      -DarchetypeVersion=1.1-SNAPSHOT \
      -DgroupId=org.example \
      -DartifactId=simple-consumer-plugin

      This will create a project 'simple-consumer-plugin'

      rgds,

      ste

        Activity

        Maria Odea Ching made changes -
        Field Original Value New Value
        Fix Version/s 1.1 [ 13861 ]
        Hide
        Maria Odea Ching added a comment -

        Thanks Stephen!

        I've applied the patch (-r627310) with some revisions:

        • removed org/example directory so that the directory won't be created during 'mvn archetype:create...'
        • updated archetype.xml
        Show
        Maria Odea Ching added a comment - Thanks Stephen! I've applied the patch (-r627310) with some revisions: removed org/example directory so that the directory won't be created during 'mvn archetype:create...' updated archetype.xml
        Maria Odea Ching made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Stephen Gargan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: