You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2023/05/24 09:41:59 UTC

[GitHub] [maven-integration-testing] gnodet opened a new pull request, #264: [MNG-7587] Add an IT for jsr330 components

gnodet opened a new pull request, #264:
URL: https://github.com/apache/maven-integration-testing/pull/264

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-integration-testing] gnodet merged pull request #264: [MNG-7587] Add an IT for jsr330 components

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #264:
URL: https://github.com/apache/maven-integration-testing/pull/264


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-integration-testing] laeubi commented on a diff in pull request #264: [MNG-7587] Add an IT for jsr330 components

Posted by "laeubi (via GitHub)" <gi...@apache.org>.
laeubi commented on code in PR #264:
URL: https://github.com/apache/maven-integration-testing/pull/264#discussion_r1203812098


##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7587Jsr330.java:
##########
@@ -0,0 +1,106 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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
+ *
+ * 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.
+ */
+
+import org.apache.maven.shared.verifier.Verifier;
+import org.apache.maven.shared.verifier.util.ResourceExtractor;
+import org.codehaus.plexus.util.Os;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnJre;
+import org.junit.jupiter.api.condition.JRE;
+
+import java.io.File;
+
+/**
+ * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7737">MNG-7737</a>.
+ * Simply verifies that various (expected) profiles are properly activated or not.

Review Comment:
   Javadoc seems wrong



##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7587Jsr330.java:
##########
@@ -0,0 +1,106 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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
+ *
+ * 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.
+ */
+
+import org.apache.maven.shared.verifier.Verifier;
+import org.apache.maven.shared.verifier.util.ResourceExtractor;
+import org.codehaus.plexus.util.Os;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnJre;
+import org.junit.jupiter.api.condition.JRE;
+
+import java.io.File;
+
+/**
+ * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7737">MNG-7737</a>.
+ * Simply verifies that various (expected) profiles are properly activated or not.
+ *
+ */
+class MavenITmng7587Jsr330
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng7587Jsr330()
+    {
+        // affected Maven versions: 3.9.0
+        super( "(3.9.2,4.0.0-alpha-1),(4.0.0-alpha-5,)" );
+    }
+
+    /**
+     * Verify components can be written using JSR330 on JDK 1.8.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre({JRE.JAVA_8, JRE.JAVA_11, JRE.JAVA_17})
+    void testJdk8()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7587-jsr330");
+
+        Verifier verifier = newVerifier( testDir.getAbsolutePath() );
+        verifier.addCliArgument( "clean" );
+        verifier.addCliArgument( "verify" );
+        verifier.addCliArgument( "-Drunning-java-release-version=1.8" );
+        verifier.execute();
+        verifier.verifyErrorFreeLog();
+    }
+
+    /**
+     * Verify components can be written using JSR330 on JDK 11.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre({JRE.JAVA_11, JRE.JAVA_17})
+    void testJdk11()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7587-jsr330");
+
+        Verifier verifier = newVerifier( testDir.getAbsolutePath() );
+        verifier.addCliArgument( "clean" );
+        verifier.addCliArgument( "verify" );
+        verifier.addCliArgument( "-Drunning-java-release-version=11" );
+        verifier.execute();
+        verifier.verifyErrorFreeLog();
+    }
+
+
+    /**
+     * Verify components can be written using JSR330 on JDK 17.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre(JRE.JAVA_17)
+    void testJdk17()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7587-jsr330");
+
+        Verifier verifier = newVerifier( testDir.getAbsolutePath() );
+        verifier.addCliArgument( "clean" );
+        verifier.addCliArgument( "verify" );
+        verifier.addCliArgument( "-Drunning-java-release-version=17" );
+        verifier.execute();
+        verifier.verifyErrorFreeLog();
+    }

Review Comment:
   Maybe java 20 can/should also be checked?



##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7587Jsr330.java:
##########
@@ -0,0 +1,106 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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
+ *
+ * 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.
+ */
+
+import org.apache.maven.shared.verifier.Verifier;
+import org.apache.maven.shared.verifier.util.ResourceExtractor;
+import org.codehaus.plexus.util.Os;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnJre;
+import org.junit.jupiter.api.condition.JRE;
+
+import java.io.File;
+
+/**
+ * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7737">MNG-7737</a>.
+ * Simply verifies that various (expected) profiles are properly activated or not.
+ *
+ */
+class MavenITmng7587Jsr330
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng7587Jsr330()
+    {
+        // affected Maven versions: 3.9.0
+        super( "(3.9.2,4.0.0-alpha-1),(4.0.0-alpha-5,)" );
+    }
+
+    /**
+     * Verify components can be written using JSR330 on JDK 1.8.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre({JRE.JAVA_8, JRE.JAVA_11, JRE.JAVA_17})
+    void testJdk8()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7587-jsr330");

Review Comment:
   as code is always the same (except one parameter) maybe use a method that accepts the java version?!?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-integration-testing] laeubi commented on a diff in pull request #264: [MNG-7587] Add an IT for jsr330 components

Posted by "laeubi (via GitHub)" <gi...@apache.org>.
laeubi commented on code in PR #264:
URL: https://github.com/apache/maven-integration-testing/pull/264#discussion_r1204267659


##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7587Jsr330.java:
##########
@@ -0,0 +1,108 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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
+ *
+ * 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.
+ */
+
+import org.apache.maven.shared.verifier.Verifier;
+import org.apache.maven.shared.verifier.util.ResourceExtractor;
+import org.codehaus.plexus.util.Os;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnJre;
+import org.junit.jupiter.api.condition.JRE;
+
+import java.io.File;
+
+/**
+ * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7737">MNG-7737</a>.
+ * Simply verifies that various (expected) profiles are properly activated or not.
+ *
+ */
+class MavenITmng7587Jsr330
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng7587Jsr330()
+    {
+        // affected Maven versions: 3.9.0
+        super( ALL_MAVEN_VERSIONS );
+    }
+
+    /**
+     * Verify components can be written using JSR330 on JDK 1.8.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @Disabled
+    void testJdk8() throws Exception
+    {
+        testJdk( "1.8" );
+    }
+
+    /**
+     * Verify components can be written using JSR330 on JDK 11.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre({JRE.JAVA_11, JRE.JAVA_17})
+    @Disabled
+    void testJdk11() throws Exception
+    {
+        testJdk( "11" );
+    }
+
+
+    /**
+     * Verify components can be written using JSR330 on JDK 17.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre(JRE.JAVA_17)
+    void testJdk17() throws Exception
+    {
+        testJdk( "17" );
+    }
+
+    void testJdk(String jdk) throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7587-jsr330").getAbsoluteFile();
+
+        final Verifier pluginVerifier = newVerifier( new File( testDir, "plugin" ).getPath() );
+        pluginVerifier.setLogFileName( "log-" + jdk + ".txt" );
+        pluginVerifier.addCliArgument( "clean" );
+        pluginVerifier.addCliArgument( "install" );
+        pluginVerifier.addCliArgument( "-V" );
+        pluginVerifier.addCliArgument( "-Drunning-java-release-version=" + jdk );
+        pluginVerifier.execute();
+        pluginVerifier.verifyErrorFreeLog();
+
+        final Verifier consumerVerifier = newVerifier( new File( testDir, "consumer" ).getPath() );
+        consumerVerifier.setLogFileName( "log-" + jdk + ".txt" );
+        consumerVerifier.addCliArgument( "clean" );
+        consumerVerifier.addCliArgument( "verify" );
+        consumerVerifier.addCliArgument( "-V" );
+        consumerVerifier.addCliArgument( "-Drunning-java-release-version=" + jdk );

Review Comment:
   This seems oboslete for the consumer.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-integration-testing] laeubi commented on a diff in pull request #264: [MNG-7587] Add an IT for jsr330 components

Posted by "laeubi (via GitHub)" <gi...@apache.org>.
laeubi commented on code in PR #264:
URL: https://github.com/apache/maven-integration-testing/pull/264#discussion_r1204268268


##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7587Jsr330.java:
##########
@@ -0,0 +1,108 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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
+ *
+ * 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.
+ */
+
+import org.apache.maven.shared.verifier.Verifier;
+import org.apache.maven.shared.verifier.util.ResourceExtractor;
+import org.codehaus.plexus.util.Os;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnJre;
+import org.junit.jupiter.api.condition.JRE;
+
+import java.io.File;
+
+/**
+ * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7737">MNG-7737</a>.
+ * Simply verifies that various (expected) profiles are properly activated or not.
+ *
+ */
+class MavenITmng7587Jsr330
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng7587Jsr330()
+    {
+        // affected Maven versions: 3.9.0
+        super( ALL_MAVEN_VERSIONS );
+    }
+
+    /**
+     * Verify components can be written using JSR330 on JDK 1.8.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @Disabled
+    void testJdk8() throws Exception
+    {
+        testJdk( "1.8" );
+    }
+
+    /**
+     * Verify components can be written using JSR330 on JDK 11.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre({JRE.JAVA_11, JRE.JAVA_17})
+    @Disabled
+    void testJdk11() throws Exception
+    {
+        testJdk( "11" );
+    }
+
+
+    /**
+     * Verify components can be written using JSR330 on JDK 17.
+     *
+     * @throws Exception in case of failure
+     */
+    @Test
+    @EnabledOnJre(JRE.JAVA_17)
+    void testJdk17() throws Exception
+    {
+        testJdk( "17" );
+    }
+
+    void testJdk(String jdk) throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7587-jsr330").getAbsoluteFile();
+
+        final Verifier pluginVerifier = newVerifier( new File( testDir, "plugin" ).getPath() );
+        pluginVerifier.setLogFileName( "log-" + jdk + ".txt" );
+        pluginVerifier.addCliArgument( "clean" );
+        pluginVerifier.addCliArgument( "install" );
+        pluginVerifier.addCliArgument( "-V" );
+        pluginVerifier.addCliArgument( "-Drunning-java-release-version=" + jdk );
+        pluginVerifier.execute();
+        pluginVerifier.verifyErrorFreeLog();
+
+        final Verifier consumerVerifier = newVerifier( new File( testDir, "consumer" ).getPath() );
+        consumerVerifier.setLogFileName( "log-" + jdk + ".txt" );

