Re: Forbidden Snapshot deployment on repository.apache.org
Lukasz Lenart <[email protected]> Tue, 2 Dec 2014 09:24:34 +0100
| Newsgroups | gmane.comp.jakarta.repository |
|---|---|
| Message-ID | <CAMopvkMt8CGPr6W-ap1Yma39byBaiGS1tnr1Ct_wESx7Qp8vew@mail.gmail.com> |
Leave it to Jenkins (if you use it), your build should just perform 'mvn install' and add Post-build Action: 'Deploy Artifacts to Maven Repository' with params: - Repository URL =3D https://repository.apache.org/content/repositories/sna= pshots - Repository ID =3D apache.snapshots.https - uncheck 'Assign unique versions to snapshots' Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014-12-02 9:07 GMT+01:00 Maurizio Pillitu <[email protected]>: > Hi, > > I'm in the process of configuring Apache ManifoldCF to deploy/release > artifacts (using Apache Maven) in repository.apache.org. > > Unfortunately I get the following exception when trying to run "mvn deplo= y" > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy= ) > on project mcf-parent: Failed to deploy artifacts: Could not transfer > artifact org.apache.manifoldcf:mcf-parent:pom:2.0-20141202.080304-1 from/= to > apache.snapshots.https > (https://repository.apache.org/content/repositories/snapshots): Access > denied to: > https://repository.apache.org/content/repositories/snapshots/org/apache/m= anifoldcf/mcf-parent/2.0-SNAPSHOT/mcf-parent-2.0-20141202.080304-1.pom, > ReasonPhrase: Forbidden. > > Maven configuration can be found at > http://svn.apache.org/repos/asf/manifoldcf/trunk/pom.xml > > Is there anything wrong with our configuration? > > Thanks, > mao