Archiva

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

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: