Author: hlship
Date: Mon Apr  6 01:28:41 2009
New Revision: 762195

URL: http://svn.apache.org/viewvc?rev=762195&view=rev
Log:
TAP5-608: Quickstart archetype is broken for 5.1.0.2: missing 
META-INF/maven/archetype.xml

Modified:
    tapestry/tapestry5/trunk/quickstart/pom.xml
    
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml

Modified: tapestry/tapestry5/trunk/quickstart/pom.xml
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/pom.xml?rev=762195&r1=762194&r2=762195&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/quickstart/pom.xml (original)
+++ tapestry/tapestry5/trunk/quickstart/pom.xml Mon Apr  6 01:28:41 2009
@@ -3,7 +3,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>quickstart</artifactId>
-    <packaging>jar</packaging>
+    <packaging>maven-plugin</packaging>
     <dependencies>
         <dependency>
             <groupId>org.easymock</groupId>
@@ -21,6 +21,26 @@
     <url>http://tapestry.apache.org/tapestry5/${pom.artifactId}/</url>
     <description>Archetype for creating a basic Tapestry 5 
application.</description>
 
+    <build>
+        <resources>
+            <resource>
+                <filtering>false</filtering>
+                <directory>${basedir}/src/main/resources</directory>
+                <excludes>
+                    <exclude>archetype-catalog.xml</exclude>
+                    <exclude>**/.*</exclude>
+                </excludes>
+            </resource>
+        </resources>
+
+        <extensions>
+            <extension>
+                <groupId>org.apache.maven.archetype</groupId>
+                <artifactId>archetype-packaging</artifactId>
+            </extension>
+        </extensions>
+    </build>
+
     <profiles>
         <profile>
             <id>ci</id>
@@ -37,7 +57,7 @@
                                 <configuration>
 
                                     <tasks>
-                                        <echo>Copying Archetype Catalog to 
/var/www/maven-snapshot-repository</echo>
+                                        <echo>Copying Archetype Catalog to 
repository</echo>
                                         <copy overwrite="true" 
todir="/var/www/maven-snapshot-repository">
                                             <fileset dir="src/main/resources" 
includes="*catalog.xml"></fileset>
                                             <filterset>

Modified: 
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=762195&r1=762194&r2=762195&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
 (original)
+++ 
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
 Mon Apr  6 01:28:41 2009
@@ -51,6 +51,9 @@
 
         <fileSet filtered="true" packaged="false">
             <directory>src/test/resources</directory>
+        </fileSet>
+
+        <fileSet filtered="true" packaged="false">
             <directory>src/test/conf</directory>
         </fileSet>
 


Reply via email to