You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by an...@apache.org on 2012/11/28 10:37:05 UTC

svn commit: r1414609 - in /maven/archetypes/trunk/maven-archetype-plugin/src/main/resources: META-INF/maven/archetype-metadata.xml archetype-resources/src/it/simple-it/pom.xml

Author: andham
Date: Wed Nov 28 09:37:04 2012
New Revision: 1414609

URL: http://svn.apache.org/viewvc?rev=1414609&view=rev
Log:
Improved sample IT created in MARCHETYPES-42

Modified:
    maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/META-INF/maven/archetype-metadata.xml
    maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml

Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=1414609&r1=1414608&r2=1414609&view=diff
==============================================================================
--- maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/META-INF/maven/archetype-metadata.xml (original)
+++ maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/META-INF/maven/archetype-metadata.xml Wed Nov 28 09:37:04 2012
@@ -25,7 +25,7 @@ under the License.
     <fileSet filtered="true" packaged="true">
       <directory>src/main/java</directory>
     </fileSet>
-    <fileSet filtered="false" packaged="false">
+    <fileSet filtered="true" packaged="false">
       <directory>src/it</directory>
     </fileSet>
   </fileSets>

Modified: maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml
URL: http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml?rev=1414609&r1=1414608&r2=1414609&view=diff
==============================================================================
--- maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml (original)
+++ maven/archetypes/trunk/maven-archetype-plugin/src/main/resources/archetype-resources/src/it/simple-it/pom.xml Wed Nov 28 09:37:04 2012
@@ -1,13 +1,13 @@
+<?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">
   <modelVersion>4.0.0</modelVersion>
 
-  <groupId>org.apache.maven.archetypes</groupId>
-  <artifactId>maven-plugin-archetype-it</artifactId>
+  <groupId>${groupId}.it</groupId>
+  <artifactId>simple-it</artifactId>
   <version>1.0-SNAPSHOT</version>
 
-  <name>${artifactId} Maven Plugin</name>
-  <url>http://maven.apache.org</url>
+  <description>A simple IT verifying the basic use case.</description>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -16,11 +16,12 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>@pom.groupId@</groupId>
-        <artifactId>@pom.artifactId@</artifactId>
-        <version>@pom.version@</version>
+        <groupId>@project.groupId@</groupId>
+        <artifactId>@project.artifactId@</artifactId>
+        <version>@project.version@</version>
         <executions>
           <execution>
+            <id>touch</id>
             <phase>validate</phase>
             <goals>
               <goal>touch</goal>
@@ -30,5 +31,4 @@
       </plugin>
     </plugins>
   </build>
-
 </project>