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 2021/09/26 22:23:33 UTC

[maven-help-plugin] branch master updated (569c619 -> 4aa8512)

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

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


    from 569c619  Bump plexus-interactivity-api from 1.0 to 1.1
     new aebbaf1  Revert "Bump plexus-utils from 3.3.0 to 3.4.1"
     new 4aa8512  Revert "[MPH-181] Require Java 8"

The 2 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.


Summary of changes:
 pom.xml | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

[maven-help-plugin] 02/02: Revert "[MPH-181] Require Java 8"

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

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

commit 4aa8512a15b8f413289e07f57ac6e1c45677eb33
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Sep 26 17:02:42 2021 +0200

    Revert "[MPH-181] Require Java 8"
    
    This reverts commit f296e479065f590252bcc2db9ebf03cb0ae31c79.
---
 pom.xml | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4b28d4b..142d159 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
   </distributionManagement>
 
   <properties>
-    <javaVersion>8</javaVersion>
+    <javaVersion>7</javaVersion>
     <mavenVersion>3.1.1</mavenVersion>
     <mavenPluginToolsVersion>3.6.1</mavenPluginToolsVersion>
     <surefire.version>2.22.2</surefire.version>
@@ -178,7 +178,7 @@
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
-      <version>3.12.0</version>
+      <version>3.8.1</version> <!-- commons-lang3 > 3.8.1 requires at least Java 8 -->
     </dependency>
 
     <!-- test -->
@@ -203,7 +203,7 @@
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
-      <version>3.12.4</version>
+      <version>2.28.2</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
@@ -235,6 +235,27 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-bytecode-version</id>
+            <configuration>
+              <rules>
+                <!--
+                  ! Added the following ignores cause our target is JDK 7 
+                  ! The given classes are JDK 8 compiled.
+                -->
+                <enforceBytecodeVersion combine.children="append">
+                  <ignoreClasses>
+                    <ignoreClass>com.thoughtworks.xstream.converters.reflection.LambdaConverter</ignoreClass>
+                    <ignoreClass>com.thoughtworks.xstream.mapper.LambdaMapper</ignoreClass>
+                    <ignoreClass>com.thoughtworks.xstream.converters.time.*</ignoreClass>
+                    <ignoreClass>com.thoughtworks.xstream.core.util.ISO8601JavaTimeConverter</ignoreClass>
+                  </ignoreClasses>
+                </enforceBytecodeVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
       </plugin>
       <!-- unpack old Maven core sources for maven.mdo model to be able to generate xpp3-extended-writer when not yet provided by Maven core -->
       <plugin>

[maven-help-plugin] 01/02: Revert "Bump plexus-utils from 3.3.0 to 3.4.1"

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

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

commit aebbaf1c8abaa2835a087d3b9018defca0e13c50
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Fri Aug 27 04:07:08 2021 +0000

    Revert "Bump plexus-utils from 3.3.0 to 3.4.1"
    
    This reverts commit 2914f3a237bcf109765871ef2f834a87ec86b542.
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 1bf2371..4b28d4b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -161,7 +161,7 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-utils</artifactId>
-      <version>3.4.1</version>
+      <version>3.3.0</version>
     </dependency>
 
     <!-- misc -->