Skip to content

Commit

Permalink
Merge pull request #26086 from famod/mvn-3.8.6
Browse files Browse the repository at this point in the history
Update Maven to 3.8.6, maven-wrapper to 3.1.1 and maven-invoker to 3.2.0
  • Loading branch information
famod committed Jun 14, 2022
2 parents 5aa3d4e + a342c56 commit 853d8d7
Show file tree
Hide file tree
Showing 16 changed files with 68 additions and 242 deletions.
142 changes: 0 additions & 142 deletions .mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

Binary file modified .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
10 changes: 5 additions & 5 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<kotlin-serialization.version>1.3.3</kotlin-serialization.version>
<kubernetes-client.version>5.12.2</kubernetes-client.version> <!-- Please check with Java Operator SDK team before updating -->
<dekorate.version>2.9.2</dekorate.version> <!-- Please check with Java Operator SDK team before updating -->
<maven-invoker.version>3.1.0</maven-invoker.version>
<maven-invoker.version>3.2.0</maven-invoker.version>
<awaitility.version>4.2.0</awaitility.version>
<jboss-logmanager.version>1.0.10</jboss-logmanager.version>
<flyway.version>8.5.11</flyway.version>
Expand Down
4 changes: 2 additions & 2 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
<supported-maven-versions>[3.6.2,)</supported-maven-versions>

