forked from jasder/antlr
Updated maven release configuration
This commit is contained in:
parent
f3ce4e8a82
commit
3d462f29b5
64
pom.xml
64
pom.xml
|
@ -108,17 +108,23 @@
|
||||||
<execution>
|
<execution>
|
||||||
<id>default-compile</id>
|
<id>default-compile</id>
|
||||||
<configuration>
|
<configuration>
|
||||||
<compilerArguments>
|
<compilerArgs>
|
||||||
<bootclasspath>${bootclasspath.compile}</bootclasspath>
|
<arg>-Xlint</arg>
|
||||||
</compilerArguments>
|
<arg>-Xlint:-serial</arg>
|
||||||
|
<arg>-bootclasspath</arg>
|
||||||
|
<arg>${bootclasspath.compile}</arg>
|
||||||
|
</compilerArgs>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>default-testCompile</id>
|
<id>default-testCompile</id>
|
||||||
<configuration>
|
<configuration>
|
||||||
<compilerArguments>
|
<compilerArgs>
|
||||||
<bootclasspath>${bootclasspath.testCompile}</bootclasspath>
|
<arg>-Xlint</arg>
|
||||||
</compilerArguments>
|
<arg>-Xlint:-serial</arg>
|
||||||
|
<arg>-bootclasspath</arg>
|
||||||
|
<arg>${bootclasspath.testCompile}</arg>
|
||||||
|
</compilerArgs>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
@ -135,35 +141,15 @@
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.1</version>
|
<version>3.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sourceDirectory>src</sourceDirectory>
|
|
||||||
<showWarnings>true</showWarnings>
|
<showWarnings>true</showWarnings>
|
||||||
<showDeprecation>true</showDeprecation>
|
<showDeprecation>true</showDeprecation>
|
||||||
|
<source>1.6</source>
|
||||||
|
<target>1.6</target>
|
||||||
|
<compilerArgs>
|
||||||
|
<arg>-Xlint</arg>
|
||||||
|
<arg>-Xlint:-serial</arg>
|
||||||
|
</compilerArgs>
|
||||||
</configuration>
|
</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>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -182,7 +168,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.15</version>
|
<version>2.16</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -196,7 +182,7 @@
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<!-- override the version inherited from the parent -->
|
<!-- override the version inherited from the parent -->
|
||||||
<version>2.9</version>
|
<version>2.9.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<quiet>true</quiet>
|
<quiet>true</quiet>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -208,6 +194,16 @@
|
||||||
<!-- override the version inherited from the parent -->
|
<!-- override the version inherited from the parent -->
|
||||||
<version>1.4</version>
|
<version>1.4</version>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue