forked from jasder/antlr
Updated maven release configuration
This commit is contained in:
parent
f3ce4e8a82
commit
3d462f29b5
60
pom.xml
60
pom.xml
|
@ -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>
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<compilerArgument>-Xlint:-serial</compilerArgument>
|
||||
<compilerArguments>
|
||||
<Xlint/>
|
||||
</compilerArguments>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint</arg>
|
||||
<arg>-Xlint:-serial</arg>
|
||||
</compilerArgs>
|
||||
</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>
|
||||
|
|
Loading…
Reference in New Issue