Skip to content

Commit

Permalink
SAK-29226 Use the standard maven plugins.
Browse files Browse the repository at this point in the history
The newer(standard) maven plugins seem to work fine, and surefire will show the stack trace by default of the failed test on the console. This means when the CI server fails you can see where it failed.
  • Loading branch information
buckett committed Sep 17, 2015
1 parent 9ffc1bf commit 953ef2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
27 changes: 0 additions & 27 deletions sitestats/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,33 +200,6 @@
</dependencies>
</dependencyManagement>

<!-- Build -->
<build>
<plugins>
<!-- maven-surefire-report-plugin 2.8+ requires maven-site-plugin 2.1+ -->
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.1</version>
</plugin>
<!-- Downgrade surefireplugin version due to build error. -->
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
<configuration>
<systemPropertyVariables>
<!-- Pass through important service-integration test properties. -->
<maven.tomcat.home>${maven.tomcat.home}</maven.tomcat.home>
<test.sakai.home>${test.sakai.home}</test.sakai.home>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>

<!-- Reporting (mvn site) -->
<reporting>
<plugins>
Expand Down
1 change: 0 additions & 1 deletion sitestats/sitestats-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
<configuration>
<includes>
<include>**/*Test.java</include>
Expand Down

0 comments on commit 953ef2f

Please sign in to comment.