Review Comment:
   should this probabbly use a different logfile name?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-integration-testing] cstamas commented on a diff in pull request #264: [MNG-7587] Add an IT for jsr330 components

Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on code in PR #264:
URL: https://github.com/apache/maven-integration-testing/pull/264#discussion_r1203813846


##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7587Jsr330.java:
##########
@@ -0,0 +1,106 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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
+ *
+ * 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.
+ */
+
+import org.apache.maven.shared.verifier.Verifier;
+import org.apache.maven.shared.verifier.util.ResourceExtractor;
+import org.codehaus.plexus.util.Os;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnJre;
+import org.junit.jupiter.api.condition.JRE;
+
+import java.io.File;
+
+/**
+ * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7737">MNG-7737</a>.
+ * Simply verifies that various (expected) profiles are properly activated or not.
+ *
+ */
+class MavenITmng7587Jsr330
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng7587Jsr330()
+    {
+        // affected Maven versions: 3.9.0

Review Comment:
   this is probably leftover?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-integration-testing] cstamas commented on a diff in pull request #264: [MNG-7587] Add an IT for jsr330 components

Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on code in PR #264:
URL: https://github.com/apache/maven-integration-testing/pull/264#discussion_r1203813334


##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7587Jsr330.java:
##########
@@ -0,0 +1,106 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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
+ *
+ * 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.
+ */
+
+import org.apache.maven.shared.verifier.Verifier;
+import org.apache.maven.shared.verifier.util.ResourceExtractor;
+import org.codehaus.plexus.util.Os;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnJre;
+import org.junit.jupiter.api.condition.JRE;
+
+import java.io.File;
+
+/**
+ * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7737">MNG-7737</a>.

Review Comment:
   update javadoc



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-integration-testing] slachiewicz commented on a diff in pull request #264: [MNG-7587] Add an IT for jsr330 components

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz commented on code in PR #264:
URL: https://github.com/apache/maven-integration-testing/pull/264#discussion_r1203902314


##########
core-it-suite/src/test/resources/mng-7587-jsr330/pom.xml:
##########
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>sample.plugin</groupId>
+  <artifactId>hello-maven-plugin</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>maven-plugin</packaging>
+
+  <name>hello-maven-plugin Maven Plugin</name>
+
+  <!-- FIXME change it to the project's website -->
+  <url>http://www.example.com</url>
+
+  <prerequisites>
+    <maven>${maven.version}</maven>
+  </prerequisites>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <maven.compiler.source>${running-java-release-version}</maven.compiler.source>
+    <maven.compiler.target>${running-java-release-version}</maven.compiler.target>
+    <maven.version>3.8.6</maven.version>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>${maven.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-core</artifactId>
+      <version>${maven.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-artifact</artifactId>
+      <version>${maven.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-compat</artifactId>
+      <version>${maven.version}</version>
+      <scope>test</scope>
+    </dependency> 
+    <dependency>
+      <groupId>org.apache.maven.plugin-tools</groupId>
+      <artifactId>maven-plugin-annotations</artifactId>
+      <version>3.6.0</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.plugin-testing</groupId>
+      <artifactId>maven-plugin-testing-harness</artifactId>
+      <version>3.3.0</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
+      <plugins>
+        <plugin>
+          <artifactId>maven-clean-plugin</artifactId>
+          <version>3.2.0</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>3.3.0</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.10.1</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-plugin-plugin</artifactId>
+          <version>3.6.0</version>

Review Comment:
   3.9.0



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org