mirror of https://github.com/apache/poi.git
Update to latest versions of Maven plugins for Sonar-build and use properties for some third party libs and some Maven plugins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d568d8b73c
commit
42f556adef
|
@ -18,7 +18,7 @@
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<filesets>
|
<filesets>
|
||||||
<fileset>
|
<fileset>
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>4.12</version>
|
<version>${junit.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<filesets>
|
<filesets>
|
||||||
<fileset>
|
<fileset>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<filesets>
|
<filesets>
|
||||||
<fileset>
|
<fileset>
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>2.4</version>
|
<version>${maven.plugin.jar.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
|
@ -101,7 +101,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.19.1</version>
|
<version>${maven.plugin.surefire.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<argLine>-Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
<argLine>-Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.8</version>
|
<version>${maven.plugin.antrun.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>unzip-schema</id>
|
<id>unzip-schema</id>
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlbeans</groupId>
|
<groupId>org.apache.xmlbeans</groupId>
|
||||||
<artifactId>xmlbeans</artifactId>
|
<artifactId>xmlbeans</artifactId>
|
||||||
<version>2.6.0</version>
|
<version>${xmlbeans.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||||
<artifactId>maven-download-plugin</artifactId>
|
<artifactId>maven-download-plugin</artifactId>
|
||||||
<version>1.1.0</version>
|
<version>${maven.plugin.download.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>install-xsds-part-1</id>
|
<id>install-xsds-part-1</id>
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.8</version>
|
<version>${maven.plugin.antrun.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>unzip-schema</id>
|
<id>unzip-schema</id>
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlbeans</groupId>
|
<groupId>org.apache.xmlbeans</groupId>
|
||||||
<artifactId>xmlbeans</artifactId>
|
<artifactId>xmlbeans</artifactId>
|
||||||
<version>2.6.0</version>
|
<version>${xmlbeans.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||||
<artifactId>maven-download-plugin</artifactId>
|
<artifactId>maven-download-plugin</artifactId>
|
||||||
<version>1.1.0</version>
|
<version>${maven.plugin.download.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>download-xsds</id>
|
<id>download-xsds</id>
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.8</version>
|
<version>${maven.plugin.antrun.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>unzip-schema</id>
|
<id>unzip-schema</id>
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlbeans</groupId>
|
<groupId>org.apache.xmlbeans</groupId>
|
||||||
<artifactId>xmlbeans</artifactId>
|
<artifactId>xmlbeans</artifactId>
|
||||||
<version>2.6.0</version>
|
<version>${xmlbeans.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<filesets>
|
<filesets>
|
||||||
<fileset>
|
<fileset>
|
||||||
|
@ -91,7 +91,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.19.1</version>
|
<version>${maven.plugin.surefire.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<argLine>-Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
<argLine>-Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlbeans</groupId>
|
<groupId>org.apache.xmlbeans</groupId>
|
||||||
<artifactId>xmlbeans</artifactId>
|
<artifactId>xmlbeans</artifactId>
|
||||||
<version>2.6.0</version>
|
<version>${xmlbeans.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -159,7 +159,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>4.12</version>
|
<version>${junit.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -61,6 +61,16 @@
|
||||||
<project.build.sourceEncoding>ASCII</project.build.sourceEncoding>
|
<project.build.sourceEncoding>ASCII</project.build.sourceEncoding>
|
||||||
<!-- Try to disable running SVN blame as it causes errors here because the source is copied from the actual SVN location here! -->
|
<!-- Try to disable running SVN blame as it causes errors here because the source is copied from the actual SVN location here! -->
|
||||||
<sonar.scm.disabled>true</sonar.scm.disabled>
|
<sonar.scm.disabled>true</sonar.scm.disabled>
|
||||||
|
|
||||||
|
<!-- define some of the third-party or plugin-versions globally to use the same in all modules -->
|
||||||
|
<xmlbeans.version>2.6.0</xmlbeans.version>
|
||||||
|
<junit.version>4.12</junit.version>
|
||||||
|
<maven.plugin.resources.version>3.0.1</maven.plugin.resources.version>
|
||||||
|
<maven.plugin.jar.version>3.0.1</maven.plugin.jar.version>
|
||||||
|
<maven.plugin.clean.version>3.0.0</maven.plugin.clean.version>
|
||||||
|
<maven.plugin.download.version>1.3.0</maven.plugin.download.version>
|
||||||
|
<maven.plugin.antrun.version>1.8</maven.plugin.antrun.version>
|
||||||
|
<maven.plugin.surefire.version>2.19.1</maven.plugin.surefire.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -69,7 +79,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.3</version>
|
<version>3.5.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.6</source>
|
<source>1.6</source>
|
||||||
<target>1.6</target>
|
<target>1.6</target>
|
||||||
|
@ -81,12 +91,12 @@
|
||||||
<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.19</version>
|
<version>${maven.plugin.surefire.version}</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.maven.surefire</groupId>
|
<groupId>org.apache.maven.surefire</groupId>
|
||||||
<artifactId>surefire-junit47</artifactId>
|
<artifactId>surefire-junit47</artifactId>
|
||||||
<version>2.19</version>
|
<version>${maven.plugin.surefire.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -118,7 +128,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>4.12</version>
|
<version>${junit.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -195,7 +205,7 @@
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.8</version>
|
<version>${maven.plugin.antrun.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-xmltype-and-xsdconfig</id>
|
<id>copy-xmltype-and-xsdconfig</id>
|
||||||
|
@ -254,7 +264,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlbeans</groupId>
|
<groupId>org.apache.xmlbeans</groupId>
|
||||||
<artifactId>xmlbeans</artifactId>
|
<artifactId>xmlbeans</artifactId>
|
||||||
<version>2.6.0</version>
|
<version>${xmlbeans.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<filesets>
|
<filesets>
|
||||||
<fileset>
|
<fileset>
|
||||||
|
|
Loading…
Reference in New Issue