Skip to content

Commit

Permalink
[MJAR-288] Upgrade Parent to 36
Browse files Browse the repository at this point in the history
- fix failed bsh script due to reflection on internal jdk casses - jdk 11
  • Loading branch information
slawekjaranowski committed May 13, 2022
1 parent bc6a6be commit 3fe2100
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 19 deletions.
18 changes: 15 additions & 3 deletions pom.xml
Expand Up @@ -25,8 +25,8 @@
<parent>
<artifactId>maven-plugins</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>34</version>
<relativePath>../../pom/maven/maven-plugins/pom.xml</relativePath>
<version>36</version>
<relativePath/>
</parent>

<artifactId>maven-jar-plugin</artifactId>
Expand Down Expand Up @@ -65,7 +65,7 @@
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-jar-plugin/</url>
<url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-jar-plugin/</url>
</ciManagement>
<distributionManagement>
<site>
Expand All @@ -78,6 +78,9 @@
<mavenFileManagementVersion>3.0.0</mavenFileManagementVersion>
<mavenArchiverVersion>3.5.2</mavenArchiverVersion>
<mavenVersion>3.1.0</mavenVersion>
<!-- TODO remove with Maven APi upgrade -->
<!-- the same version as in Maven 3.1.0 -->
<sisuVersion>0.0.0.M2a</sisuVersion>
<javaVersion>7</javaVersion>
<project.build.outputTimestamp>2022-01-08T21:19:21Z</project.build.outputTimestamp>
</properties>
Expand All @@ -87,16 +90,25 @@
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
Expand Down
Expand Up @@ -41,9 +41,9 @@ try
return false;
}

String[] artifactNames = new String[] { "default-configuration.properties", "META-INF/MANIFEST.MF",
String[] artifactNames = [ "default-configuration.properties", "META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/pom.xml" ];

Set contents = new HashSet();

Expand Down
Expand Up @@ -41,10 +41,10 @@ try
return false;
}

String[] artifactNames = new String[] { "default-configuration.properties",
String[] artifactNames = [ "default-configuration.properties",
"foo/project001/App.class", "META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-01/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-01/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-01/pom.xml" ];

Set contents = new HashSet();

Expand Down
Expand Up @@ -41,9 +41,9 @@ try
return false;
}

String[] artifactNames = new String[] { "service/TestInterface.class", "META-INF/MANIFEST.MF",
String[] artifactNames = [ "service/TestInterface.class", "META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-02/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-02/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-02/pom.xml" ];

Set contents = new HashSet();

Expand Down
File renamed without changes.
Expand Up @@ -48,10 +48,10 @@ try
return false;
}

String[] artifactNames = new String[] { "test-default-configuration.properties",
String[] artifactNames = [ "test-default-configuration.properties",
"foo/project003/AppTest.class", "foo/project003/AppIntegrationTest.class", "META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-03/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-03/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-03/pom.xml" ];

Set contents = new HashSet();

Expand Down
Expand Up @@ -48,10 +48,10 @@ try
return false;
}

String[] artifactNames = new String[] { "test-default-configuration.properties",
String[] artifactNames = [ "test-default-configuration.properties",
"foo/project003/AppTest.class", "foo/project003/AppIntegrationTest.class", "META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-01/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-01/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-01/pom.xml" ];

Set contents = new HashSet();

Expand Down
Expand Up @@ -48,10 +48,10 @@ try
return false;
}

String[] artifactNames = new String[] { "foo/project003/AppIntegrationTest.class",
String[] artifactNames = [ "foo/project003/AppIntegrationTest.class",
"META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-02/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-02/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-02/pom.xml" ];

Set contents = new HashSet();

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -41,10 +41,10 @@ try
return false;
}

String[] artifactNames = new String[] { "service/TestInterface.class",
String[] artifactNames = [ "service/TestInterface.class",
"service/impl/TestImplementation.class", "TestCompile1.class", "notIncluded.xml", "META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.xml" ];

Set contents = new HashSet();

Expand Down Expand Up @@ -84,10 +84,10 @@ try
return false;
}

artifactNames = new String[] { "service/TestInterface.class",
artifactNames = [ "service/TestInterface.class",
"META-INF/MANIFEST.MF",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.properties",
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.xml" };
"META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.xml" ];

contents = new HashSet();

Expand Down

0 comments on commit 3fe2100

Please sign in to comment.