Re: Autoamated Releasing with Maven
Hi guys, some updates on the Chemistry release status. We should be clear to deploy in Nexus looking at the status of [1] , so today I'll try to perform a 1.0-SNAPSHOT release from the trunk to the Apache snapshot repository. Any issue with this? When this is working I'd like to start talking a bit of the broader release process (e.g. documentation site, schedule roadmap, versioning, etc.). I'll start a separate thread for it. Will keep you posted, ciao! Gab [1] https://issues.apache.org/jira/browse/INFRA-2284 On Oct 16, 2009, at 12:33 AM, Gabriele Columbro wrote: Answering to self, I opened an issue for this here: https://issues.apache.org/jira/browse/INFRA-2284 HTH, Gab On Oct 15, 2009, at 11:41 PM, Gabriele Columbro wrote: Hi Jukka, On Oct 13, 2009, at 10:59 AM, Jukka Zitting wrote: Hi, On Fri, Oct 9, 2009 at 7:50 PM, Gabriele Columbro gabriele.colum...@alfresco.com wrote: I was wondering if I could : - Configure the maven build to release against Apache servers (if not yet there) - Release a snapshot version (at least of chemistry-atompub-tck, as I need it for some integration purposes) from the 0.6.2 branch. I see that a whole guide on how to do manual releases is available here [1] but here [2] I see that the Maven automated release process guide is still a sad TBD. Do you guys have some pointers on how to perform an automated Maven snapshot release to [3] ? The easiest way nowadays is to use the new Nexus repository server [1]. You can start deploying snapshots to it (see [2]) right away with mvn deploy and the patch included below. See [3] for more information on how to use the repository server for staging and deploying proper releases. I tried to deploy a snapshot on the Apache Nexus (tweaking a bit the patch you sent me as repositoryId is changed in org.apache:apache:6 ), but even when credentials are properly configured (I'm able to login via UI and my settings.xml matches the POM repository Id) I'm still getting an access denied. I think I'll need to create a subtask of [1] to allow the Chemistry project to deploy there. Makes sense? TIA, Gab [1] https://issues.apache.org/jira/browse/INFRA-1896 [1] https://repository.apache.org/ [2] https://repository.apache.org/content/groups/snapshots-group/ [3] https://issues.apache.org/jira/browse/INFRA-1896 BR, Jukka Zitting Index: chemistry/chemistry-parent/pom.xml === --- chemistry/chemistry-parent/pom.xml (Revision 824641) +++ chemistry/chemistry-parent/pom.xml (Arbeitskopie) @@ -18,6 +18,12 @@ xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion + parent +groupIdorg.apache/groupId +artifactIdapache/artifactId +version6/version + /parent + prerequisites maven2.0.9/maven /prerequisites @@ -226,15 +232,4 @@ /dependencies /dependencyManagement - repositories -repository - idapache-incubating/id - nameApache Incubating Repository/name - urlhttp://people.apache.org/repo/m2-incubating- repository/url - snapshots -enabledfalse/enabled - /snapshots -/repository - /repositories - /project -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com
Re: Autoamated Releasing with Maven
As mentioned in the spin-off thread, mvn deploy is properly working for snapshots on repository.apache.org. In order to do this I had to remove the distributionManagement dummy section (mentioned to be needed for Hudson), in trunk since revision 834441. Just wondering if I am breaking someone build by using the Apache standard settings instead of a project specific distributionManagement or that is just an obsolete comment? Sorry for the hassle in case, Gab On Nov 10, 2009, at 9:57 AM, Gabriele Columbro wrote: Hi guys, some updates on the Chemistry release status. We should be clear to deploy in Nexus looking at the status of [1] , so today I'll try to perform a 1.0-SNAPSHOT release from the trunk to the Apache snapshot repository. Any issue with this? When this is working I'd like to start talking a bit of the broader release process (e.g. documentation site, schedule roadmap, versioning, etc.). I'll start a separate thread for it. Will keep you posted, ciao! Gab [1] https://issues.apache.org/jira/browse/INFRA-2284 On Oct 16, 2009, at 12:33 AM, Gabriele Columbro wrote: Answering to self, I opened an issue for this here: https://issues.apache.org/jira/browse/INFRA-2284 HTH, Gab On Oct 15, 2009, at 11:41 PM, Gabriele Columbro wrote: Hi Jukka, On Oct 13, 2009, at 10:59 AM, Jukka Zitting wrote: Hi, On Fri, Oct 9, 2009 at 7:50 PM, Gabriele Columbro gabriele.colum...@alfresco.com wrote: I was wondering if I could : - Configure the maven build to release against Apache servers (if not yet there) - Release a snapshot version (at least of chemistry-atompub-tck, as I need it for some integration purposes) from the 0.6.2 branch. I see that a whole guide on how to do manual releases is available here [1] but here [2] I see that the Maven automated release process guide is still a sad TBD. Do you guys have some pointers on how to perform an automated Maven snapshot release to [3] ? The easiest way nowadays is to use the new Nexus repository server [1]. You can start deploying snapshots to it (see [2]) right away with mvn deploy and the patch included below. See [3] for more information on how to use the repository server for staging and deploying proper releases. I tried to deploy a snapshot on the Apache Nexus (tweaking a bit the patch you sent me as repositoryId is changed in org.apache:apache:6 ), but even when credentials are properly configured (I'm able to login via UI and my settings.xml matches the POM repository Id) I'm still getting an access denied. I think I'll need to create a subtask of [1] to allow the Chemistry project to deploy there. Makes sense? TIA, Gab [1] https://issues.apache.org/jira/browse/INFRA-1896 [1] https://repository.apache.org/ [2] https://repository.apache.org/content/groups/snapshots-group/ [3] https://issues.apache.org/jira/browse/INFRA-1896 BR, Jukka Zitting Index: chemistry/chemistry-parent/pom.xml === --- chemistry/chemistry-parent/pom.xml (Revision 824641) +++ chemistry/chemistry-parent/pom.xml (Arbeitskopie) @@ -18,6 +18,12 @@ xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion + parent +groupIdorg.apache/groupId +artifactIdapache/artifactId +version6/version + /parent + prerequisites maven2.0.9/maven /prerequisites @@ -226,15 +232,4 @@ /dependencies /dependencyManagement - repositories -repository - idapache-incubating/id - nameApache Incubating Repository/name - urlhttp://people.apache.org/repo/m2-incubating- repository/url - snapshots -enabledfalse/enabled - /snapshots -/repository - /repositories - /project -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com
Re: Autoamated Releasing with Maven
Thanks Jukka! I'll try right away some snapshot deployment and then look better into the proper staging and deployment procedures for releases. Keep you posted, Gab On Oct 13, 2009, at 10:59 AM, Jukka Zitting wrote: Hi, On Fri, Oct 9, 2009 at 7:50 PM, Gabriele Columbro gabriele.colum...@alfresco.com wrote: I was wondering if I could : - Configure the maven build to release against Apache servers (if not yet there) - Release a snapshot version (at least of chemistry-atompub-tck, as I need it for some integration purposes) from the 0.6.2 branch. I see that a whole guide on how to do manual releases is available here [1] but here [2] I see that the Maven automated release process guide is still a sad TBD. Do you guys have some pointers on how to perform an automated Maven snapshot release to [3] ? The easiest way nowadays is to use the new Nexus repository server [1]. You can start deploying snapshots to it (see [2]) right away with mvn deploy and the patch included below. See [3] for more information on how to use the repository server for staging and deploying proper releases. [1] https://repository.apache.org/ [2] https://repository.apache.org/content/groups/snapshots-group/ [3] https://issues.apache.org/jira/browse/INFRA-1896 BR, Jukka Zitting Index: chemistry/chemistry-parent/pom.xml === --- chemistry/chemistry-parent/pom.xml (Revision 824641) +++ chemistry/chemistry-parent/pom.xml (Arbeitskopie) @@ -18,6 +18,12 @@ xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion + parent +groupIdorg.apache/groupId +artifactIdapache/artifactId +version6/version + /parent + prerequisites maven2.0.9/maven /prerequisites @@ -226,15 +232,4 @@ /dependencies /dependencyManagement - repositories -repository - idapache-incubating/id - nameApache Incubating Repository/name - urlhttp://people.apache.org/repo/m2-incubating-repository/ url - snapshots -enabledfalse/enabled - /snapshots -/repository - /repositories - /project -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com
Re: Autoamated Releasing with Maven
As we have several branches people are interested in (at least 0.62 and trunk), we may want to think about renumbering the poms, so that in the 0.62 branch we're version0.62-SNAPSHOT/version and in the trunk we're version0.70-SNAPSHOT/version. What do you think? Florent On Thu, Oct 15, 2009 at 7:21 PM, Gabriele Columbro colum...@gmail.com wrote: Thanks Jukka! I'll try right away some snapshot deployment and then look better into the proper staging and deployment procedures for releases. Keep you posted, Gab On Oct 13, 2009, at 10:59 AM, Jukka Zitting wrote: Hi, On Fri, Oct 9, 2009 at 7:50 PM, Gabriele Columbro gabriele.colum...@alfresco.com wrote: I was wondering if I could : - Configure the maven build to release against Apache servers (if not yet there) - Release a snapshot version (at least of chemistry-atompub-tck, as I need it for some integration purposes) from the 0.6.2 branch. I see that a whole guide on how to do manual releases is available here [1] but here [2] I see that the Maven automated release process guide is still a sad TBD. Do you guys have some pointers on how to perform an automated Maven snapshot release to [3] ? The easiest way nowadays is to use the new Nexus repository server [1]. You can start deploying snapshots to it (see [2]) right away with mvn deploy and the patch included below. See [3] for more information on how to use the repository server for staging and deploying proper releases. [1] https://repository.apache.org/ [2] https://repository.apache.org/content/groups/snapshots-group/ [3] https://issues.apache.org/jira/browse/INFRA-1896 BR, Jukka Zitting Index: chemistry/chemistry-parent/pom.xml === --- chemistry/chemistry-parent/pom.xml (Revision 824641) +++ chemistry/chemistry-parent/pom.xml (Arbeitskopie) @@ -18,6 +18,12 @@ xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion + parent + groupIdorg.apache/groupId + artifactIdapache/artifactId + version6/version + /parent + prerequisites maven2.0.9/maven /prerequisites @@ -226,15 +232,4 @@ /dependencies /dependencyManagement - repositories - repository - idapache-incubating/id - nameApache Incubating Repository/name - urlhttp://people.apache.org/repo/m2-incubating-repository/url - snapshots - enabledfalse/enabled - /snapshots - /repository - /repositories - /project -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com -- Florent Guillaume, Head of RD, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
Re: Autoamated Releasing with Maven
Answering to self, I opened an issue for this here: https://issues.apache.org/jira/browse/INFRA-2284 HTH, Gab On Oct 15, 2009, at 11:41 PM, Gabriele Columbro wrote: Hi Jukka, On Oct 13, 2009, at 10:59 AM, Jukka Zitting wrote: Hi, On Fri, Oct 9, 2009 at 7:50 PM, Gabriele Columbro gabriele.colum...@alfresco.com wrote: I was wondering if I could : - Configure the maven build to release against Apache servers (if not yet there) - Release a snapshot version (at least of chemistry-atompub-tck, as I need it for some integration purposes) from the 0.6.2 branch. I see that a whole guide on how to do manual releases is available here [1] but here [2] I see that the Maven automated release process guide is still a sad TBD. Do you guys have some pointers on how to perform an automated Maven snapshot release to [3] ? The easiest way nowadays is to use the new Nexus repository server [1]. You can start deploying snapshots to it (see [2]) right away with mvn deploy and the patch included below. See [3] for more information on how to use the repository server for staging and deploying proper releases. I tried to deploy a snapshot on the Apache Nexus (tweaking a bit the patch you sent me as repositoryId is changed in org.apache:apache: 6 ), but even when credentials are properly configured (I'm able to login via UI and my settings.xml matches the POM repository Id) I'm still getting an access denied. I think I'll need to create a subtask of [1] to allow the Chemistry project to deploy there. Makes sense? TIA, Gab [1] https://issues.apache.org/jira/browse/INFRA-1896 [1] https://repository.apache.org/ [2] https://repository.apache.org/content/groups/snapshots-group/ [3] https://issues.apache.org/jira/browse/INFRA-1896 BR, Jukka Zitting Index: chemistry/chemistry-parent/pom.xml === --- chemistry/chemistry-parent/pom.xml (Revision 824641) +++ chemistry/chemistry-parent/pom.xml (Arbeitskopie) @@ -18,6 +18,12 @@ xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion + parent +groupIdorg.apache/groupId +artifactIdapache/artifactId +version6/version + /parent + prerequisites maven2.0.9/maven /prerequisites @@ -226,15 +232,4 @@ /dependencies /dependencyManagement - repositories -repository - idapache-incubating/id - nameApache Incubating Repository/name - urlhttp://people.apache.org/repo/m2-incubating-repository/ url - snapshots -enabledfalse/enabled - /snapshots -/repository - /repositories - /project -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com
Re: Autoamated Releasing with Maven
Hi, On Fri, Oct 9, 2009 at 7:50 PM, Gabriele Columbro gabriele.colum...@alfresco.com wrote: I was wondering if I could : - Configure the maven build to release against Apache servers (if not yet there) - Release a snapshot version (at least of chemistry-atompub-tck, as I need it for some integration purposes) from the 0.6.2 branch. I see that a whole guide on how to do manual releases is available here [1] but here [2] I see that the Maven automated release process guide is still a sad TBD. Do you guys have some pointers on how to perform an automated Maven snapshot release to [3] ? The easiest way nowadays is to use the new Nexus repository server [1]. You can start deploying snapshots to it (see [2]) right away with mvn deploy and the patch included below. See [3] for more information on how to use the repository server for staging and deploying proper releases. [1] https://repository.apache.org/ [2] https://repository.apache.org/content/groups/snapshots-group/ [3] https://issues.apache.org/jira/browse/INFRA-1896 BR, Jukka Zitting Index: chemistry/chemistry-parent/pom.xml === --- chemistry/chemistry-parent/pom.xml (Revision 824641) +++ chemistry/chemistry-parent/pom.xml (Arbeitskopie) @@ -18,6 +18,12 @@ xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion + parent +groupIdorg.apache/groupId +artifactIdapache/artifactId +version6/version + /parent + prerequisites maven2.0.9/maven /prerequisites @@ -226,15 +232,4 @@ /dependencies /dependencyManagement - repositories -repository - idapache-incubating/id - nameApache Incubating Repository/name - urlhttp://people.apache.org/repo/m2-incubating-repository/url - snapshots -enabledfalse/enabled - /snapshots -/repository - /repositories - /project
Autoamated Releasing with Maven
Hi guys, I was wondering if I could : - Configure the maven build to release against Apache servers (if not yet there) - Release a snapshot version (at least of chemistry-atompub-tck, as I need it for some integration purposes) from the 0.6.2 branch. I see that a whole guide on how to do manual releases is available here [1] but here [2] I see that the Maven automated release process guide is still a sad TBD. Do you guys have some pointers on how to perform an automated Maven snapshot release to [3] ? Otherwise I'll figure out from other projects I guess. Thanks in advance for any pointer, Gab [1] http://www.apache.org/dev/release.html [2] http://www.apache.org/dev/release-publishing.html#maven-repo [3] http://people.apache.org/repo/m2-snapshot-repository -- Gabriele Columbro Field Consultant, EMEA Professional Services Alfresco Software, Ltd. (http://www.alfresco.com) M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com Join Alfresco Meetups 2009: http://www.alfresco.com/about/events/2009/10/meetups/