maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rosenvold <kristian.rosenv...@gmail.com>
Subject Re: Fixed: Unable to upload release artifacts to Apache's nexus
Date Fri, 01 Nov 2013 13:52:45 GMT
I agree totally that the focus of the output on error is just so
/wrong/. Do we know if anyone actually depends on the order/format of
these things ?

Kristian


2013/11/1 Martijn Dashorst <martijn.dashorst@gmail.com>:
> My biggest gripes with Maven in this situation are two fold:
>
> 1. an error message that can be much more descriptive as the exception
> appears to be SSLPeerUnverifiedException. The message that is logged
> by Maven:
>
> [INFO] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy
> (default-deploy) on project wicket-parent: Failed to deploy artifacts:
> Could not transfer artifact org.apache.wicket:wicket-parent:pom:6.12.0
> from/to apache.releases.https
> (https://repository.apache.org/service/local/staging/deploy/maven2):
> peer not authenticated -> [Help 1]
>
> does not convey this information. Information has been lost!
>
> 2. The excessive logging generated by Maven obscures the actual
> message, making it hard to find what exactly went wrong. Maven should
> *end* the log with the exception message (possibly including the type
> of the exception). See the following log vomit and try to discern what
> went wrong and how to fix it:
>
>
> [INFO] [INFO] --- maven-site-plugin:3.1:attach-descriptor
> (attach-descriptor) @ wicket-parent ---
> [INFO] [INFO]
> [INFO] [INFO] --- maven-gpg-plugin:1.4:sign (default) @ wicket-parent ---
> [INFO] [INFO]
> [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install)
> @ wicket-parent ---
> [INFO] [INFO] Installing
> /Workspaces/wicket/wicket-6.x/wicket/target/checkout/pom.xml to
> /Users/dashorst/.m2.wicket/repository/org/apache/wicket/wicket-parent/6.12.0/wicket-parent-6.12.0.pom
> [INFO] [INFO] Installing
> /Workspaces/wicket/wicket-6.x/wicket/target/checkout/target/wicket-parent-6.12.0-source-release.zip
> to /Users/dashorst/.m2.wicket/repository/org/apache/wicket/wicket-parent/6.12.0/wicket-parent-6.12.0-source-release.zip
> [INFO] [INFO] Installing
> /Workspaces/wicket/wicket-6.x/wicket/target/checkout/target/wicket-parent-6.12.0.pom.asc
> to /Users/dashorst/.m2.wicket/repository/org/apache/wicket/wicket-parent/6.12.0/wicket-parent-6.12.0.pom.asc
> [INFO] [INFO] Installing
> /Workspaces/wicket/wicket-6.x/wicket/target/checkout/target/wicket-parent-6.12.0-source-release.zip.asc
> to /Users/dashorst/.m2.wicket/repository/org/apache/wicket/wicket-parent/6.12.0/wicket-parent-6.12.0-source-release.zip.asc
> [INFO] [INFO]
> [INFO] [INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ wicket-parent ---
> [INFO] [INFO]
> [INFO] [INFO] --- maven-deploy-plugin:2.6:deploy (default-deploy) @
> wicket-parent ---
> [INFO] Uploading:
> https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/wicket/wicket-parent/6.12.0/wicket-parent-6.12.0.pom
> [INFO]
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Reactor Summary:
> [INFO] [INFO]
> [INFO] [INFO] Wicket Parent .....................................
> FAILURE [14.694s]
> [INFO] [INFO] Wicket Util ....................................... SKIPPED
> [INFO] [INFO] Wicket Request .................................... SKIPPED
> [INFO] [INFO] Wicket Core ....................................... SKIPPED
> [INFO] [INFO] Wicket ............................................ SKIPPED
> [INFO] [INFO] Wicket Date/Time .................................. SKIPPED
> [INFO] [INFO] Wicket Extensions ................................. SKIPPED
> [INFO] [INFO] Wicket Development Utilities ...................... SKIPPED
> [INFO] [INFO] Wicket IoC common code ............................ SKIPPED
> [INFO] [INFO] Wicket CDI Integration ............................ SKIPPED
> [INFO] [INFO] Wicket Spring Integration ......................... SKIPPED
> [INFO] [INFO] Wicket Velocity ................................... SKIPPED
> [INFO] [INFO] Wicket Auth Roles ................................. SKIPPED
> [INFO] [INFO] Wicket Guice Integration .......................... SKIPPED
> [INFO] [INFO] Wicket JMX ........................................ SKIPPED
> [INFO] [INFO] Wicket Objects Sizeof Agent ....................... SKIPPED
> [INFO] [INFO] Wicket-Experimental ............................... SKIPPED
> [INFO] [INFO] Wicket-Atmosphere ................................. SKIPPED
> [INFO] [INFO] Wicket Bean Validation ............................ SKIPPED
> [INFO] [INFO] Wicket Examples ................................... SKIPPED
> [INFO] [INFO] Wicket Native WebSocket Parent .................... SKIPPED
> [INFO] [INFO] Wicket Native WebSocket Core ...................... SKIPPED
> [INFO] [INFO] Wicket Native WebSocket Jetty ..................... SKIPPED
> [INFO] [INFO] Wicket Native WebSocket Jetty 9 ................... SKIPPED
> [INFO] [INFO] Wicket Native WebSocket Tomcat 7.x ................ SKIPPED
> [INFO] [INFO] Wicket Bootstrap .................................. SKIPPED
> [INFO] [INFO] Wicket Examples Parent ............................ SKIPPED
> [INFO] [INFO] Wicket Examples Jar ............................... SKIPPED
> [INFO] [INFO] Wicket Examples War ............................... SKIPPED
> [INFO] [INFO] Wicket Quickstart Archetype ....................... SKIPPED
> [INFO] [INFO] Wicket Common Tests ............................... SKIPPED
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 15.704s
> [INFO] [INFO] Finished at: Fri Nov 01 11:19:50 CET 2013
> [INFO] [INFO] Final Memory: 24M/81M
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy
> (default-deploy) on project wicket-parent: Failed to deploy artifacts:
> Could not transfer artifact org.apache.wicket:wicket-parent:pom:6.12.0
> from/to apache.releases.https
> (https://repository.apache.org/service/local/staging/deploy/maven2):
> peer not authenticated -> [Help 1]
> [INFO] [ERROR]
> [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]
> [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] Reactor Summary:
> [INFO]
> [INFO] Wicket Parent ..................................... FAILURE [44.545s]
> [INFO] Wicket Util ....................................... SKIPPED
> [INFO] Wicket Request .................................... SKIPPED
> [INFO] Wicket Core ....................................... SKIPPED
> [INFO] Wicket ............................................ SKIPPED
> [INFO] Wicket Date/Time .................................. SKIPPED
> [INFO] Wicket Extensions ................................. SKIPPED
> [INFO] Wicket Development Utilities ...................... SKIPPED
> [INFO] Wicket IoC common code ............................ SKIPPED
> [INFO] Wicket CDI Integration ............................ SKIPPED
> [INFO] Wicket Spring Integration ......................... SKIPPED
> [INFO] Wicket Velocity ................................... SKIPPED
> [INFO] Wicket Auth Roles ................................. SKIPPED
> [INFO] Wicket Guice Integration .......................... SKIPPED
> [INFO] Wicket JMX ........................................ SKIPPED
> [INFO] Wicket Objects Sizeof Agent ....................... SKIPPED
> [INFO] Wicket-Experimental ............................... SKIPPED
> [INFO] Wicket-Atmosphere ................................. SKIPPED
> [INFO] Wicket Bean Validation ............................ SKIPPED
> [INFO] Wicket Examples ................................... SKIPPED
> [INFO] Wicket Native WebSocket Parent .................... SKIPPED
> [INFO] Wicket Native WebSocket Core ...................... SKIPPED
> [INFO] Wicket Native WebSocket Jetty ..................... SKIPPED
> [INFO] Wicket Native WebSocket Jetty 9 ................... SKIPPED
> [INFO] Wicket Native WebSocket Tomcat 7.x ................ SKIPPED
> [INFO] Wicket Bootstrap .................................. SKIPPED
> [INFO] Wicket Examples Parent ............................ SKIPPED
> [INFO] Wicket Examples Jar ............................... SKIPPED
> [INFO] Wicket Examples War ............................... SKIPPED
> [INFO] Wicket Quickstart Archetype ....................... SKIPPED
> [INFO] Wicket Common Tests ............................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 46.252s
> [INFO] Finished at: Fri Nov 01 11:19:51 CET 2013
> [INFO] Final Memory: 17M/81M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-release-plugin:2.3.2:perform
> (default-cli) on project wicket-parent: Maven execution failed, exit
> code: '1' -> [Help 1]
> [ERROR]
> [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]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message