You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2012/03/09 15:13:46 UTC
svn commit: r1298835 - in /karaf/trunk/archetypes/blueprint: ./
src/main/resources/META-INF/maven/ src/test/ src/test/resources/
src/test/resources/projects/ src/test/resources/projects/blueprint/
Author: jbonofre
Date: Fri Mar 9 14:13:46 2012
New Revision: 1298835
URL: http://svn.apache.org/viewvc?rev=1298835&view=rev
Log:
Refactore blueprint archetype to use new Maven itests
Added:
karaf/trunk/archetypes/blueprint/src/test/
karaf/trunk/archetypes/blueprint/src/test/resources/
karaf/trunk/archetypes/blueprint/src/test/resources/projects/
karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/
karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/archetype.properties
karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/goal.txt
Modified:
karaf/trunk/archetypes/blueprint/pom.xml
karaf/trunk/archetypes/blueprint/src/main/resources/META-INF/maven/archetype-metadata.xml
Modified: karaf/trunk/archetypes/blueprint/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/archetypes/blueprint/pom.xml?rev=1298835&r1=1298834&r2=1298835&view=diff
==============================================================================
--- karaf/trunk/archetypes/blueprint/pom.xml (original)
+++ karaf/trunk/archetypes/blueprint/pom.xml Fri Mar 9 14:13:46 2012
@@ -33,21 +33,33 @@
<packaging>maven-archetype</packaging>
<name>Apache Karaf :: Archetypes :: Blueprint Archetype</name>
+ <properties>
+ <archetype.version>2.2</archetype.version>
+ </properties>
+
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
- <version>2.2</version>
+ <version>${archetype.version}</version>
</extension>
</extensions>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-archetype-plugin</artifactId>
+ </plugin>
+ </plugins>
+
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
+ <version>${archetype.version}</version>
</plugin>
</plugins>
</pluginManagement>
Modified: karaf/trunk/archetypes/blueprint/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/archetypes/blueprint/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=1298835&r1=1298834&r2=1298835&view=diff
==============================================================================
--- karaf/trunk/archetypes/blueprint/src/main/resources/META-INF/maven/archetype-metadata.xml (original)
+++ karaf/trunk/archetypes/blueprint/src/main/resources/META-INF/maven/archetype-metadata.xml Fri Mar 9 14:13:46 2012
@@ -20,6 +20,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="karaf-blueprint-archetype">
+ <requiredProperties>
+ <requiredProperty key="package"/>
+ </requiredProperties>
+
<fileSets>
<fileSet filtered="true" packaged="true" encoding="UTF-8">
<directory>src/main/java</directory>
Added: karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/archetype.properties
URL: http://svn.apache.org/viewvc/karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/archetype.properties?rev=1298835&view=auto
==============================================================================
--- karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/archetype.properties (added)
+++ karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/archetype.properties Fri Mar 9 14:13:46 2012
@@ -0,0 +1,4 @@
+groupId=archetype.it
+artifactId=blueprint
+version=1.0-SNAPSHOT
+package=org.apache.karaf.archetype.it
\ No newline at end of file
Added: karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/goal.txt
URL: http://svn.apache.org/viewvc/karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/goal.txt?rev=1298835&view=auto
==============================================================================
--- karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/goal.txt (added)
+++ karaf/trunk/archetypes/blueprint/src/test/resources/projects/blueprint/goal.txt Fri Mar 9 14:13:46 2012
@@ -0,0 +1 @@
+clean install verify
\ No newline at end of file