Skip to content

Commit

Permalink
update to surefire 2.14.1, cosmetic changes pom files
Browse files Browse the repository at this point in the history
  • Loading branch information
ceki committed Apr 18, 2013
1 parent 44da97b commit b287f9c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 31 deletions.
4 changes: 3 additions & 1 deletion logback-access/pom.xml
Expand Up @@ -99,9 +99,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<forkMode>once</forkMode>
<!--<parallel>classes</parallel>-->
<reportFormat>plain</reportFormat>
<disableXmlReport>true</disableXmlReport>
<excludes>
Expand All @@ -115,6 +116,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF
Expand Down
13 changes: 3 additions & 10 deletions logback-classic/pom.xml
Expand Up @@ -196,15 +196,6 @@


<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
Expand Down Expand Up @@ -235,6 +226,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestFile>
Expand Down Expand Up @@ -308,10 +300,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<!-- once, never, pertest, always -->
<forkMode>once</forkMode>
<!--<parallel>classes</parallel>-->
<reportFormat>plain</reportFormat>
<trimStackTrace>false</trimStackTrace>
<excludes>
Expand Down
14 changes: 3 additions & 11 deletions logback-core/pom.xml
Expand Up @@ -87,23 +87,14 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<forkMode>once</forkMode>
<reportFormat>plain</reportFormat>
<parallel>classes</parallel>
<!--<parallel>classes</parallel>-->
<trimStackTrace>false</trimStackTrace>
<excludes>
<exclude>**/All*Test.java</exclude>
Expand All @@ -118,6 +109,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF
Expand Down
24 changes: 15 additions & 9 deletions pom.xml
Expand Up @@ -47,8 +47,9 @@
</modules>

<properties>
<!-- target JDK version == source JDK version -->
<jdk.version>1.5</jdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<surefire.version>2.12.4</surefire.version>
<!-- slf4j.version property is used below, in
logback-classic/pom.xml and in setClasspath.cmd -->
<slf4j.version>1.7.4</slf4j.version>
Expand All @@ -61,9 +62,13 @@
<tomcat.version>7.0.21</tomcat.version>
<jetty.version>7.5.1.v20110908</jetty.version>
<jansi.version>1.8</jansi.version>
<findbugs.version>2.5</findbugs.version>

<maven-license-plugin.version>1.9.0</maven-license-plugin.version>
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
<maven-jar-plugin.version>2.3.1</maven-jar-plugin.version>
<maven-surefire-plugin.version>2.14.1</maven-surefire-plugin.version>
<maven-license-plugin.version>1.9.0</maven-license-plugin.version>
<findbugs-maven-plugin.version>2.5</findbugs-maven-plugin.version>

</properties>

<developers>
Expand Down Expand Up @@ -223,17 +228,17 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<version>${maven-surefire-plugin.version}</version>
</plugin>

<plugin>
Expand All @@ -249,10 +254,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<version>${maven-jar-plugin.version}</version>
</plugin>

<plugin>
Expand Down Expand Up @@ -291,7 +297,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
<version>${findbugs-maven-plugin.version}</version>
<configuration>
<threshold>High</threshold>
<!--<trace>true</trace>-->
Expand Down

0 comments on commit b287f9c

Please sign in to comment.