Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Failed to deploy artifacts ReasonPhrase: Forbidden(Sending twice br.com.my_company.pdl.language-0.1.3-p2metadata.xml to artifactory repository)
Failed to deploy artifacts ReasonPhrase: Forbidden [message #1742901] Thu, 08 September 2016 13:13 Go to next message
Márcio Koch is currently offline Márcio KochFriend
Messages: 46
Registered: August 2013
Member
Hi guys.
When I execute maven deploy for my parent POM.xml (mvn deploy -X -f pom.xml) for my DSL plug-in, I'm having the bellow error. The error is happening because the file br.com.senior.pdl.language-0.1.3-p2metadata.xml is being sent twice to the artifactory repository. But I don't know why? Thanks for any help.
...
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.my_server.com.br:server_port/artifactory/plugins-release-local
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://maven.my_server.com.br:server_port/artifactory/plugins-release-local with username=my_user_name, password=***
Uploading: http://maven.my_server.com.br:server_port/artifactory/plugins-release-local/br/com/my_server/messaging/pdl/br.com.my_server.pdl.language/0.1.3/br.com.my_server.pdl.language-0.1.3-p2metadata.xml
Uploaded: http://maven.my_server.com.br:server_port/artifactory/plugins-release-local/br/com/my_server/messaging/pdl/br.com.my_server.pdl.language/0.1.3/br.com.my_server.pdl.language-0.1.3-p2metadata.xml (6 KB at 53.3 KB/sec)
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.my_server.com.br:server_port/artifactory/plugins-release-local
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://maven.my_server.com.br:server_port/artifactory/plugins-release-local with username=my_user_name, password=***
Uploading: http://maven.my_server.com.br:server_port/artifactory/plugins-release-local/br/com/my_server/messaging/pdl/br.com.my_server.pdl.language/0.1.3/br.com.my_server.pdl.language-0.1.3-p2artifacts.xml
Uploaded: http://maven.my_server.com.br:server_port/artifactory/plugins-release-local/br/com/my_server/messaging/pdl/br.com.my_server.pdl.language/0.1.3/br.com.my_server.pdl.language-0.1.3-p2artifacts.xml (2 KB at 13.7 KB/sec)
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.my_server.com.br:server_port/artifactory/plugins-release-local
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://maven.my_server.com.br:server_port/artifactory/plugins-release-local with username=my_user_name, password=***
Uploading: http://maven.my_server.com.br:server_port/artifactory/plugins-release-local/br/com/my_server/messaging/pdl/br.com.my_server.pdl.language/0.1.3/br.com.my_server.pdl.language-0.1.3-p2metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] br.com.senior.pdl.parent ........................... SUCCESS [ 3.345 s]
[INFO] br.com.senior.pdl.language.target .................. SUCCESS [ 1.986 s]
[INFO] br.com.senior.pdl.language ......................... FAILURE [01:41 min]
[INFO] br.com.senior.pdl.language.ide ..................... SKIPPED
[INFO] br.com.senior.pdl.language.ui ...................... SKIPPED
[INFO] br.com.senior.pdl.language.ui.tests ................ SKIPPED
[INFO] br.com.senior.pdl.language.tests ................... SKIPPED
[INFO] br.com.senior.pdl.language.feature ................. SKIPPED
[INFO] br.com.senior.pdl.repository ....................... SKIPPED
[INFO] pdl-maven-plugin ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:46 min
[INFO] Finished at: 2016-09-08T08:07:12-03:00
[INFO] Final Memory: 120M/776M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project br.com.senior.pdl.language: Failed to deploy artifacts: Could not transfer artifact br.com.senior.messaging.pdl:br.com.senior.pdl.language:xml:p2metadata:0.1.3 from/to senior-release (http://maven.my_server.com.br:server_port/artifactory/plugins-release-local): Access denied to: http://maven.my_server.com.br:server_port/artifactory/plugins-release-local/br/com/senior/messaging/pdl/br.com.senior.pdl.language/0.1.3/br.com.senior.pdl.language-0.1.3-p2metadata.xml, ReasonPhrase: Forbidden. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project br.com.senior.pdl.language: Failed to deploy artifacts: Could not transfer artifact br.com.senior.messaging.pdl:br.com.senior.pdl.language:xml:p2metadata:0.1.3 from/to senior-release (http://maven.my_server.com.br:server_port/artifactory/plugins-release-local): Access denied to: http://maven.my_server.com.br:server_port/artifactory/plugins-release-local/br/com/senior/messaging/pdl/br.com.senior.pdl.language/0.1.3/br.com.senior.pdl.language-0.1.3-p2metadata.xml, ReasonPhrase: Forbidden.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
...
Re: Failed to deploy artifacts ReasonPhrase: Forbidden [message #1742914 is a reply to message #1742901] Thu, 08 September 2016 14:34 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13880
Registered: July 2009
Senior Member
hi this looks more like a question for the tycho user mailing list

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Xtext project from ecore models
Next Topic:xtext grammar for precision
Goto Forum:
  


Current Time: Tue Apr 13 06:08:04 GMT 2021

Powered by FUDForum. Page generated in 0.02474 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top