[SM-2121] Remove Archetypes catalog (now manage by the Maven repositories managers)

git-svn-id: https://svn.apache.org/repos/asf/servicemix/archetypes/trunk@1172549 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index a76630c..0d72134 100644
--- a/pom.xml
+++ b/pom.xml
@@ -213,8 +213,6 @@
         <module>servicemix-cxf-code-first-osgi-bundle</module>
         <module>servicemix-cxf-wsdl-first-osgi-bundle</module>
         
-        <module>servicemix-archetype-catalog</module>
-        
         <module>servicemix-project-root</module>
         
         <module>servicemix-archetypes-itests</module>
diff --git a/servicemix-archetype-catalog/pom.xml b/servicemix-archetype-catalog/pom.xml
deleted file mode 100644
index f5702ad..0000000
--- a/servicemix-archetype-catalog/pom.xml
+++ /dev/null
@@ -1,135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-    <!--
-
-        Licensed to the Apache Software Foundation (ASF) under one or more
-        contributor license agreements. See the NOTICE file distributed with
-        this work for additional information regarding copyright ownership.
-        The ASF licenses this file to You under the Apache License, Version
-        2.0 (the "License"); you may not use this file except in compliance
-        with the License. You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0 Unless required by
-        applicable law or agreed to in writing, software distributed under the
-        License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-        CONDITIONS OF ANY KIND, either express or implied. See the License for
-        the specific language governing permissions and limitations under the
-        License.
-    -->
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>archetypes</artifactId>
-        <version>2011.01-SNAPSHOT</version>
-    </parent>
-
-    <groupId>org.apache.servicemix.tooling</groupId>
-    <artifactId>catalog</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache ServiceMix :: Archetypes :: Catalog</name>
-
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <mkdir dir="${project.build.directory}" />
-                                <mkdir dir="${project.build.directory}/temp/allversions" />
-                                <mkdir dir="${project.build.directory}/temp/duplicates" />
-                            </tasks>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-archetype-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>crawl</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <repository>${settings.localRepository}/org/apache/servicemix/tooling</repository>
-                    <catalogFile>${project.build.directory}/temp/allversions/archetype-catalog.xml</catalogFile>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>xslt-maven-plugin</artifactId>
-		<version>1.0</version>
-                <executions>
-                    <execution>
-                        <id>filter-by-version</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>transform</goal>
-                        </goals>
-                        <configuration>
-                            <xslFile>target/classes/filter.xsl</xslFile>
-                            <srcDir>${project.build.directory}/temp/allversions</srcDir>
-                            <destDir>${project.build.directory}/temp/duplicates</destDir>
-                            <parameters>
-                                <version>${servicemix-version}</version>
-                            </parameters>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>dedup</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>transform</goal>
-                        </goals>
-                        <configuration>
-                            <xslFile>target/classes/dedup.xsl</xslFile>
-                            <srcDir>${project.build.directory}/temp/duplicates</srcDir>
-                            <destDir>${project.build.directory}</destDir>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-		<version>1.5</version>
-                <executions>
-                    <execution>
-                        <id>attach-artifacts</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>attach-artifact</goal>
-                        </goals>
-                        <configuration>
-                            <artifacts>
-                                <artifact>
-                                    <file>${project.build.directory}/archetype-catalog.xml</file>
-                                    <type>xml</type>
-                                </artifact>
-                            </artifacts>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>
diff --git a/servicemix-archetype-catalog/src/main/resources/dedup.xsl b/servicemix-archetype-catalog/src/main/resources/dedup.xsl
deleted file mode 100644
index 7c34927..0000000
--- a/servicemix-archetype-catalog/src/main/resources/dedup.xsl
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:strip-space elements="*"/>
-  <xsl:param name="version"/>
-
-  <xsl:template match="archetype[artifactId = preceding-sibling::archetype/artifactId]">
-    <!-- drop any duplicate archetype definitions (e.g. with snapshot builds) -->
-  </xsl:template>
-
-  <xsl:template match="archetypes">
-     <archetypes>
-       <xsl:apply-templates select="archetype">
-         <xsl:sort select="artifactId"/>
-       </xsl:apply-templates>
-     </archetypes>
-  </xsl:template>
-
-  <xsl:template match="@*|node()">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()"/>
-    </xsl:copy>
-  </xsl:template>
-
-</xsl:stylesheet>
diff --git a/servicemix-archetype-catalog/src/main/resources/filter.xsl b/servicemix-archetype-catalog/src/main/resources/filter.xsl
deleted file mode 100644
index 6b4389e..0000000
--- a/servicemix-archetype-catalog/src/main/resources/filter.xsl
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-  <xsl:strip-space elements="*"/>
-  <xsl:param name="version"/>
-
-  <xsl:template match="archetype[version != '@{components-version}']">
-    <!-- simply drop archetypes for other versions of ServiceMix -->
-  </xsl:template>
-
-  <xsl:template match="archetypes">
-     <archetypes>
-       <xsl:apply-templates select="archetype">
-         <xsl:sort select="artifactId"/>
-       </xsl:apply-templates>
-     </archetypes>
-  </xsl:template>
-
-  <xsl:template match="@*|node()">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()"/>
-    </xsl:copy>
-  </xsl:template>
-
-</xsl:stylesheet>