Browse Source

update references to 4.1.2

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873995 13f79535-47bb-0310-9956-ffa450edef68
tags/before_ooxml_3rd_edition
Andreas Beeker 4 years ago
parent
commit
e9c5c2b90e
5 changed files with 24 additions and 17 deletions
  1. 10
    10
      build.gradle
  2. 7
    0
      doap_POI.rdf
  3. 2
    2
      osgi/build.xml
  4. 2
    2
      src/examples/groovy/build.gradle
  5. 3
    3
      src/examples/scala/build.sbt

+ 10
- 10
build.gradle View File



/** /**


Define properties for all projects, including this one
Define properties for all projects, including this one


*/ */
allprojects { allprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'jacoco' apply plugin: 'jacoco'


// See https://github.com/melix/japicmp-gradle-plugin
// See https://github.com/melix/japicmp-gradle-plugin
apply plugin: 'me.champeau.gradle.japicmp' apply plugin: 'me.champeau.gradle.japicmp'
version = '4.1.2-SNAPSHOT'
version = '4.1.3-SNAPSHOT'
ext { ext {
japicmpversion = '4.1.0'
japicmpversion = '4.1.2'
} }


tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {


// Specifying the local via system properties did not work, so we set them this way // Specifying the local via system properties did not work, so we set them this way
jvmArgs '-Duser.language=en -Duser.country=US' jvmArgs '-Duser.language=en -Duser.country=US'
// show standard out and standard error of the test JVM(s) on the console // show standard out and standard error of the test JVM(s) on the console
//testLogging.showStandardStreams = true //testLogging.showStandardStreams = true


// http://forums.gradle.org/gradle/topics/jacoco_related_failure_in_multiproject_build // http://forums.gradle.org/gradle/topics/jacoco_related_failure_in_multiproject_build
systemProperties['user.dir'] = workingDir systemProperties['user.dir'] = workingDir
systemProperties['POI.testdata.path'] = '../../test-data' systemProperties['POI.testdata.path'] = '../../test-data'
// this is necessary for JDK 9+ to keep formatting dates the same way as in previous JDK-versions // this is necessary for JDK 9+ to keep formatting dates the same way as in previous JDK-versions
systemProperties['java.locale.providers'] = 'JRE,CLDR' systemProperties['java.locale.providers'] = 'JRE,CLDR'
} }
jacoco { jacoco {
toolVersion = '0.8.5' toolVersion = '0.8.5'
} }
// ensure the build-dir exists // ensure the build-dir exists
projectDir.mkdirs() projectDir.mkdirs()


} }


project('ooxml') { project('ooxml') {
sourceSets.main.java.srcDirs = ['../../src/ooxml/java'] sourceSets.main.java.srcDirs = ['../../src/ooxml/java']
sourceSets.main.resources.srcDirs = ['../../src/ooxml/resources', '../../src/resources/ooxml'] sourceSets.main.resources.srcDirs = ['../../src/ooxml/resources', '../../src/resources/ooxml']
sourceSets.test.java.srcDirs = ['../../src/ooxml/testcases'] sourceSets.test.java.srcDirs = ['../../src/ooxml/testcases']

+ 7
- 0
doap_POI.rdf View File

<programming-language>Java</programming-language> <programming-language>Java</programming-language>
<category rdf:resource="https://projects.apache.org/category/content" /> <category rdf:resource="https://projects.apache.org/category/content" />
<category rdf:resource="https://projects.apache.org/category/library" /> <category rdf:resource="https://projects.apache.org/category/library" />
<release>
<Version>
<name>Apache POI 4.1.2</name>
<created>2020-02-14</created>
<revision>4.1.2</revision>
</Version>
</release>
<release> <release>
<Version> <Version>
<name>Apache POI 4.1.1</name> <name>Apache POI 4.1.1</name>

+ 2
- 2
osgi/build.xml View File

--> -->


<!-- POI OSGi Bundle System --> <!-- POI OSGi Bundle System -->
<project name="POI OSGi Bundle" default="bundle" basedir=".." xmlns:mvn="antlib:org.apache.maven.artifact.ant">
<project name="POI OSGi Bundle" default="bundle" basedir="..">
<description>The Apache POI OSGi Bundle System.</description> <description>The Apache POI OSGi Bundle System.</description>


<property name="bundle.lib" location="osgi/lib"/> <property name="bundle.lib" location="osgi/lib"/>


<!-- TODO Import these from the parent build file --> <!-- TODO Import these from the parent build file -->
<property name="repository.m2" value="https://repo1.maven.org"/> <property name="repository.m2" value="https://repo1.maven.org"/>
<property name="version.id" value="4.1.2-SNAPSHOT"/>
<property name="version.id" value="4.1.3-SNAPSHOT"/>
<property name="dist.dir" value="build/dist"/> <property name="dist.dir" value="build/dist"/>


<!-- jars in the /lib directory, see the fetch-bundle-jars target--> <!-- jars in the /lib directory, see the fetch-bundle-jars target-->

+ 2
- 2
src/examples/groovy/build.gradle View File

} }
dependencies { dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.13' compile 'org.codehaus.groovy:groovy-all:2.4.13'
compile 'org.apache.poi:poi:4.1.0'
compile 'org.apache.poi:poi-ooxml:4.1.0'
compile 'org.apache.poi:poi:4.1.2'
compile 'org.apache.poi:poi-ooxml:4.1.2'
} }


// Our files are in the current directory // Our files are in the current directory

+ 3
- 3
src/examples/scala/build.sbt View File

// Add the POI core and OOXML support dependencies into your build.sbt // Add the POI core and OOXML support dependencies into your build.sbt
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"org.apache.poi" % "poi" % "4.1.0",
"org.apache.poi" % "poi-ooxml" % "4.1.0",
"org.apache.poi" % "poi-ooxml-schemas" "4.1.0",
"org.apache.poi" % "poi" % "4.1.2",
"org.apache.poi" % "poi-ooxml" % "4.1.2",
"org.apache.poi" % "poi-ooxml-schemas" "4.1.2",
) )

Loading…
Cancel
Save