commit 4bf67d78a175d7349943b40397bcab51c0e46ab2
Author: Mauro Talevi <[email protected]>
AuthorDate: Sun Jul 8 19:33:59 2012 +0200
Commit: Mauro Talevi <[email protected]>
CommitDate: Sun Jul 8 19:33:59 2012 +0200
JBEHAVE-795: Added execution of plugin unit tests via Maven.
diff --git a/jbehave-eclipse/org.jbehave.eclipse/pom.xml
b/jbehave-eclipse/org.jbehave.eclipse/pom.xml
index 181ce9e..5286843 100644
--- a/jbehave-eclipse/org.jbehave.eclipse/pom.xml
+++ b/jbehave-eclipse/org.jbehave.eclipse/pom.xml
@@ -66,10 +66,46 @@
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
+ <testOutputDirectory>${project.build.outputDirectory}</testOutputDirectory>
+ <testResources>
+ <testResource>
+ <directory>test</directory>
+ </testResource>
+ </testResources>
<plugins>
<plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.5.1</version>
+ <executions>
+ <execution>
+ <id>test-compile</id>
+ <phase>test-compile</phase>
+ <configuration>
+ <verbose>true</verbose>
+ </configuration>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.12</version>
+ <executions>
+ <execution>
+ <id>test</id>
+ <phase>test</phase>
+ <configuration>
+
<testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory>
+ </configuration>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>