uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From helt <h...@outlook.com>
Subject RE: uimafit custom artifactory deployment
Date Thu, 03 Mar 2016 16:52:58 GMT
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 <helt@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


Mime
View raw message