org.apache.maven.lifecycle.LifecycleExecutionException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Change the in pom.xml to use xml parameters instead of the list.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • SSH difficulties
    via GitHub by mykelalvis
    ,
  • Maven deploy to Nexus repository error
    via by Unknown author,
  • GitHub comment 191#198043143
    via GitHub by vvitayau
    ,
  • Hi, Thanks for setting up my account, Unfortunately, I can't deploy a snapshot: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project jsp-compile-listener: Failed to deploy artifacts: Could not transfer artifact com.github.marcosemiao.tomcat.listener:jsp-compile-listener:jar:1.0.0-20150227.105019-1 from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.jar, ReasonPhrase: Forbidden. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project jsp-compile-listener: Failed to deploy artifacts: Could not transfer artifact com.github.marcosemiao.tomcat.listener:jsp-compile-listener:jar:1.0.0-20150227.105019-1 from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.jar, ReasonPhrase: Forbidden. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) I tried to perform the deployment manually using curl: root@raspberrypi:/tmp# curl -v -u marco.semiao@gmail.com:***** https://oss.sonatype.org/content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.pom --request PUT --data pom.xml -H 'Content-Type: application/xml' About to connect() to oss.sonatype.org port 443 (#0) Trying 207.223.241.93... connected Connected to oss.sonatype.org (207.223.241.93) port 443 (#0) successfully set certificate verify locations: CAfile: none CApath: /etc/ssl/certs SSLv3, TLS handshake, Client hello (1): SSLv3, TLS handshake, Server hello (2): SSLv3, TLS handshake, CERT (11): SSLv3, TLS handshake, Server key exchange (12): SSLv3, TLS handshake, Server finished (14): SSLv3, TLS handshake, Client key exchange (16): SSLv3, TLS change cipher, Client hello (1): SSLv3, TLS handshake, Finished (20): SSLv3, TLS change cipher, Client hello (1): SSLv3, TLS handshake, Finished (20): SSL connection using DHE-RSA-AES256-GCM-SHA384 Server certificate: subject: O=.sonatype.org; OU=Domain Control Validated; CN=.sonatype.org start date: 2012-09-21 00:08:07 GMT expire date: 2015-09-24 18:39:12 GMT subjectAltName: oss.sonatype.org matched issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certificates.godaddy.com/repository; CN=Go Daddy Secure Certification Authority; serialNumber=07969287 SSL certificate verify ok. Server auth using Basic with user 'marco.semiao@gmail.com' > PUT /content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.pom HTTP/1.1 > Authorization: Basic bWFyY28uc2VtaWFvQGdtYWlsLmNvbTptb3Rvcm9sYTkz > User-Agent: curl/7.26.0 > Host: oss.sonatype.org > Accept: / > Content-Type: application/xml > Content-Length: 7 > upload completely sent off: 7 out of 7 bytes additional stuff not fine transfer.c:1037: 0 0 HTTP 1.1 or later with persistent connection, pipelining supported < HTTP/1.1 403 Forbidden < Server: nginx < Date: Fri, 27 Feb 2015 10:58:02 GMT < Content-Length: 0 < Connection: keep-alive < X-Frame-Options: SAMEORIGIN < X-Content-Type-Options: nosniff < Connection #0 to host oss.sonatype.org left intact Closing connection #0 SSLv3, TLS alert, Client hello (1): Thank you for your help. Best Regards
    via by Semiao Marco,
  • Hi, Thanks for setting up my account, Unfortunately, I can't deploy a snapshot: {quote} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project jsp-compile-listener: Failed to deploy artifacts: Could not transfer artifact com.github.marcosemiao.tomcat.listener:jsp-compile-listener:jar:1.0.0-20150227.105019-1 from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.jar, ReasonPhrase: Forbidden. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project jsp-compile-listener: Failed to deploy artifacts: Could not transfer artifact com.github.marcosemiao.tomcat.listener:jsp-compile-listener:jar:1.0.0-20150227.105019-1 from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.jar, ReasonPhrase: Forbidden. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) {quote} I tried to perform the deployment manually using curl: {quote} root@raspberrypi:/tmp# curl -v -u marco.semiao@gmail.com:***** https://oss.sonatype.org/content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.pom --request PUT --data pom.xml -H 'Content-Type: application/xml' About to connect() to oss.sonatype.org port 443 (#0) Trying 207.223.241.93... connected Connected to oss.sonatype.org (207.223.241.93) port 443 (#0) successfully set certificate verify locations: CAfile: none CApath: /etc/ssl/certs SSLv3, TLS handshake, Client hello (1): SSLv3, TLS handshake, Server hello (2): SSLv3, TLS handshake, CERT (11): SSLv3, TLS handshake, Server key exchange (12): SSLv3, TLS handshake, Server finished (14): SSLv3, TLS handshake, Client key exchange (16): SSLv3, TLS change cipher, Client hello (1): SSLv3, TLS handshake, Finished (20): SSLv3, TLS change cipher, Client hello (1): SSLv3, TLS handshake, Finished (20): SSL connection using DHE-RSA-AES256-GCM-SHA384 Server certificate: subject: O=.sonatype.org; OU=Domain Control Validated; CN=.sonatype.org start date: 2012-09-21 00:08:07 GMT expire date: 2015-09-24 18:39:12 GMT subjectAltName: oss.sonatype.org matched issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certificates.godaddy.com/repository; CN=Go Daddy Secure Certification Authority; serialNumber=07969287 SSL certificate verify ok. Server auth using Basic with user 'marco.semiao@gmail.com' > PUT /content/repositories/snapshots/com/github/marcosemiao/tomcat/listener/jsp-compile-listener/1.0.0-SNAPSHOT/jsp-compile-listener-1.0.0-20150227.105019-1.pom HTTP/1.1 > Authorization: Basic bWFyY28uc2VtaWFvQGdtYWlsLmNvbTptb3Rvcm9sYTkz > User-Agent: curl/7.26.0 > Host: oss.sonatype.org > Accept: / > Content-Type: application/xml > Content-Length: 7 > upload completely sent off: 7 out of 7 bytes additional stuff not fine transfer.c:1037: 0 0 HTTP 1.1 or later with persistent connection, pipelining supported < HTTP/1.1 403 Forbidden < Server: nginx < Date: Fri, 27 Feb 2015 10:58:02 GMT < Content-Length: 0 < Connection: keep-alive < X-Frame-Options: SAMEORIGIN < X-Content-Type-Options: nosniff < Connection #0 to host oss.sonatype.org left intact Closing connection #0 SSLv3, TLS alert, Client hello (1): {quote} Thank you for your help. Best Regards
    via by Semiao Marco,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:copy-resources (filter-documentation-source) on project rice: Mark invalid at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    33 more bugmates