aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-09-19 15:29:35 -0400
committerMichael Hwang <mhwang@research.att.com>2017-09-19 15:31:09 -0400
commit48c17ef123daee43a72b7c063e51e4aeb5f98587 (patch)
tree67209fc9450e09b2282428d17059ae0c4d147c00 /pom.xml
parent0b1dc08e5ff051cadd52fb0c695e6860d3fd269b (diff)
Get clojure:test working
Also have `mvn test` use `mvn clojure:test` Change-Id: I4c76e6298f44d3136997df6c20a9399b34cf08f2 Issue-Id: DCAEGEN2-60 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 994faaf..5552875 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,10 @@
</dependencies>
<build>
+ <!-- Needed for the clojure plugin to point to the tests directory. Didn't work as
+ a configuration option under the clojure plugin -->
+ <testSourceDirectory>test</testSourceDirectory>
+
<plugins>
<!-- This seems to be the only place to specify the application entrypoint -->
<plugin>
@@ -138,6 +142,13 @@
<goal>compile</goal>
</goals>
</execution>
+ <execution>
+ <id>test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ </execution>
</executions>
</plugin>
@@ -196,6 +207,14 @@
</configuration>
</plugin>
+ <!-- Added in support for sonar but sonar doesn't support Clojure so there's no
+ point -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>3.2</version>
+ </plugin>
+
</plugins>
</build>
</project>