thanks a lot. That did the trick... -----Original Message----- From: Richard Eckart de Castilho [mailto:[email protected]] Sent: Thursday, March 3, 2016 10:56 To: [email protected] 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 <[email protected]> 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
