Re: Forbidden Snapshot deployment on repository.apache.org
sebb <[email protected]> Tue, 2 Dec 2014 15:50:51 +0000
| Newsgroups | gmane.comp.jakarta.repository |
|---|---|
| Message-ID | <CAOGo0VZDzFfjTFtZqmVmFf1kd6e-vUXQOp=ozRXavwDzAHtycg@mail.gmail.com> |
On 2 December 2014 at 12:29, Karl Wright <[email protected]> wrote: > Hi Lukasz, > > ManifoldCF has a rather complicated build infrastructure already, support= ing > both ant and maven builds, but we currently do not have a way of deliveri= ng > our maven-built artifacts to the central repo upon release. We've been > trying to get this to work using instructions such as this: > > http://www.apache.org/dev/publishing-maven-artifacts.html#dev-env > > Your suggestion to use Jenkins would be fine but it does not appear to al= low > signing of artifacts Signing is supposed to be done by the release manager, not a bot. In any case, SNAPSHOTs don't need to be signed, and releases must be voted on before publication. > , or use of an alternate profile (we have to use -P > apache-mcf-release because otherwise we get a 1GB source file, for > instance). I'm pretty sure Jenkins will allow a profile to be specified. However, if the default release profile is unsuitable, then it would be better to fix this in the project poms. > How would you recommend that we proceed? > Thanks, > Karl > > > > On Tue, Dec 2, 2014 at 3:24 AM, Lukasz Lenart <[email protected]> > wrote: >> >> 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/snapshots >> - Repository ID =3D apache.snapshots.https >> - uncheck 'Assign unique versions to snapshots' >> >> >> Regards >> -- >> =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 >> > deploy" >> > >> > [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/apach= e/manifoldcf/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 > >