diff options
author | Michael Hwang <mhwang@research.att.com> | 2017-09-19 15:29:35 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2017-09-19 15:31:09 -0400 |
commit | 48c17ef123daee43a72b7c063e51e4aeb5f98587 (patch) | |
tree | 67209fc9450e09b2282428d17059ae0c4d147c00 /pom.xml | |
parent | 0b1dc08e5ff051cadd52fb0c695e6860d3fd269b (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.xml | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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> |