aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2015-01-03 09:35:21 +0000
committerDominik Stadler <centic@apache.org>2015-01-03 09:35:21 +0000
commit55275b1e670f8f2439760563905828d500f02dd1 (patch)
treee6b40c95173df374a91b9317171f527dd07c83a2
parent64ded75d8767cc68893d627f60db53a7eeef9c73 (diff)
downloadpoi-55275b1e670f8f2439760563905828d500f02dd1.tar.gz
poi-55275b1e670f8f2439760563905828d500f02dd1.zip
Update to junit-4.12, the jar file is downloaded, so not required on classpath anymore. Also adjust version in pom.xml for Sonar.
Conflicts: .classpath git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649178 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--.classpath4
-rw-r--r--build.xml17
-rw-r--r--maven/poi.pom2
-rw-r--r--sonar/examples/pom.xml4
-rw-r--r--sonar/excelant/pom.xml2
-rw-r--r--sonar/main/pom.xml2
-rw-r--r--sonar/ooxml-schema-encryption/pom.xml2
-rw-r--r--sonar/ooxml-schema/pom.xml2
-rw-r--r--sonar/ooxml/pom.xml4
-rw-r--r--sonar/pom.xml4
-rw-r--r--sonar/scratchpad/pom.xml2
11 files changed, 21 insertions, 24 deletions
diff --git a/.classpath b/.classpath
index bc01351d8d..899c7591b8 100644
--- a/.classpath
+++ b/.classpath
@@ -22,8 +22,8 @@
<classpathentry kind="lib" path="lib/log4j-1.2.17.jar"/>
<classpathentry kind="lib" path="ooxml-lib/xmlbeans-2.6.0.jar"/>
<classpathentry kind="lib" path="lib/hamcrest-core-1.3.jar"/>
- <classpathentry kind="lib" path="lib/junit-4.11.jar"/>
- <classpathentry kind="lib" path="ooxml-lib/ooxml-schemas-1.1.jar" sourcepath="ooxml-lib/ooxml-schemas-src-1.1.jar"/>
+ <classpathentry kind="lib" path="lib/junit-4.12.jar"/>
+ <classpathentry kind="lib" path="ooxml-lib/ooxml-schemas-1.1.jar" sourcepath="ooxml-lib/ooxml-schemas-1.1-sources.jar"/>
<classpathentry kind="lib" path="ooxml-lib/ooxml-security-1.0.jar" sourcepath="ooxml-lib/ooxml-security-src-1.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="compile-lib/slf4j-api-1.7.7.jar"/>
diff --git a/build.xml b/build.xml
index 689f88424a..c51bb73506 100644
--- a/build.xml
+++ b/build.xml
@@ -31,12 +31,7 @@ under the License.
Dominik Stadler centic at apache.org
This build was tested with ant 1.9.4 although it will probably work with
- other versions, however at least 1.8.0 is required. The following jar
- files should be available on the classpath when running ant:
-
- LIBRARY LOCATION
- ======= ========
- junit(4.11+) http://www.junit.org
+ other versions, however at least 1.8.0 is required.
To build the documentation you will need to install forrest and set
the FORREST_HOME environment variable. Forrest 0.5.1 required.
@@ -146,8 +141,8 @@ under the License.
value="${repository.m2}/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar"/>
<property name="main.log4j.jar" location="${main.lib}/log4j-1.2.17.jar"/>
<property name="main.log4j.url" value="${repository.m2}/maven2/log4j/log4j/1.2.17/log4j-1.2.17.jar"/>
- <property name="main.junit.jar" location="${main.lib}/junit-4.11.jar"/>
- <property name="main.junit.url" value="${repository.m2}/maven2/junit/junit/4.11/junit-4.11.jar"/>
+ <property name="main.junit.jar" location="${main.lib}/junit-4.12.jar"/>
+ <property name="main.junit.url" value="${repository.m2}/maven2/junit/junit/4.12/junit-4.12.jar"/>
<property name="main.hamcrest.jar" location="${main.lib}/hamcrest-core-1.3.jar"/>
<property name="main.hamcrest.url" value="${repository.m2}/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
<property name="main.ant.jar" location="${main.lib}/ant-1.9.4.jar"/>
@@ -419,7 +414,9 @@ under the License.
<include name="org.jacoco.*-0.7.1*"/>
<include name="dom4j*"/>
<include name="apache-rat-0.10*"/>
- <include name="xercesImpl-*.jar"/>
+ <include name="xercesImpl-*.jar"/>
+ <include name="junit-3*"/>
+ <include name="junit-4.11*"/>
</fileset>
</delete>
@@ -1701,7 +1698,7 @@ under the License.
<auxClasspath path="ooxml-lib/xmlbeans-2.6.0.jar" />
<auxClasspath path="lib/commons-codec-1.9.jar" />
<auxClasspath path="lib/commons-logging-1.1.3.jar" />
- <auxClasspath path="lib/junit-4.11.jar" />
+ <auxClasspath path="lib/junit-4.12.jar" />
<sourcePath path="src/java" />
<sourcePath path="src/ooxml/java" />
<sourcePath path="src/scratchpad/src" />
diff --git a/maven/poi.pom b/maven/poi.pom
index d987c882c1..6f2c4243ab 100644
--- a/maven/poi.pom
+++ b/maven/poi.pom
@@ -89,7 +89,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
- <version>4.11</version>
+ <version>4.12</version>
</dependency>
</dependencies>
diff --git a/sonar/examples/pom.xml b/sonar/examples/pom.xml
index 5064a51afc..dd980884a9 100644
--- a/sonar/examples/pom.xml
+++ b/sonar/examples/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
</parent>
<artifactId>poi-examples</artifactId>
<packaging>jar</packaging>
@@ -70,7 +70,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.11</version>
+ <version>4.12</version>
</dependency>
</dependencies>
</project>
diff --git a/sonar/excelant/pom.xml b/sonar/excelant/pom.xml
index 8cc86ec07e..756a97901b 100644
--- a/sonar/excelant/pom.xml
+++ b/sonar/excelant/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
</parent>
<artifactId>poi-excelant</artifactId>
<packaging>jar</packaging>
diff --git a/sonar/main/pom.xml b/sonar/main/pom.xml
index 6527e75b01..9a5f0bd542 100644
--- a/sonar/main/pom.xml
+++ b/sonar/main/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
</parent>
<artifactId>poi-main</artifactId>
<packaging>jar</packaging>
diff --git a/sonar/ooxml-schema-encryption/pom.xml b/sonar/ooxml-schema-encryption/pom.xml
index 20f281134f..8791d6b9de 100644
--- a/sonar/ooxml-schema-encryption/pom.xml
+++ b/sonar/ooxml-schema-encryption/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
</parent>
<artifactId>poi-ooxml-schema-encryption</artifactId>
<packaging>jar</packaging>
diff --git a/sonar/ooxml-schema/pom.xml b/sonar/ooxml-schema/pom.xml
index 5b08332736..fa6348e137 100644
--- a/sonar/ooxml-schema/pom.xml
+++ b/sonar/ooxml-schema/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
</parent>
<artifactId>poi-ooxml-schema</artifactId>
<packaging>jar</packaging>
diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml
index 36aeeada8d..a4dfa42c43 100644
--- a/sonar/ooxml/pom.xml
+++ b/sonar/ooxml/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
</parent>
<artifactId>poi-ooxml</artifactId>
<packaging>jar</packaging>
@@ -120,7 +120,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.11</version>
+ <version>4.12</version>
</dependency>
</dependencies>
</project>
diff --git a/sonar/pom.xml b/sonar/pom.xml
index 387ff8181a..61f63c3314 100644
--- a/sonar/pom.xml
+++ b/sonar/pom.xml
@@ -7,7 +7,7 @@
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
<packaging>pom</packaging>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
<name>Apache POI - the Java API for Microsoft Documents</name>
@@ -123,7 +123,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.11</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/sonar/scratchpad/pom.xml b/sonar/scratchpad/pom.xml
index a05d12696d..522325a5db 100644
--- a/sonar/scratchpad/pom.xml
+++ b/sonar/scratchpad/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.apache.poi</groupId>
<artifactId>poi-parent</artifactId>
- <version>3.11-SNAPSHOT</version>
+ <version>3.12-SNAPSHOT</version>
</parent>
<artifactId>poi-scratchpad</artifactId>
<packaging>jar</packaging>