Fix for Bug 383324 - DBWS DDLParser: Maven test compile/run not working
Reviewed by: eric.gwin@oracle.com
Tests: all DDLParser tests (AllTests.java) pass as expected; DDLParser jar is now build w/o test classes being included
diff --git a/oracleddlparser/build.properties b/oracleddlparser/build.properties
index 74a2591..58edf37 100644
--- a/oracleddlparser/build.properties
+++ b/oracleddlparser/build.properties
@@ -1,6 +1,5 @@
bin.includes = .,\
META-INF/
jars.compile.order = .
-source.. = src/main/java/,\
- src/test/java/
+source.. = src/main/java/
output.. = ./target/classes
diff --git a/oracleddlparser/pom.xml b/oracleddlparser/pom.xml
index 094f7af..a1037b7 100644
--- a/oracleddlparser/pom.xml
+++ b/oracleddlparser/pom.xml
@@ -50,6 +50,20 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.5.1</version>
+ <executions>
+ <execution>
+ <id>test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<executions>
@@ -121,7 +135,7 @@
<reporting>
<plugins>
- <plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${jxr-maven-plugin.version}</version>