GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [MDEPLOY-319] Cleanup of test code · apache/maven-deploy-plugin@ac740a7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • it
      • 3rd-party-jar-with-extras
        • pom.xml
        • setup.groovy
        • test.properties
        • verify.bsh
      • 3rd-party-jar-without-pom
        • pom.xml
        • setup.bsh
        • setup.groovy
        • test.properties
        • verify.bsh
      • MDEPLOY-318-invalid-pom
        • invoker.properties
        • pom.xml
      • alt-deploy-repo-with-dist-mgmt-snapshot
        • setup.bsh
        • setup.groovy
      • alt-deploy-repo-with-dist-mgmt
        • setup.bsh
        • setup.groovy
      • alt-deploy-repo-without-dist-mgmt
        • setup.bsh
        • setup.groovy
      • attach-release-jar
        • setup.bsh
        • setup.groovy
      • deploy-bom
        • invoker.properties
        • pom.xml
        • setup.groovy
        • verify.groovy
      • external-release-jar
        • setup.bsh
        • setup.groovy
      • gav-validation
        • setup.bsh
        • setup.groovy
      • mdeploy-45-test
        • setup.groovy
      • no-main-artifact-1
        • setup.bsh
        • setup.groovy
      • no-main-artifact-2
        • setup.bsh
        • setup.groovy
      • non-default-pom
        • setup.bsh
        • setup.groovy
      • offline
        • setup.bsh
        • setup.groovy
      • release-jar
        • setup.bsh
        • setup.groovy
      • release-pom
        • setup.bsh
        • setup.groovy
      • skip-release-jar
        • setup.bsh
        • setup.groovy
      • skip-snapshot-jar
        • setup.bsh
        • setup.groovy
      • skip
        • setup.groovy
      • snapshot-jar
        • setup.bsh
        • setup.groovy
      • snapshot-pom
        • setup.bsh
        • setup.groovy
    • test/java/org/apache/maven/plugins/deploy
      • DeployFileMojoTest.java
      • DeployMojoTest.java

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/it/3rd-party-jar-with-extras/pom.xml‎

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 numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ under the License.
2222
<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">
2323
<modelVersion>4.0.0</modelVersion>
2424

25-
<groupId>org.apache.maven.its.deploy.tpjwop</groupId>
25+
<groupId>org.apache.maven.its.deploy.tpjwop1</groupId>
2626
<artifactId>test</artifactId>
2727
<version>1.0</version>
2828
<packaging>jar</packaging>
Collapse file

‎src/it/skip/setup.bsh‎ ‎…t/3rd-party-jar-with-extras/setup.groovy‎src/it/skip/setup.bsh renamed to src/it/3rd-party-jar-with-extras/setup.groovy src/it/skip/setup.bsh renamed to src/it/3rd-party-jar-with-extras/setup.groovy

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 numberDiff line numberDiff line change
@@ -17,13 +17,4 @@
1717
* under the License.
1818
*/
1919

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

‎src/it/3rd-party-jar-with-extras/test.properties‎

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 numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
file = test-0.1.jar
1919
url = file:target/repo
20-
groupId = org.apache.maven.its.deploy.tpjwop
20+
groupId = org.apache.maven.its.deploy.tpjwop1
2121
artifactId = test
2222
version = 1.0
2323
packaging = jar
Collapse file

‎src/it/3rd-party-jar-with-extras/verify.bsh‎

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 numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import java.util.*;
2222

2323
String[] paths =
2424
{
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",
3030
};
3131

3232
for ( String path : paths )
@@ -41,7 +41,7 @@ for ( String path : paths )
4141

4242
String[] missing =
4343
{
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",
4545
};
4646

4747
for ( String path : missing )
Collapse file

‎src/it/3rd-party-jar-without-pom/pom.xml‎

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 numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ under the License.
2222
<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">
2323
<modelVersion>4.0.0</modelVersion>
2424

25-
<groupId>org.apache.maven.its.deploy.tpjwop</groupId>
25+
<groupId>org.apache.maven.its.deploy.tpjwop2</groupId>
2626
<artifactId>test</artifactId>
2727
<version>1.0</version>
2828
<packaging>jar</packaging>
Collapse file

‎src/it/3rd-party-jar-without-pom/setup.bsh‎

Copy file name to clipboardExpand all lines: src/it/3rd-party-jar-without-pom/setup.bsh
-33Lines changed: 0 additions & 33 deletions
This file was deleted.
Collapse file

‎src/it/mdeploy-45-test/setup.bsh‎ ‎…t/3rd-party-jar-without-pom/setup.groovy‎src/it/mdeploy-45-test/setup.bsh renamed to src/it/3rd-party-jar-without-pom/setup.groovy src/it/mdeploy-45-test/setup.bsh renamed to src/it/3rd-party-jar-without-pom/setup.groovy

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 numberDiff line numberDiff line change
@@ -17,17 +17,4 @@
1717
* under the License.
1818
*/
1919

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

‎src/it/3rd-party-jar-without-pom/test.properties‎

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 numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
file = test-0.1.jar
1919
url = file:target/repo
20-
groupId = org.apache.maven.its.deploy.tpjwop
20+
groupId = org.apache.maven.its.deploy.tpjwop2
2121
artifactId = test
2222
version = 1.0
2323
packaging = jar
Collapse file

‎src/it/3rd-party-jar-without-pom/verify.bsh‎

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 numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import java.util.*;
2222

2323
String[] paths =
2424
{
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",
2727
};
2828

2929
for ( String path : paths )
@@ -38,7 +38,7 @@ for ( String path : paths )
3838

3939
String[] missing =
4040
{
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",
4242
};
4343

4444
for ( String path : missing )
Collapse file

‎src/it/MDEPLOY-318-invalid-pom/invoker.properties‎

Copy file name to clipboard
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.