Skip to content

Commit eee9ac7

Browse files
authored
Update parent to 44 (#67)
1 parent 9ad71b3 commit eee9ac7

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

pom.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ under the License.
2323
<parent>
2424
<groupId>org.apache.maven.plugins</groupId>
2525
<artifactId>maven-plugins</artifactId>
26-
<version>42</version>
26+
<version>44</version>
2727
<relativePath />
2828
</parent>
2929

@@ -81,7 +81,6 @@ under the License.
8181
<mavenVersion>4.0.0-beta-3</mavenVersion>
8282

8383
<guiceVersion>6.0.0</guiceVersion>
84-
<junitVersion>5.10.2</junitVersion>
8584
<mavenArchiverVersion>4.0.0-beta-1</mavenArchiverVersion>
8685
<mavenPluginPluginVersion>4.0.0-beta-1</mavenPluginPluginVersion>
8786
<mavenPluginTestingVersion>4.0.0-beta-1</mavenPluginTestingVersion>
@@ -176,7 +175,6 @@ under the License.
176175
<dependency>
177176
<groupId>org.junit.jupiter</groupId>
178177
<artifactId>junit-jupiter-api</artifactId>
179-
<version>${junitVersion}</version>
180178
<scope>test</scope>
181179
</dependency>
182180
<dependency>

src/test/java/org/apache/maven/plugins/source/SourceJarMojoTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@
4848
public class SourceJarMojoTest extends AbstractSourcePluginTestCase {
4949

5050
private String[] addMavenDescriptor(String project, String... listOfElements) {
51-
final String METAINF = "META-INF/";
52-
final String MAVENSOURCE = "maven/source/maven-source-plugin-test-";
51+
final String metainf = "META-INF/";
52+
final String mavensource = "maven/source/maven-source-plugin-test-";
5353
int length = listOfElements.length;
5454
String[] result = new String[length + 5];
5555
System.arraycopy(listOfElements, 0, result, 0, length);
56-
result[length] = METAINF + "maven/";
57-
result[length + 1] = METAINF + "maven/source/";
58-
result[length + 2] = METAINF + MAVENSOURCE + project + "/";
59-
result[length + 3] = METAINF + MAVENSOURCE + project + "/pom.properties";
60-
result[length + 4] = METAINF + MAVENSOURCE + project + "/pom.xml";
56+
result[length] = metainf + "maven/";
57+
result[length + 1] = metainf + "maven/source/";
58+
result[length + 2] = metainf + mavensource + project + "/";
59+
result[length + 3] = metainf + mavensource + project + "/pom.properties";
60+
result[length + 4] = metainf + mavensource + project + "/pom.xml";
6161
return result;
6262
}
6363

0 commit comments

Comments
 (0)