GeezerVison is showing github.com — [MDEPLOY-319] Cleanup of test code · apache/maven-deploy-plugin@ac740a7
File treeExpand file treeCollapse file tree Open diff view settings 3rd-party-jar-with-extras 3rd-party-jar-without-pom alt-deploy-repo-with-dist-mgmt-snapshot alt-deploy-repo-with-dist-mgmt alt-deploy-repo-without-dist-mgmt
test/java/org/apache/maven/plugins/deploy
Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-with-extras/pom.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ under the License. | 22 | 22 | <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"> | 23 | 23 | <modelVersion>4.0.0</modelVersion> | 24 | 24 |
| 25 | | - <groupId>org.apache.maven.its.deploy.tpjwop</groupId> | | 25 | + <groupId>org.apache.maven.its.deploy.tpjwop1</groupId> | 26 | 26 | <artifactId>test</artifactId> | 27 | 27 | <version>1.0</version> | 28 | 28 | <packaging>jar</packaging> | |
Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-with-extras/setup.groovy +1-10Lines changed: 1 addition & 10 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 17 | 17 | * under the License. | 18 | 18 | */ | 19 | 19 |
| 20 | | -import java.io.*; | 21 | | -import java.util.*; | 22 | | - | 23 | | -import org.codehaus.plexus.util.*; | 24 | | - | 25 | | -File file = new File( localRepositoryPath, "org/apache/maven/its/deploy/skip" ); | 26 | | -System.out.println( "Deleting " + file ); | 27 | | -FileUtils.deleteDirectory( file ); | 28 | | - | 29 | | -return true; | | 20 | +assert new File(localRepositoryPath, 'org/apache/maven/its/deploy/tpjwop1').deleteDir() |
Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-with-extras/test.properties +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 17 | 17 |
| 18 | 18 | file = test-0.1.jar | 19 | 19 | url = file:target/repo | 20 | | -groupId = org.apache.maven.its.deploy.tpjwop | | 20 | +groupId = org.apache.maven.its.deploy.tpjwop1 | 21 | 21 | artifactId = test | 22 | 22 | version = 1.0 | 23 | 23 | packaging = jar | |
Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-with-extras/verify.bsh +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,11 +22,11 @@ import java.util.*; | 22 | 22 |
| 23 | 23 | String[] paths = | 24 | 24 | { | 25 | | - "org/apache/maven/its/deploy/tpjwop/test/maven-metadata.xml", | 26 | | - "org/apache/maven/its/deploy/tpjwop/test/1.0/test-1.0.jar", | 27 | | - "org/apache/maven/its/deploy/tpjwop/test/1.0/test-1.0.zip", | 28 | | - "org/apache/maven/its/deploy/tpjwop/test/1.0/test-1.0-src.tar.gz", | 29 | | - "org/apache/maven/its/deploy/tpjwop/test/1.0/test-1.0.tar.gz", | | 25 | + "org/apache/maven/its/deploy/tpjwop1/test/maven-metadata.xml", | | 26 | + "org/apache/maven/its/deploy/tpjwop1/test/1.0/test-1.0.jar", | | 27 | + "org/apache/maven/its/deploy/tpjwop1/test/1.0/test-1.0.zip", | | 28 | + "org/apache/maven/its/deploy/tpjwop1/test/1.0/test-1.0-src.tar.gz", | | 29 | + "org/apache/maven/its/deploy/tpjwop1/test/1.0/test-1.0.tar.gz", | 30 | 30 | }; | 31 | 31 |
| 32 | 32 | for ( String path : paths ) | @@ -41,7 +41,7 @@ for ( String path : paths ) | 41 | 41 |
| 42 | 42 | String[] missing = | 43 | 43 | { | 44 | | - "org/apache/maven/its/deploy/tpjwop/test/1.0/test-1.0.pom", | | 44 | + "org/apache/maven/its/deploy/tpjwop1/test/1.0/test-1.0.pom", | 45 | 45 | }; | 46 | 46 |
| 47 | 47 | for ( String path : missing ) | |
Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-without-pom/pom.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ under the License. | 22 | 22 | <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"> | 23 | 23 | <modelVersion>4.0.0</modelVersion> | 24 | 24 |
| 25 | | - <groupId>org.apache.maven.its.deploy.tpjwop</groupId> | | 25 | + <groupId>org.apache.maven.its.deploy.tpjwop2</groupId> | 26 | 26 | <artifactId>test</artifactId> | 27 | 27 | <version>1.0</version> | 28 | 28 | <packaging>jar</packaging> | |
Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-without-pom/setup.bsh -33Lines changed: 0 additions & 33 deletions Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-without-pom/setup.groovy +1-14Lines changed: 1 addition & 14 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 17 | 17 | * under the License. | 18 | 18 | */ | 19 | 19 |
| 20 | | -import java.io.*; | 21 | | -import java.util.*; | 22 | | - | 23 | | -import org.codehaus.plexus.util.*; | 24 | | - | 25 | | -File file = new File( localRepositoryPath, "org/apache/maven/its/deploy/45" ); | 26 | | -System.out.println( "Deleting " + file ); | 27 | | -FileUtils.deleteDirectory( file ); | 28 | | - | 29 | | -file = new File( basedir, "target/repo" ); | 30 | | -System.out.println( "Deleting " + file ); | 31 | | -FileUtils.deleteDirectory( file ); | 32 | | - | 33 | | -return true; | | 20 | +assert new File(localRepositoryPath, 'org/apache/maven/its/deploy/tpjwop2').deleteDir() |
Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-without-pom/test.properties +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 17 | 17 |
| 18 | 18 | file = test-0.1.jar | 19 | 19 | url = file:target/repo | 20 | | -groupId = org.apache.maven.its.deploy.tpjwop | | 20 | +groupId = org.apache.maven.its.deploy.tpjwop2 | 21 | 21 | artifactId = test | 22 | 22 | version = 1.0 | 23 | 23 | packaging = jar | |
Collapse file Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-without-pom/verify.bsh +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,8 +22,8 @@ import java.util.*; | 22 | 22 |
| 23 | 23 | String[] paths = | 24 | 24 | { | 25 | | - "org/apache/maven/its/deploy/tpjwop/test/maven-metadata.xml", | 26 | | - "org/apache/maven/its/deploy/tpjwop/test/1.0/test-1.0.jar", | | 25 | + "org/apache/maven/its/deploy/tpjwop2/test/maven-metadata.xml", | | 26 | + "org/apache/maven/its/deploy/tpjwop2/test/1.0/test-1.0.jar", | 27 | 27 | }; | 28 | 28 |
| 29 | 29 | for ( String path : paths ) | @@ -38,7 +38,7 @@ for ( String path : paths ) | 38 | 38 |
| 39 | 39 | String[] missing = | 40 | 40 | { | 41 | | - "org/apache/maven/its/deploy/tpjwop/test/1.0/test-1.0.pom", | | 41 | + "org/apache/maven/its/deploy/tpjwop2/test/1.0/test-1.0.pom", | 42 | 42 | }; | 43 | 43 |
| 44 | 44 | for ( String path : missing ) | |
Collapse file Copy file name to clipboard +18Lines changed: 18 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# Licensed to the Apache Software Foundation (ASF) under one | | 2 | +# or more contributor license agreements. See the NOTICE file | | 3 | +# distributed with this work for additional information | | 4 | +# regarding copyright ownership. The ASF licenses this file | | 5 | +# to you under the Apache License, Version 2.0 (the | | 6 | +# "License"); you may not use this file except in compliance | | 7 | +# with the License. You may obtain a copy of the License at | | 8 | +# | | 9 | +# http://www.apache.org/licenses/LICENSE-2.0 | | 10 | +# | | 11 | +# Unless required by applicable law or agreed to in writing, | | 12 | +# software distributed under the License is distributed on an | | 13 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | | 14 | +# KIND, either express or implied. See the License for the | | 15 | +# specific language governing permissions and limitations | | 16 | +# under the License. | | 17 | + | | 18 | +invoker.goals = clean jar:jar deploy:deploy |
|