File tree Expand file tree Collapse file tree 5 files changed +9
-19
lines changed
main/java/org/apache/maven/plugins/deploy Expand file tree Collapse file tree 5 files changed +9
-19
lines changed Original file line number Diff line number Diff 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 >43 </version >
2727 <relativePath />
2828 </parent >
2929
@@ -70,10 +70,10 @@ under the License.
7070 <properties >
7171 <javaVersion >8</javaVersion >
7272 <mavenVersion >3.9.6</mavenVersion >
73- <!-- Keep in sync with resolver used in maven above -->
73+ <!-- Maven bound -->
74+ <resolverVersion >1.9.18</resolverVersion >
75+ <!-- Maven bound -->
7476 <slf4jVersion >1.7.36</slf4jVersion >
75- <!-- Keep in sync with resolver used in maven above -->
76- <resolverVersion >1.9.20</resolverVersion >
7777
7878 <!-- plugins version used in IT tests -->
7979 <mavenAntrunPluginVersion >${version.maven-antrun-plugin}</mavenAntrunPluginVersion >
@@ -210,19 +210,6 @@ under the License.
210210 </dependency >
211211 </dependencies >
212212
213- <build >
214- <plugins >
215- <plugin >
216- <groupId >org.apache.maven.plugins</groupId >
217- <artifactId >maven-compiler-plugin</artifactId >
218- <configuration >
219- <proc >none</proc >
220- <showDeprecation >true</showDeprecation >
221- </configuration >
222- </plugin >
223- </plugins >
224- </build >
225-
226213 <profiles >
227214 <profile >
228215 <id >run-its</id >
Original file line number Diff line number Diff line change 1919
2020def buildLog = new File ( basedir, " build.log" )
2121
22- assert buildLog. text. contains( " The packaging plugin for this project did not assign "
22+ assert buildLog. text. contains( " The packaging plugin for project test did not assign "
2323 + " a main file to the project but it has attachments. Change packaging to 'pom'." )
Original file line number Diff line number Diff line change 1919
2020def buildLog = new File ( basedir, " build.log" )
2121
22- assert buildLog. text. contains( " The packaging plugin for this project did not assign "
22+ assert buildLog. text. contains( " The packaging plugin for project test did not assign "
2323 + " a main file to the project but it has attachments. Change packaging to 'pom'." )
Original file line number Diff line number Diff line change @@ -229,6 +229,8 @@ void initProperties() throws MojoExecutionException {
229229 }
230230 }
231231
232+ @ Override
233+ @ SuppressWarnings ("MethodLength" )
232234 public void execute () throws MojoExecutionException , MojoFailureException {
233235 if (Boolean .parseBoolean (skip )
234236 || ("releases" .equals (skip ) && !ArtifactUtils .isSnapshot (version ))
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ private boolean hasState(MavenProject project) {
180180 return pluginContext .containsKey (DEPLOY_PROCESSED_MARKER );
181181 }
182182
183+ @ Override
183184 public void execute () throws MojoExecutionException , MojoFailureException {
184185 State state ;
185186 if (Boolean .parseBoolean (skip )
You can’t perform that action at this time.
0 commit comments