Return-Path: X-Original-To: apmail-maven-commits-archive@www.apache.org Delivered-To: apmail-maven-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8556D8AE for ; Sun, 16 Dec 2012 12:12:57 +0000 (UTC) Received: (qmail 24997 invoked by uid 500); 16 Dec 2012 12:12:57 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 24931 invoked by uid 500); 16 Dec 2012 12:12:57 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 24909 invoked by uid 99); 16 Dec 2012 12:12:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Dec 2012 12:12:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Dec 2012 12:12:53 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B45C02388906; Sun, 16 Dec 2012 12:12:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1422564 - in /maven/plugins/trunk/maven-deploy-plugin/src/test: java/org/apache/maven/plugin/deploy/stubs/ resources/unit/basic-deploy-pom/ resources/unit/basic-deploy-test/ resources/unit/basic-deploy-with-attached-artifacts/ Date: Sun, 16 Dec 2012 12:12:32 -0000 To: commits@maven.apache.org From: rfscholte@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121216121232.B45C02388906@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rfscholte Date: Sun Dec 16 12:12:31 2012 New Revision: 1422564 URL: http://svn.apache.org/viewvc?rev=1422564&view=rev Log: Now tests also succeed under Eclipse Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/stubs/ArtifactRepositoryStub.java maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-pom/plugin-config.xml maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-test/plugin-config.xml maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-with-attached-artifacts/plugin-config.xml Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/stubs/ArtifactRepositoryStub.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/stubs/ArtifactRepositoryStub.java?rev=1422564&r1=1422563&r2=1422564&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/stubs/ArtifactRepositoryStub.java (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/stubs/ArtifactRepositoryStub.java Sun Dec 16 12:12:31 2012 @@ -35,6 +35,8 @@ public class ArtifactRepositoryStub private String url; + private String basedir = System.getProperty( "basedir" ); + public String pathOf( Artifact artifact ) { return getLayout().pathOf( artifact ); @@ -57,12 +59,12 @@ public class ArtifactRepositoryStub public void setAppendToUrl( String dir ) { - this.url = "file://" + System.getProperty( "basedir" ) + "/target/remote-repo/" + dir; + this.url = "file://" + basedir + "/target/remote-repo/" + dir; } public String getBasedir() { - return System.getProperty( "basedir" ); + return basedir; } public String getProtocol() Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-pom/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-pom/plugin-config.xml?rev=1422564&r1=1422563&r2=1422564&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-pom/plugin-config.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-pom/plugin-config.xml Sun Dec 16 12:12:31 2012 @@ -35,7 +35,9 @@ under the License. pom - + + ${basedir} + true Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-test/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-test/plugin-config.xml?rev=1422564&r1=1422563&r2=1422564&view=diff ============================================================================== Binary files - no diff available. Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-with-attached-artifacts/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-with-attached-artifacts/plugin-config.xml?rev=1422564&r1=1422563&r2=1422564&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-with-attached-artifacts/plugin-config.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/basic-deploy-with-attached-artifacts/plugin-config.xml Sun Dec 16 12:12:31 2012 @@ -39,7 +39,9 @@ under the License. - + + ${basedir} + true