You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2022/06/04 07:52:24 UTC
svn commit: r1901608 - in /xmlbeans/trunk: build.gradle src/main/java9/module-info.class
Author: centic
Date: Sat Jun 4 07:52:23 2022
New Revision: 1901608
URL: http://svn.apache.org/viewvc?rev=1901608&view=rev
Log:
Adjust jar some more
Move NOTICE.txt/LICENSE.txt
Replace version in pom.xml/plugin.xml
Do not copy java9 twice
Add some more build-info to Manifest.mf
Modified:
xmlbeans/trunk/build.gradle
xmlbeans/trunk/src/main/java9/module-info.class
Modified: xmlbeans/trunk/build.gradle
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1901608&r1=1901607&r2=1901608&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Sat Jun 4 07:52:23 2022
@@ -358,17 +358,13 @@ jar {
from(project.rootDir) {
include 'NOTICE.txt'
include 'LICENSE.txt'
- into 'META-INF'
- }
-
- from('src/main/java9') {
- exclude '**/*.java'
- into 'META-INF'
+ into '.'
}
from('src/main/maven') {
exclude '**/*.java'
into 'META-INF/maven'
+ filter { line -> line.replaceAll('@VERSION@', XMLBeansVersion) }
}
from('build/classes/java9/main')
@@ -385,7 +381,13 @@ jar {
'Implementation-Title': 'Apache XmlBeans',
'Implementation-Version': XMLBeansVersion,
'Implementation-Vendor': 'org.apache.xmlbeans',
- 'Implementation-Vendor-Id': 'The Apache Software Foundation'
+ 'Implementation-Vendor-Id': 'The Apache Software Foundation',
+ 'Built-By': System.properties['user.name'],
+ 'Build-Timestamp': new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
+ //'Build-Revision': versioning.info.commit,
+ 'Created-By': "Gradle ${gradle.gradleVersion}",
+ 'Build-Jdk': "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
+ 'Build-OS': "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}"
], 'org/apache/xmlbeans/'
)
}
Modified: xmlbeans/trunk/src/main/java9/module-info.class
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java9/module-info.class?rev=1901608&r1=1901607&r2=1901608&view=diff
==============================================================================
Binary files - no diff available.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org