You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2020/02/17 21:51:25 UTC

[maven-changelog-plugin] branch xml created (now eec3db3)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch xml
in repository https://gitbox.apache.org/repos/asf/maven-changelog-plugin.git.


      at eec3db3  Use jdk9 profile to include xml libs

This branch includes the following new commits:

     new eec3db3  Use jdk9 profile to include xml libs

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-changelog-plugin] 01/01: Use jdk9 profile to include xml libs

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch xml
in repository https://gitbox.apache.org/repos/asf/maven-changelog-plugin.git

commit eec3db32af02b6f8eeb85459176dd5e8fd4dccc6
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Feb 17 22:51:05 2020 +0100

    Use jdk9 profile to include xml libs
---
 Jenkinsfile |  2 +-
 pom.xml     | 42 +++++++++++++++++++++++++++++++++++-------
 2 files changed, 36 insertions(+), 8 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a549506..e9f05f7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-asfMavenTlpPlgnBuild(jdk:['7','8','11'])
+asfMavenTlpPlgnBuild()
diff --git a/pom.xml b/pom.xml
index 2f18115..a60ed7a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -298,13 +298,6 @@ under the License.
       <version>3.0.24</version>
     </dependency>
 
-    <!-- misc -->
-    <dependency>
-      <groupId>xml-apis</groupId>
-      <artifactId>xml-apis</artifactId>
-      <version>1.0.b2</version>
-    </dependency>
-
     <!-- test dependencies -->
     <dependency>
       <groupId>junit</groupId>
@@ -386,5 +379,40 @@ under the License.
       </reporting>
     </profile>
 
+    <profile>
+      <id>jdk9</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-enforcer-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>enforce-bytecode-version</id>
+                <configuration>
+                  <rules>
+                    <enforceBytecodeVersion>
+                      <excludes>
+                        <exclude>javax.xml.bind:jaxb-api</exclude>
+                      </excludes>
+                    </enforceBytecodeVersion>
+                  </rules>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+          <version>2.3.1</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>