After a whole day spent in making the configuration working for release,
I've finally been able to issue a decent "mvn release:prepare" that
resulted in [1] and in the attached release.properties.
Unfortunately, when issuing "mvn release:perform" I got
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy)
on project syncope: Failed to deploy artifacts: Could not transfer
artifact org.apache.syncope:syncope:pom:1.0.0-RC1-incubating from/to
apache.releases.https
(https://repository.apache.org/service/local/staging/deploy/maven2):
Failed to transfer file:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/syncope/syncope/1.0.0-RC1-incubating/syncope-1.0.0-RC1-incubating.pom.
Return code is: 401, ReasonPhrase:Unauthorized. -> [Help 1]
Can I ask mentors to see if my username needs to be manually added
somewhere for staging repository, like as Jukka Zitting did yesterday
for Nexus?
TIA.
Have a nice week-end.
Regards.
[1]
https://svn.apache.org/repos/asf/incubator/syncope/tags/syncope-1.0.0-RC1-incubating/
On 20/04/2012 14:31, Simone Tripodi wrote:
> Hi all,
>
> Something came in mind: instead of continue getting hurt by the mvn
> release-plugin, can't you switch over to a manual procedure?
> what I suggest:
>
> * increase the version number in poms on /trunk, via MOJO's
> release-plugin <http://mojo.codehaus.org/versions-maven-plugin/>
> * tag the code;
> * increase the SNAPSHOT version number in poms on /trunk
> * checkout the tag;
> * deploy the site - pay attention on activating the gpg signatures
>
> That is what the release plugin does! Then close the staging repo only
> on Nexus and etc etc etc.
>
>
> Thoughts?
> all the best,
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
>
> On Fri, Apr 20, 2012 at 11:58 AM, Emmanuel Lécharny <[email protected]>
> wrote:
>> Le 4/20/12 11:32 AM, Francesco Chicchiriccò a écrit :
>>
>>> On 20/04/2012 11:27, Emmanuel Lécharny wrote:
>>>> Hi guys,
>>>>
>>>> just to express my sympathy to Francesco who is fighting with Maven
>>>> while releasing :)
>>> Thanks Emmanuel!!
>>> It seems I am encountering http://jira.codehaus.org/browse/MRELEASE-679
>>> I'll try to avoid pointless commits, for what possible...
>> Hey, don't worry too much. Anyway, this is the best possible way to get your
>> total commit number very high. Release managers are some of the top
>> committers at The ASF for this reason ;)
--
Francesco Chicchiriccò
Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/
#release configuration
#Fri Apr 20 17:51:02 CEST 2012
project.scm.org.apache.syncope\:syncope.tag=HEAD
completedPhase=end-release
project.rel.org.apache.syncope\:syncope-console=1.0.0-RC1-incubating
project.scm.org.apache.syncope\:syncope-root.url=http\://svn.apache.org/viewvc/incubator/syncope/trunk
project.dev.org.apache.syncope\:syncope-root=1.0.0-incubating-SNAPSHOT
project.scm.org.apache.syncope\:syncope-archetype.connection=scm\:svn\:http\://svn.apache.org/repos/asf/incubator/syncope/trunk/archetype
project.dev.org.apache.syncope\:syncope-core=1.0.0-incubating-SNAPSHOT
project.scm.org.apache.syncope\:syncope-core.empty=true
project.scm.org.apache.syncope\:syncope-client.empty=true
project.dev.org.apache.syncope\:syncope-build-tools=1.0.0-incubating-SNAPSHOT
exec.additionalArguments=-Papache-release -P apache-release
exec.snapshotReleasePluginAllowed=false
project.rel.org.apache.syncope\:syncope-root=1.0.0-RC1-incubating
project.rel.org.apache.syncope\:syncope-archetype=1.0.0-RC1-incubating
project.rel.org.apache.syncope\:syncope-core=1.0.0-RC1-incubating
project.dev.org.apache.syncope\:syncope-quality=1.0.0-incubating-SNAPSHOT
scm.tag=syncope-1.0.0-RC1-incubating
project.dev.org.apache.syncope\:syncope=1.0.0-incubating-SNAPSHOT
project.scm.org.apache.syncope\:syncope.url=http\://svn.apache.org/viewvc/incubator/syncope/trunk/parent
project.dev.org.apache.syncope\:syncope-client=1.0.0-incubating-SNAPSHOT
project.rel.org.apache.syncope\:syncope=1.0.0-RC1-incubating
project.rel.org.apache.syncope\:syncope-hibernate-enhancer=1.0.0-RC1-incubating
project.scm.org.apache.syncope\:syncope-archetype.tag=HEAD
remoteTagging=true
scm.url=scm\:svn\:https\://svn.apache.org/repos/asf/incubator/syncope/trunk
project.dev.org.apache.syncope\:syncope-console=1.0.0-incubating-SNAPSHOT
scm.commentPrefix=[maven-release-plugin]
project.scm.org.apache.syncope\:syncope.developerConnection=scm\:svn\:https\://svn.apache.org/repos/asf/incubator/syncope/trunk/parent
project.scm.org.apache.syncope\:syncope-build-tools.empty=true
project.scm.org.apache.syncope\:syncope.connection=scm\:svn\:http\://svn.apache.org/repos/asf/incubator/syncope/trunk/parent
project.rel.org.apache.syncope\:syncope-build-tools=1.0.0-RC1-incubating
project.dev.org.apache.syncope\:syncope-archetype=1.0.0-incubating-SNAPSHOT
pushChanges=true
project.rel.org.apache.syncope\:syncope-client=1.0.0-RC1-incubating
project.rel.org.apache.syncope\:syncope-quality=1.0.0-RC1-incubating
project.scm.org.apache.syncope\:syncope-root.connection=scm\:svn\:http\://svn.apache.org/repos/asf/incubator/syncope/trunk
project.scm.org.apache.syncope\:syncope-root.tag=HEAD
project.scm.org.apache.syncope\:syncope-archetype.url=http\://svn.apache.org/repos/asf/incubator/syncope/trunk/archetype
project.scm.org.apache.syncope\:syncope-archetype.developerConnection=scm\:svn\:https\://svn.apache.org/repos/asf/incubator/syncope/trunk/archetype
project.scm.org.apache.syncope\:syncope-console.empty=true
preparationGoals=clean verify
project.scm.org.apache.syncope\:syncope-root.developerConnection=scm\:svn\:https\://svn.apache.org/repos/asf/incubator/syncope/trunk
project.scm.org.apache.syncope\:syncope-quality.empty=true
project.scm.org.apache.syncope\:syncope-hibernate-enhancer.empty=true
scm.tagNameFormat=@{project.artifactId}-@{project.version}
project.dev.org.apache.syncope\:syncope-hibernate-enhancer=1.0.0-incubating-SNAPSHOT