Reference standard Apache parent POM. This addresses some of the issues in XALANJ-2650 and XALANJ-2731
diff --git a/pom.xml b/pom.xml
index c5d4595..85289f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,17 +4,28 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<!-- KNOWN ISSUES:
"Production" tgz/zip files need to be copied to ant-like build/
- xalan-test integration
+ as temporary xalan-test integration
Footnote: To get dependency tree from a multi-module project, use the
command "mvn compile dependency:tree" so everything is in scope.
-->
<packaging>pom</packaging>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>23</version>
+ </parent>
+
<modelVersion>4.0.0</modelVersion>
<groupId>xalan</groupId>
<artifactId>xalan-j</artifactId>
<version>2.7.3</version>
+ <licenses>
+ <license>
+ <name>Apache-2.0</name>
+ </license>
+ </licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
diff --git a/serializer/pom.xml b/serializer/pom.xml
index 13d420f..3713f2e 100644
--- a/serializer/pom.xml
+++ b/serializer/pom.xml
@@ -11,6 +11,11 @@
<artifactId>serializer</artifactId>
<name>Apache XML Serializer</name>
<description>Apache's XML serialization layer, as used in the Xalan XSLT processor</description>
+ <licenses>
+ <license>
+ <name>Apache-2.0</name>
+ </license>
+ </licenses>
<dependencies>
<!-- For javadoc generation only, hence 'provided' scope -->
diff --git a/serializer/src/main/java/MANIFEST.SERIALIZER b/serializer/src/main/java/MANIFEST.SERIALIZER
index 54be291..16df32a 100644
--- a/serializer/src/main/java/MANIFEST.SERIALIZER
+++ b/serializer/src/main/java/MANIFEST.SERIALIZER
@@ -2,6 +2,7 @@
Created-By: @java.version@ (@java.vendor@)
Main-Class: org.apache.xml.serializer.Version
Class-Path: xml-apis.jar
+Bundle-License: Apache-2.0; link="http://opensource.org/licenses/apache2.0.php"
Name: org/apache/xml/serializer/
Comment: Serializer to write out XML, HTML etc. as a stream of characters from an input DOM or from input SAX events.
diff --git a/xalan/src/main/java/MANIFEST.MF b/xalan/src/main/java/MANIFEST.MF
index 15a12ae..899ed2b 100644
--- a/xalan/src/main/java/MANIFEST.MF
+++ b/xalan/src/main/java/MANIFEST.MF
@@ -2,7 +2,7 @@
Created-By: @java.version@ (@java.vendor@)
Main-Class: org.apache.xalan.xslt.Process
Class-Path: xercesImpl.jar xml-apis.jar serializer.jar
-
+Bundle-License: Apache-2.0; link="http://opensource.org/licenses/apache2.0.php"
Name: org/apache/xalan/
Comment: Main Xalan engine implementing TrAX/JAXP