File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
src/test/java/org/apache/maven/plugins/deploy Expand file tree Collapse file tree 4 files changed +7
-6
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 >43 </version >
26+ <version >44 </version >
2727 <relativePath />
2828 </parent >
2929
@@ -149,6 +149,7 @@ under the License.
149149 <dependency >
150150 <groupId >org.apache.maven.plugin-tools</groupId >
151151 <artifactId >maven-plugin-annotations</artifactId >
152+ <version >${version.maven-plugin-tools} </version >
152153 <scope >provided</scope >
153154 </dependency >
154155
Original file line number Diff line number Diff line change 4040 * @author <a href="mailto:[email protected] ">Allan Ramirez</a> 4141 */
4242public class DeployFileMojoTest extends AbstractMojoTestCase {
43- private final String LOCAL_REPO = getBasedir () + "/target/local-repo" ;
43+ private static final String LOCAL_REPO = getBasedir () + "/target/local-repo" ;
4444
4545 private List <String > expectedFiles ;
4646
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public void tearDown() {
5858 static class MockDeployFileMojo extends DeployFileMojo {
5959 private Model model ;
6060
61- public MockDeployFileMojo (Model model ) {
61+ MockDeployFileMojo (Model model ) {
6262 this .model = model ;
6363 }
6464
Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ public class DeployMojoTest extends AbstractMojoTestCase {
5757
5858 private File localRepo ;
5959
60- private final String LOCAL_REPO = getBasedir () + "/target/local-repo" ;
60+ private static final String LOCAL_REPO = getBasedir () + "/target/local-repo" ;
6161
62- private final String REMOTE_REPO = getBasedir () + "/target/remote-repo" ;
62+ private static final String REMOTE_REPO = getBasedir () + "/target/remote-repo" ;
6363
6464 DeployArtifactStub artifact ;
6565
@@ -628,7 +628,7 @@ public void testNonPomDeployWithAttachedArtifactsOnly() throws Exception {
628628 }
629629
630630 @ Ignore ("SCP is not part of Maven3 distribution. Aether handles transport extensions." )
631- public void _testBasicDeployWithScpAsProtocol () throws Exception {
631+ public void basicDeployWithScpAsProtocol () throws Exception {
632632 String originalUserHome = System .getProperty ("user.home" );
633633
634634 // FIX THE DAMN user.home BEFORE YOU DELETE IT!!!
You can’t perform that action at this time.
0 commit comments