CAMEL-8365: Attach generate catalog to mvn build

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/db04b50f
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/db04b50f
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/db04b50f

Branch: refs/heads/master
Commit: db04b50fd4c1b3721a5bc3f7b7d9911c1e162aa3
Parents: 2c6bb87
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Feb 18 19:43:41 2015 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Feb 18 19:43:41 2015 +0100

----------------------------------------------------------------------
 tooling/archetypes/pom.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/db04b50f/tooling/archetypes/pom.xml
----------------------------------------------------------------------
diff --git a/tooling/archetypes/pom.xml b/tooling/archetypes/pom.xml
index eb62fe4..df458b5 100644
--- a/tooling/archetypes/pom.xml
+++ b/tooling/archetypes/pom.xml
@@ -68,6 +68,30 @@
         </executions>
       </plugin>
 
+      <!-- attach the generate archetype-catalog so its released to maven repo 
-->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-artifacts</id>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>attach-artifact</goal>
+            </goals>
+            <configuration>
+              <artifacts>
+                <artifact>
+                  <file>target/classes/archetype-catalog.xml</file>
+                  <type>xml</type>
+                  <classifier>archetype-catalog</classifier>
+                </artifact>
+              </artifacts>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
     </plugins>
 
     <pluginManagement>

Reply via email to