You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by helt <he...@outlook.com> on 2016/03/03 10:51:05 UTC
uimafit custom artifactory deployment
Hi,
maybe my question is offtopic, but as I face the problem while working on
uimafit, I dare to ask:
"maven deploy" fails due to
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy)
on project uimafit-parent: Failed to deploy artifacts: Could not transfer
artifact org.apache.uima:uimafit-parent:pom:2.2.0-20160303.094822-64 from/to
apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots): Failed to
transfer file:
https://repository.apache.org/content/repositories/snapshots/org/apache/uima
/uimafit-parent/2.2.0-SNAPSHOT/uimafit-parent-2.2.0-20160303.094822-64.pom.
Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
Any clues why this happens? Or more precisely how to deactivate the apache
repository and use my own instead? I tried adding a new profile to the root
pom.xml but no effect. Do I have to add a profile to every single pom.xml?
best,
helt
RE: uimafit custom artifactory deployment
Posted by helt <he...@outlook.com>.
thanks a lot. That did the trick...
-----Original Message-----
From: Richard Eckart de Castilho [mailto:rec@apache.org]
Sent: Thursday, March 3, 2016 10:56
To: user@uima.apache.org
Subject: Re: uimafit custom artifactory deployment
You should be able to override the deploy target on the command line:
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
If you are using e.g. Jenkins, you can tell Jenkins the location of your
alternate repository.
Changing the poms should not be necessary.
Cheers,
-- Richard
> On 03.03.2016, at 10:51, helt <he...@outlook.com> wrote:
>
> Hi,
>
>
>
> maybe my question is offtopic, but as I face the problem while working
> on uimafit, I dare to ask:
>
>
>
> "maven deploy" fails due to
>
>
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy
> (default-deploy) on project uimafit-parent: Failed to deploy
> artifacts: Could not transfer artifact
> org.apache.uima:uimafit-parent:pom:2.2.0-20160303.094822-64 from/to
> apache.snapshots.https
> (https://repository.apache.org/content/repositories/snapshots): Failed
> to transfer file:
> https://repository.apache.org/content/repositories/snapshots/org/apach
> e/uima
>
/uimafit-parent/2.2.0-SNAPSHOT/uimafit-parent-2.2.0-20160303.094822-64.pom.
> Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
>
>
>
> Any clues why this happens? Or more precisely how to deactivate the
> apache repository and use my own instead? I tried adding a new profile
> to the root pom.xml but no effect. Do I have to add a profile to every
single pom.xml?
>
>
>
> best,
>
> helt
Re: uimafit custom artifactory deployment
Posted by Richard Eckart de Castilho <re...@apache.org>.
You should be able to override the deploy target on the command line:
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
If you are using e.g. Jenkins, you can tell Jenkins the location of your alternate repository.
Changing the poms should not be necessary.
Cheers,
-- Richard
> On 03.03.2016, at 10:51, helt <he...@outlook.com> wrote:
>
> Hi,
>
>
>
> maybe my question is offtopic, but as I face the problem while working on
> uimafit, I dare to ask:
>
>
>
> "maven deploy" fails due to
>
>
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy)
> on project uimafit-parent: Failed to deploy artifacts: Could not transfer
> artifact org.apache.uima:uimafit-parent:pom:2.2.0-20160303.094822-64 from/to
> apache.snapshots.https
> (https://repository.apache.org/content/repositories/snapshots): Failed to
> transfer file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/uima
> /uimafit-parent/2.2.0-SNAPSHOT/uimafit-parent-2.2.0-20160303.094822-64.pom.
> Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
>
>
>
> Any clues why this happens? Or more precisely how to deactivate the apache
> repository and use my own instead? I tried adding a new profile to the root
> pom.xml but no effect. Do I have to add a profile to every single pom.xml?
>
>
>
> best,
>
> helt