Updated maven release configuration

This commit is contained in:
Sam Harwell 2014-02-03 20:07:46 -06:00
parent f3ce4e8a82
commit 3d462f29b5
1 changed files with 30 additions and 34 deletions

64
pom.xml
View File

@ -108,17 +108,23 @@
<execution>
<id>default-compile</id>
<configuration>
<compilerArguments>
<bootclasspath>${bootclasspath.compile}</bootclasspath>
</compilerArguments>
<compilerArgs>
<arg>-Xlint</arg>
<arg>-Xlint:-serial</arg>
<arg>-bootclasspath</arg>
<arg>${bootclasspath.compile}</arg>
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<configuration>
<compilerArguments>
<bootclasspath>${bootclasspath.testCompile}</bootclasspath>
</compilerArguments>
<compilerArgs>
<arg>-Xlint</arg>
<arg>-Xlint:-serial</arg>
<arg>-bootclasspath</arg>
<arg>${bootclasspath.testCompile}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
@ -135,35 +141,15 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<sourceDirectory>src</sourceDirectory>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<source>1.6</source>
<target>1.6</target>
<compilerArgs>
<arg>-Xlint</arg>
<arg>-Xlint:-serial</arg>
</compilerArgs>
</configuration>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-Xlint:-serial</compilerArgument>
<compilerArguments>
<Xlint/>
</compilerArguments>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-Xlint:-serial</compilerArgument>
<compilerArguments>
<Xlint/>
</compilerArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
@ -182,7 +168,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<version>2.16</version>
</plugin>
<plugin>
@ -196,7 +182,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<!-- override the version inherited from the parent -->
<version>2.9</version>
<version>2.9.1</version>
<configuration>
<quiet>true</quiet>
</configuration>
@ -208,6 +194,16 @@
<!-- override the version inherited from the parent -->
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<!-- override the version inherited from the parent -->
<version>2.4.2</version>
<configuration>
<arguments>-Psonatype-oss-release ${release.arguments}</arguments>
</configuration>
</plugin>
</plugins>
</build>
</project>