aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-09-29 01:01:46 +0000
committerPJ Fanning <fanningpj@apache.org>2023-09-29 01:01:46 +0000
commit6c91c5f80797e230838dcaa7ce641f7a73af44fc (patch)
treeadbfc8454a01f8334bb74417f785fe3b0cf3b5d7
parentfdad7e14081dee0046556e1c4d848039afcd522b (diff)
downloadpoi-6c91c5f80797e230838dcaa7ce641f7a73af44fc.tar.gz
poi-6c91c5f80797e230838dcaa7ce641f7a73af44fc.zip
fix release artifact names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912588 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.gradle14
-rw-r--r--build.xml2
-rw-r--r--osgi/pom.xml4
3 files changed, 8 insertions, 12 deletions
diff --git a/build.gradle b/build.gradle
index 3218006718..40a3f10ba6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -52,7 +52,8 @@ if (project.hasProperty('enableSonar')) {
apply plugin: 'org.sonarqube'
}
-boolean isCIBuild = false;
+boolean isCIBuild = false
+String date = new Date().format('yyyyMMdd')
// For help converting an Ant build to a Gradle build, see
// https://docs.gradle.org/current/userguide/ant.html
@@ -99,7 +100,7 @@ allprojects {
// apply plugin: 'eclipse'
apply plugin: 'idea'
- version = '5.2.4'
+ version = '5.2.5-SNAPSHOT'
}
/**
@@ -722,14 +723,7 @@ tasks.withType(Tar) {
}
distributions {
- var version = subprojects[0].version
- var date = new Date().format('yyyyMMdd')
-
- var poiDep = project(':poi').configurations.getAt('compileClasspath')
- var ooxmlImp = project(':poi-ooxml').configurations.getAt('compileClasspath')
-
src {
- distributionBaseName = "poi-src-${version}-${date}"
contents {
from('.') {
exclude '*/build/**'
@@ -819,6 +813,8 @@ var srcDep = [
':poi-ooxml-lite:generateModuleInfo'
]
+srcDistTar.setArchiveFileName("poi-src-${subprojects[0].version}-${date}.tgz")
+srcDistZip.setArchiveFileName("poi-src-${subprojects[0].version}-${date}.zip")
srcDistTar.dependsOn srcDep
srcDistZip.dependsOn srcDep
soLinkCheck.dependsOn srcDep
diff --git a/build.xml b/build.xml
index 3b550df1cd..2926b4f5f1 100644
--- a/build.xml
+++ b/build.xml
@@ -42,7 +42,7 @@ under the License.
<description>The Apache POI project Ant build.</description>
- <property name="version.id" value="5.2.4"/>
+ <property name="version.id" value="5.2.5-SNAPSHOT"/>
<property name="release.rc" value=""/>
<property environment="env"/>
diff --git a/osgi/pom.xml b/osgi/pom.xml
index 4de8b5ba86..770fff480b 100644
--- a/osgi/pom.xml
+++ b/osgi/pom.xml
@@ -24,12 +24,12 @@
<groupId>org.apache.poi</groupId>
<artifactId>poi-bundle</artifactId>
<packaging>bundle</packaging>
- <version>5.2.4</version>
+ <version>5.2.5-SNAPSHOT</version>
<name>Apache POI OSGi bundle</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <poi.version>5.2.4</poi.version>
+ <poi.version>5.2.5-SNAPSHOT</poi.version>
<pax.exam.version>4.12.0</pax.exam.version>
</properties>