Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FA481008E for ; Fri, 28 Jun 2013 14:12:42 +0000 (UTC) Received: (qmail 81353 invoked by uid 500); 28 Jun 2013 14:12:40 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 81232 invoked by uid 500); 28 Jun 2013 14:12:40 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 81218 invoked by uid 99); 28 Jun 2013 14:12:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 14:12:39 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of laredotornado@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 14:12:34 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UsZOz-0003Ak-O4 for users@maven.apache.org; Fri, 28 Jun 2013 07:11:54 -0700 Date: Fri, 28 Jun 2013 07:11:53 -0700 (PDT) From: laredotornado-3 To: users@maven.apache.org Message-ID: <1372428713520-5761093.post@n5.nabble.com> Subject: Having trouble using Maven release plugin to deploy artifact to a dav repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm using Maven 3.0.3 with SVN 1.7. I'm trying to use the Maven release plugin to deploy my artifact, but I repeatedly run into the error, "No connector available to access repository" when running =09mvn -e release:prepare release:perform I have included the connector in my pom, adding to my confusion. HEre is the pom.xml file =E2=80=A6 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBegin pom.xm= l file =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =094.0.0 =09org.mainco.subco =09test =091.3-SNAPSHOT =09test =09http://maven.apache.org =09 =09=09UTF-8 =09 =09 =09=09 =09=09=09junit =09=09=09junit =09=09=093.8.1 =09=09=09test =09=09 =09 =09 =09=09 =09=09=09 =09=09=09=09org.apache.maven.wagon =09=09=09=09wagon-webdav-jackrabbit =09=09=09=091.0-beta-7 =09=09=09 =09=09 =09 =09 =09 scm:svn:https://subversion.nextdomain/svn/subco-digital.coderep= o/trunk/test =09 =09 =09=09 =09=09=09cloudbees-private-repository =09=09=09dav:https://repository-vendor.forge.repovendor/release/ =09=09 =09 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEnd po= m.xml file =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Here is the complete log =E2=80=A6 davea$ mvn -e release:prepare release:perform [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] = =20 [INFO] ------------------------------------------------------------------------ [INFO] Building test 1.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO]=20 [INFO] --- maven-release-plugin:2.0:prepare (default-cli) @ test --- ^@^CDaves-MacBook-Pro:test davea$ mvn release:prepare release:perform [INFO] Scanning for projects... [INFO] = =20 [INFO] ------------------------------------------------------------------------ [INFO] Building test 1.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO]=20 [INFO] --- maven-release-plugin:2.0:prepare (default-cli) @ test --- [INFO] Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=3Dfalse flag [INFO]=20 [INFO] --- maven-release-plugin:2.0:perform (default-cli) @ test --- [INFO] Checking out the project to perform the release ... [INFO] Executing: /bin/sh -c cd /Users/davea/Dropbox/workspace/test/target && svn --non-interactive checkout https://subversion.nextdomain/svn/subco-digital.coderepo/tags/test-1.2 /Users/davea/Dropbox/workspace/test/target/checkout [INFO] Working directory: /Users/davea/Dropbox/workspace/test/target [INFO] Executing goals 'deploy'... [WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance. [INFO] [INFO] Scanning for projects... [INFO] [WARNING]=20 [INFO] [WARNING] Some problems were encountered while building the effectiv= e model for org.mainco.subco:test:jar:1.2 [INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. [INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. [INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. [INFO] [WARNING]=20 [INFO] [WARNING] It is highly recommended to fix these problems because the= y threaten the stability of your build. [INFO] [WARNING]=20 [INFO] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [INFO] [WARNING]=20 [INFO] [INFO] = =20 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Building test 1.2 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO]=20 [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) = @ test --- [INFO] [debug] execute contextualize [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] [INFO] skip non existing resourceDirectory /Users/davea/Dropbox/workspace/test/target/checkout/src/main/resources [INFO] [INFO]=20 [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ test --- [INFO] [INFO] Compiling 1 source file to /Users/davea/Dropbox/workspace/test/target/checkout/target/classes [INFO] [INFO]=20 [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ test --- [INFO] [debug] execute contextualize [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] [INFO] skip non existing resourceDirectory /Users/davea/Dropbox/workspace/test/target/checkout/src/test/resources [INFO] [INFO]=20 [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ test --- [INFO] [INFO] Compiling 1 source file to /Users/davea/Dropbox/workspace/test/target/checkout/target/test-classes [INFO] [INFO]=20 [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ test --- [INFO] [INFO] Surefire report directory: /Users/davea/Dropbox/workspace/test/target/checkout/target/surefire-reports [INFO]=20 [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.mainco.subco.AppTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec [INFO]=20 [INFO] Results : [INFO]=20 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO]=20 [INFO] [INFO]=20 [INFO] [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ test --- [INFO] [INFO] Building jar: /Users/davea/Dropbox/workspace/test/target/checkout/target/test-1.2.jar [INFO] [INFO]=20 [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ test >>> [INFO] [INFO]=20 [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ test <<< [INFO] [INFO]=20 [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ test --- [INFO] [INFO] Building jar: /Users/davea/Dropbox/workspace/test/target/checkout/target/test-1.2-sources= .jar [INFO] [INFO]=20 [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ test --- [INFO] [INFO]=20 [INFO] Loading source files for package org.mainco.subco... [INFO] Constructing Javadoc information... [INFO] Standard Doclet version 1.6.0_51 [INFO] Building tree for all the packages and classes... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/org/main= co/subco//App.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/org/main= co/subco//package-frame.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/org/main= co/subco//package-summary.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/org/main= co/subco//package-tree.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/constant= -values.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/org/main= co/subco//class-use/App.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/org/main= co/subco//package-use.html... [INFO] Building index for all the packages and classes... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/overview= -tree.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/index-al= l.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/deprecat= ed-list.html... [INFO] Building index for all classes... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/allclass= es-frame.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/allclass= es-noframe.html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/index.ht= ml... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/help-doc= .html... [INFO] Generating /Users/davea/Dropbox/workspace/test/target/checkout/target/apidocs/styleshe= et.css... [INFO] [INFO] Building jar: /Users/davea/Dropbox/workspace/test/target/checkout/target/test-1.2-javadoc= .jar [INFO] [INFO]=20 [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ test --- [INFO] [INFO] Installing /Users/davea/Dropbox/workspace/test/target/checkout/target/test-1.2.jar to /Users/davea/.m2/repository/org/mainco/subco/test/1.2/test-1.2.jar [INFO] [INFO] Installing /Users/davea/Dropbox/workspace/test/target/checkout/pom.xml to /Users/davea/.m2/repository/org/mainco/subco/test/1.2/test-1.2.pom [INFO] [INFO] Installing /Users/davea/Dropbox/workspace/test/target/checkout/target/test-1.2-sources= .jar to /Users/davea/.m2/repository/org/mainco/subco/test/1.2/test-1.2-sources.jar [INFO] [INFO] Installing /Users/davea/Dropbox/workspace/test/target/checkout/target/test-1.2-javadoc= .jar to /Users/davea/.m2/repository/org/mainco/subco/test/1.2/test-1.2-javadoc.jar [INFO] [INFO]=20 [INFO] [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ test --= - [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] BUILD FAILURE [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 4.507s [INFO] [INFO] Finished at: Fri Jun 28 09:03:05 CDT 2013 [INFO] [INFO] Final Memory: 14M/81M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project test: Failed to deploy artifacts/metadata: No connector available t= o access repository cloudbees-private-repository (dav:https://repository-vendor.forge.repovendor/release/) of type default using the available factories WagonRepositoryConnectorFactory -> [Help 1] [INFO] [ERROR]=20 [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR]=20 [INFO] [ERROR] For more information about the errors and possible solutions= , please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.339s [INFO] Finished at: Fri Jun 28 09:03:05 CDT 2013 [INFO] Final Memory: 6M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:perform (default-cli) on project test: Maven execution failed, exit code: '1' -> [Help 1] [ERROR]=20 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]=20 [ERROR] For more information about the errors and possible solutions, pleas= e read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException -- View this message in context: http://maven.40175.n5.nabble.com/Having-troub= le-using-Maven-release-plugin-to-deploy-artifact-to-a-dav-repo-tp5761093.ht= ml Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org