From e60195d21a2422206f1fa6569fcb99ef9d70da7a Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 24 Apr 2015 08:41:38 -0500 Subject: [PATCH] Create new packaging type Add lifecycle mapping in components.xml to override the default and site lifecycles --- pom.xml | 7 ++++ .../resources/META-INF/plexus/components.xml | 40 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/main/resources/META-INF/plexus/components.xml diff --git a/pom.xml b/pom.xml index 243399e3..46a0f58a 100644 --- a/pom.xml +++ b/pom.xml @@ -201,6 +201,13 @@ + + + src/main/resources + true + + + org.kuali.maven.wagons diff --git a/src/main/resources/META-INF/plexus/components.xml b/src/main/resources/META-INF/plexus/components.xml new file mode 100644 index 00000000..de378a50 --- /dev/null +++ b/src/main/resources/META-INF/plexus/components.xml @@ -0,0 +1,40 @@ + + + + org.apache.maven.lifecycle.mapping.LifecycleMapping + jbake + org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping + + + + default + + + + + ${project.groupId}:${project.artifactId}:${project.version}:generate + + + + + + + + + + + site + + + + ${project.groupId}:${project.artifactId}:${project.version}:generate + + + + + + + + + + \ No newline at end of file