You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/01/06 17:34:05 UTC
svn commit: r1896762 - in /xmlbeans/trunk: build.gradle build.xml gradle.properties
Author: fanningpj
Date: Thu Jan 6 17:34:05 2022
New Revision: 1896762
URL: http://svn.apache.org/viewvc?rev=1896762&view=rev
Log:
basic gradle pom (needs more work)
Modified:
xmlbeans/trunk/build.gradle
xmlbeans/trunk/build.xml
xmlbeans/trunk/gradle.properties
Modified: xmlbeans/trunk/build.gradle
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1896762&r1=1896761&r2=1896762&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Thu Jan 6 17:34:05 2022
@@ -32,6 +32,7 @@ plugins {
id 'java'
id 'java-library'
id 'idea'
+ id 'maven-publish'
id 'distribution'
id('org.nosphere.apache.rat') version '0.7.0'
id('de.thetaphi.forbiddenapis') version '3.2'
@@ -148,7 +149,7 @@ dependencies {
// previous xmlbeans version is used to bootstrap necessary schema bindings
- bootstrap 'org.apache.xmlbeans:xmlbeans:5.0.2'
+ bootstrap 'org.apache.xmlbeans:xmlbeans:5.0.3'
bootstrap "org.apache.logging.log4j:log4j-core:${log4jVersion}"
genresources "org.apache.logging.log4j:log4j-core:${log4jVersion}"
@@ -481,6 +482,55 @@ distributions {
}
}
+publishing {
+ publications {
+ POI(MavenPublication) {
+ groupId 'org.apache.poi'
+ artifactId project.archivesBaseName
+ version XMLBeansVersion
+
+ from components.java
+
+ pom {
+ packaging = 'jar'
+ url = 'https://xmlbeans.apache.org/'
+ name = 'XmlBeans'
+ description = 'XmlBeans main jar'
+
+ mailingLists {
+ mailingList {
+ name = 'POI Users List'
+ subscribe = 'user-subscribe@poi.apache.org'
+ unsubscribe = 'user-unsubscribe@poi.apache.org'
+ archive = 'http://mail-archives.apache.org/mod_mbox/poi-user/'
+ }
+ mailingList {
+ name = 'POI Developer List'
+ subscribe = 'dev-subscribe@poi.apache.org'
+ unsubscribe = 'dev-unsubscribe@poi.apache.org'
+ archive = 'http://mail-archives.apache.org/mod_mbox/poi-dev/'
+ }
+ }
+
+ licenses {
+ license {
+ name = 'Apache License, Version 2.0'
+ url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
+ distribution = 'repo'
+ }
+ }
+
+ organization {
+ name = 'Apache Software Foundation'
+ url = 'http://www.apache.org/'
+ }
+ }
+ }
+ }
+}
+
+generatePomFileForPOIPublication.destination = "build/dist/maven/${project.archivesBaseName}-${XMLBeansVersion}.pom"
+
[binDistTar, binDistZip]*.dependsOn 'jar'
[binDistTar, binDistZip]*.dependsOn 'export4anttest'
[srcDistTar, srcDistZip]*.dependsOn 'cacheJava9'
Modified: xmlbeans/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/build.xml?rev=1896762&r1=1896761&r2=1896762&view=diff
==============================================================================
--- xmlbeans/trunk/build.xml (original)
+++ xmlbeans/trunk/build.xml Thu Jan 6 17:34:05 2022
@@ -21,7 +21,7 @@
<property name="jdk.version.class" value="1.8" description="JDK version of generated class files"/>
<property name="compile.debug" value="true"/>
- <property name="version.base" value="5.0.4-SNAPSHOT"/>
+ <property name="version.base" value="5.1.0-SNAPSHOT"/>
<property name="version.rc" value=""/>
<property name="cases.location" location="src/test/resources"/>
Modified: xmlbeans/trunk/gradle.properties
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/gradle.properties?rev=1896762&r1=1896761&r2=1896762&view=diff
==============================================================================
--- xmlbeans/trunk/gradle.properties (original)
+++ xmlbeans/trunk/gradle.properties Thu Jan 6 17:34:05 2022
@@ -14,8 +14,8 @@
# comment-out, because of naming problems with the distribution plugin
-# project.version=5.0.4-SNAPSHOT
-XMLBeansVersion=5.0.4-SNAPSHOT
+# project.version=5.1.0-SNAPSHOT
+XMLBeansVersion=5.1.0-SNAPSHOT
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org