Skip to content

Commit

Permalink
Added integration test for xtend.maven.archetype
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
  • Loading branch information
vorburger committed Mar 30, 2015
1 parent e36aa41 commit c6ffa1b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
29 changes: 25 additions & 4 deletions maven/org.eclipse.xtend.maven.archetype/pom.xml
@@ -1,17 +1,24 @@
<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>

<parent>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.parent</artifactId>
<version>2.9.0-SNAPSHOT</version>
<relativePath>../org.eclipse.xtext.parent</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>Create a simple Xtend project</name>
<url>http://xtend-lang.org</url>

<properties>
<maven.archetype.version>2.3</maven.archetype.version>
</properties>

<build>
<resources>
<resource>
Expand All @@ -33,15 +40,15 @@
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.2</version>
<version>${maven.archetype.version}</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.2</version>
<version>${maven.archetype.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -53,6 +60,20 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>

</plugin>
</plugins>
</build>
<groupId>org.eclipse.xtend</groupId>

</project>
@@ -0,0 +1,6 @@
sourceEncoding=UTF-8
groupId=integrationtest.group
artifactId=integrationtest.artifactId
version=1.0.0-SNAPSHOT
package=org.eclipse.xtend.xtend-archetype.integrationtest
packageInPathFormat=org/eclipse/xtend/xtend-archetype/integrationtest
@@ -0,0 +1 @@
package
2 changes: 1 addition & 1 deletion maven/org.eclipse.xtext.parent/pom.xml
Expand Up @@ -78,7 +78,7 @@
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.2</version>
<version>2.3</version>
</extension>
</extensions>
<plugins>
Expand Down

0 comments on commit c6ffa1b

Please sign in to comment.