<!-- These 2 properties are used by CreateProjectMojo to add the Maven Wrapper -->
<proposed-maven-version>3.8.4</proposed-maven-version>
<maven-wrapper.version>3.1.0</maven-wrapper.version>
<proposed-maven-version>3.8.6</proposed-maven-version>
<maven-wrapper.version>3.1.1</maven-wrapper.version>
<gradle-wrapper.version>7.4.2</gradle-wrapper.version>
<quarkus-gradle-plugin.version>${project.version}</quarkus-gradle-plugin.version>
<quarkus-maven-plugin.version>${project.version}</quarkus-maven-plugin.version>
Expand Down
2 changes: 1 addition & 1 deletion independent-projects/arc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<version.jta>1.3.3</version.jta>
<version.jandex>2.4.2.Final</version.jandex>
<version.junit5>5.8.2</version.junit5>
<version.maven>3.8.4</version.maven>
<version.maven>3.8.6</version.maven>
<version.assertj>3.23.1</version.assertj>
<version.jboss-logging>3.5.0.Final</version.jboss-logging>
<version.jakarta-annotation>1.3.5</version.jakarta-annotation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.apache.maven.model.building.ModelProblemCollector;
import org.apache.maven.model.building.ModelProblemCollectorRequest;
import org.apache.maven.model.path.DefaultPathTranslator;
import org.apache.maven.model.path.PathTranslator;
import org.apache.maven.model.path.ProfileActivationFilePathInterpolator;
import org.apache.maven.model.profile.DefaultProfileActivationContext;
import org.apache.maven.model.profile.DefaultProfileSelector;
import org.apache.maven.model.profile.activation.FileProfileActivator;
Expand Down Expand Up @@ -968,19 +968,17 @@ private static FileProfileActivator createFileProfileActivator() throws Bootstra
var activator = new FileProfileActivator();
var translator = new DefaultPathTranslator();
try {
activator.setPathTranslator(translator);
} catch (LinkageError e) {
// setPathTranslator() not found; Maven >= 3.8.5 (https://github.com/apache/maven/pull/649)
var pathInterpolator = new ProfileActivationFilePathInterpolator();
pathInterpolator.setPathTranslator(translator);
activator.setProfileActivationFilePathInterpolator(pathInterpolator);
} catch (NoClassDefFoundError e) {
// ProfileActivationFilePathInterpolator not found; Maven < 3.8.5 (https://github.com/apache/maven/pull/649)
try {
var interpolatorClass = Thread.currentThread().getContextClassLoader()
.loadClass("org.apache.maven.model.path.ProfileActivationFilePathInterpolator");
var interpolator = interpolatorClass.getDeclaredConstructor().newInstance();
interpolatorClass.getMethod("setPathTranslator", PathTranslator.class)
.invoke(interpolator, translator);
activator.getClass().getMethod("setProfileActivationFilePathInterpolator", interpolatorClass)
.invoke(activator, interpolator);
activator.getClass().getMethod("setPathTranslator", org.apache.maven.model.path.PathTranslator.class)
.invoke(activator, translator);
} catch (ReflectiveOperationException reflectionExc) {
throw new BootstrapMavenException("Failed to set up Maven 3.8.5+ ProfileActivationFilePathInterpolator",
throw new BootstrapMavenException(
"Failed to set up DefaultPathTranslator for Maven < 3.8.5 DefaultPathTranslator",
reflectionExc);
}
}
Expand Down
4 changes: 2 additions & 2 deletions independent-projects/bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
<jboss-logging.version>3.5.0.Final</jboss-logging.version>
<jsoup.version>1.14.2</jsoup.version> <!-- wagon-http dependency -->
<junit.jupiter.version>5.8.2</junit.jupiter.version>
<maven-core.version>3.8.4</maven-core.version><!-- Keep in sync with sisu.version -->
<maven-core.version>3.8.6</maven-core.version><!-- Keep in sync with sisu.version -->
<sisu.version>0.3.5</sisu.version><!-- Keep in sync with maven-core.version -->
<maven-plugin-annotations.version>3.6.0</maven-plugin-annotations.version>
<maven-resolver.version>1.6.3</maven-resolver.version>
<maven-shared-utils.version>3.3.4</maven-shared-utils.version> <!-- Keep in sync with maven-core.version (force this version on maven-invoker) -->
<maven-wagon.version>3.4.3</maven-wagon.version>
<maven-wagon.version>3.5.1</maven-wagon.version>
<httpcore.version>4.4.15</httpcore.version><!-- Keep in sync with maven-wagon.version (wagon-http 3.4.3 brings in 4.4.13 and 4.4.14) -->
<commons-logging-jboss-logging.version>1.0.0.Final</commons-logging-jboss-logging.version>
<jackson-bom.version>2.13.3</jackson-bom.version>
Expand Down
2 changes: 1 addition & 1 deletion independent-projects/enforcer-rules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<enforcer-api.version>3.0.0-M3</enforcer-api.version>
<maven-invoker-plugin.version>3.2.2</maven-invoker-plugin.version>
<maven-core.version>3.8.4</maven-core.version>
<maven-core.version>3.8.6</maven-core.version>

<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion independent-projects/resteasy-reactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<jakarta.enterprise.cdi-api.version>2.0.2</jakarta.enterprise.cdi-api.version>
<jandex.version>2.4.2.Final</jandex.version>
<junit5.version>5.8.2</junit5.version>
<maven.version>3.8.4</maven.version>
<maven.version>3.8.6</maven.version>
<assertj.version>3.23.1</assertj.version>
<jboss-logging.version>3.5.0.Final</jboss-logging.version>
<jakarta.annotation-api.version>1.3.5</jakarta.annotation-api.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ language:
base:
data:
maven:
version: 3.8.4
wrapper-version: 3.1.0
version: 3.8.6
wrapper-version: 3.1.1
shared-data:
buildtool:
cli: ./mvnw
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@
"gradle-plugin-id": "io.quarkus",
"gradle-plugin-version": "999-FAKE",
"supported-maven-versions": "[3.6.2,)",
"proposed-maven-version": "3.8.4",
"maven-wrapper-version": "3.1.0",
"proposed-maven-version": "3.8.6",
"maven-wrapper-version": "3.1.1",
"gradle-wrapper-version": "7.4.2"
}
},
Expand Down
6 changes: 3 additions & 3 deletions independent-projects/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<maven.compiler.release>11</maven.compiler.release>

<!-- These properties are used by CreateProjectMojo to add the Maven Wrapper -->
<proposed-maven-version>3.8.4</proposed-maven-version>
<maven-wrapper.version>3.1.0</maven-wrapper.version>
<proposed-maven-version>3.8.6</proposed-maven-version>
<maven-wrapper.version>3.1.1</maven-wrapper.version>
<gradle-wrapper.version>7.4.2</gradle-wrapper.version>

<!-- These properties are needed in order for them to be resolvable by the generated projects -->
Expand All @@ -54,7 +54,7 @@
<junit.version>5.8.2</junit.version>
<commons-compress.version>1.21</commons-compress.version>
<jboss-logging.version>3.5.0.Final</jboss-logging.version>
<maven-core.version>3.8.4</maven-core.version>
<maven-core.version>3.8.6</maven-core.version>
<mockito.version>4.6.0</mockito.version>
<version.surefire.plugin>3.0.0-M7</version.surefire.plugin>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
Expand Down

0 comments on commit 853d8d7

Please sign in to comment.