You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Gabriele Columbro <ga...@alfresco.com> on 2009/10/09 19:50:36 UTC

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/




Re: Autoamated Releasing with Maven

Posted by Gabriele Columbro <co...@gmail.com>.
>
> This is not very mavenish, and this kind of version number is not
> OSGi-compatible.
>
> I propose simply:
>  0.62-SNAPSHOT
>  0.70-SNAPSHOT
> and when we want to do a release:
>  0.62 then for other releases 0.62.1, 0.62.2
>  0.70 then for other releases 0.70.1, 0.70.2
> etc.

Even if, thinking it a bit deeper, this scheme does not really pass  
any information on the stability of the specific release (major,  
minor, maintenance). I guess it's a bit tricky and if we go for this  
route we should properly document our non standard versioning scheme  
(i.e. making clear that we follow the standard version).

Thanks,
Gab


>
> Florent
>
> -- 
> Florent Guillaume, Head of R&D, Nuxeo
> Open Source, Java EE based, Enterprise Content Management (ECM)
> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

-- 

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

Posted by Florent Guillaume <fg...@nuxeo.com>.
On Thu, Oct 15, 2009 at 7:47 PM, Gabriele Columbro <co...@gmail.com> wrote:
> On Oct 15, 2009, at 7:27 PM, Florent Guillaume wrote:
>> 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 <version>0.62-SNAPSHOT</version> and in the
>> trunk we're <version>0.70-SNAPSHOT</version>.
>
> I think it's a good idea to modify the version scheme to clarifying the
> codeline that we're releasing from and avoid snapshot versions clashes.
> Though I'd prefer not to link the full version number to the CMIS standard
> version, meaning: there might be more than one Chemistry release for the
> same standard version.
>
> So I would suggest to add it as a suffix, something like:
>
> 1.0-0.62-SNAPSHOT
> 1.0-0.70-SNAPSHOT
>
> I know it looks long  (almost like an Oracle driver version number :) ) but
> i think it's more flexible. WDYT?

This is not very mavenish, and this kind of version number is not
OSGi-compatible.

I propose simply:
  0.62-SNAPSHOT
  0.70-SNAPSHOT
and when we want to do a release:
  0.62 then for other releases 0.62.1, 0.62.2
  0.70 then for other releases 0.70.1, 0.70.2
etc.

Florent

-- 
Florent Guillaume, Head of R&D, 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

Posted by Gabriele Columbro <co...@gmail.com>.
Hi Florent,

On Oct 15, 2009, at 7:27 PM, Florent Guillaume wrote:

> 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 <version>0.62-SNAPSHOT</version> and in the
> trunk we're <version>0.70-SNAPSHOT</version>.

I think it's a good idea to modify the version scheme to clarifying  
the codeline that we're releasing from and avoid snapshot versions  
clashes.
Though I'd prefer not to link the full version number to the CMIS  
standard version, meaning: there might be more than one Chemistry  
release for the same standard version.

So I would suggest to add it as a suffix, something like:

1.0-0.62-SNAPSHOT
1.0-0.70-SNAPSHOT

I know it looks long  (almost like an Oracle driver version  
number :) ) but i think it's more flexible. WDYT?

I can do it on the 0.62 branch if you guys agree.

Just  my two cents!

Ciao!
Gab



>
> What do you think?
>
> Florent
>
> On Thu, Oct 15, 2009 at 7:21 PM, Gabriele Columbro  
> <co...@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
>>> <ga...@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">
>>>  <modelVersion>4.0.0</modelVersion>
>>>
>>> +  <parent>
>>> +    <groupId>org.apache</groupId>
>>> +    <artifactId>apache</artifactId>
>>> +    <version>6</version>
>>> +  </parent>
>>> +
>>>  <prerequisites>
>>>    <maven>2.0.9</maven>
>>>  </prerequisites>
>>> @@ -226,15 +232,4 @@
>>>    </dependencies>
>>>  </dependencyManagement>
>>>
>>> -  <repositories>
>>> -    <repository>
>>> -      <id>apache-incubating</id>
>>> -      <name>Apache Incubating Repository</name>
>>> -      <url>http://people.apache.org/repo/m2-incubating- 
>>> repository</url>
>>> -      <snapshots>
>>> -        <enabled>false</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 R&D, Nuxeo
> Open Source, Java EE based, Enterprise Content Management (ECM)
> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

-- 

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

Posted by Florent Guillaume <fg...@nuxeo.com>.
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 <version>0.62-SNAPSHOT</version> and in the
trunk we're <version>0.70-SNAPSHOT</version>.

What do you think?

Florent

On Thu, Oct 15, 2009 at 7:21 PM, Gabriele Columbro <co...@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
>> <ga...@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">
>>  <modelVersion>4.0.0</modelVersion>
>>
>> +  <parent>
>> +    <groupId>org.apache</groupId>
>> +    <artifactId>apache</artifactId>
>> +    <version>6</version>
>> +  </parent>
>> +
>>  <prerequisites>
>>    <maven>2.0.9</maven>
>>  </prerequisites>
>> @@ -226,15 +232,4 @@
>>    </dependencies>
>>  </dependencyManagement>
>>
>> -  <repositories>
>> -    <repository>
>> -      <id>apache-incubating</id>
>> -      <name>Apache Incubating Repository</name>
>> -      <url>http://people.apache.org/repo/m2-incubating-repository</url>
>> -      <snapshots>
>> -        <enabled>false</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 R&D, 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

Posted by Gabriele Columbro <co...@gmail.com>.
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
> <ga...@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">
>   <modelVersion>4.0.0</modelVersion>
>
> +  <parent>
> +    <groupId>org.apache</groupId>
> +    <artifactId>apache</artifactId>
> +    <version>6</version>
> +  </parent>
> +
>   <prerequisites>
>     <maven>2.0.9</maven>
>   </prerequisites>
> @@ -226,15 +232,4 @@
>     </dependencies>
>   </dependencyManagement>
>
> -  <repositories>
> -    <repository>
> -      <id>apache-incubating</id>
> -      <name>Apache Incubating Repository</name>
> -      <url>http://people.apache.org/repo/m2-incubating-repository</ 
> url>
> -      <snapshots>
> -        <enabled>false</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

Posted by Florent Guillaume <fg...@nuxeo.com>.
Hi Gabriele,

The <distributionManagement> inherited from the Apache pom is fine.
I introduced the dummy one earlier because we use hudson to build and
test Chemistry automatically for internal use, and hudson's
altDeploymentRepository option requires an existing (even if dummy)
distributionManagement.

FYI our hudson job for this is at
http://qa.nuxeo.org/hudson/job/apache-chemistry/

Florent

On Tue, Nov 10, 2009 at 12:55 PM, Gabriele Columbro <co...@gmail.com> wrote:
> 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
>
>

-- 
Florent Guillaume, Director of R&D, 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

Posted by Gabriele Columbro <co...@gmail.com>.
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
>>>> <ga...@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">
>>>> <modelVersion>4.0.0</modelVersion>
>>>>
>>>> +  <parent>
>>>> +    <groupId>org.apache</groupId>
>>>> +    <artifactId>apache</artifactId>
>>>> +    <version>6</version>
>>>> +  </parent>
>>>> +
>>>> <prerequisites>
>>>>  <maven>2.0.9</maven>
>>>> </prerequisites>
>>>> @@ -226,15 +232,4 @@
>>>>  </dependencies>
>>>> </dependencyManagement>
>>>>
>>>> -  <repositories>
>>>> -    <repository>
>>>> -      <id>apache-incubating</id>
>>>> -      <name>Apache Incubating Repository</name>
>>>> -      <url>http://people.apache.org/repo/m2-incubating- 
>>>> repository</url>
>>>> -      <snapshots>
>>>> -        <enabled>false</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




Site staging/deployment (was: Re: Autoamated Releasing with Maven)

Posted by Gabriele Columbro <co...@gmail.com>.
Hi guys,
good news! (replying to myself doesn't really sound exciting tough)

We've our first 1.0-SNAPSHOT release out [1], it was smooth and easy :)

Now wanted to try to also deploy and enhance our Maven documentation  
site [2] which ATM is pretty poor and not really linked to our latest  
development, so I'd like to do improve our web presence with a proper  
project site and some nice integrations (e.g. Jira changes)
Now quoting the Apache site deployment guide [3] :

""It is up to your projects how the website is generated and what  
software is used. The basic requirements for site management are that  
only committers should be able to modify the site and that  
notifications of all site changes should be sent to the relevant  
project mailing lists. "

I have two questions:

- It seems I could just deploy the new version of the website at  
people.apache,org:/www/incubator.apache.org/chemistry. Is that  
correct? Can I use that one for overwriting the site or can you  
suggest a good place to do staging (maybe [4])?
- To accomplish to the notification part, I can add a maven-changes- 
plugin configuration which send a notification via email to the list  
attached to the 'site-deploy' phase. WDYT?

Any thoughts or suggestions are welcome!

TIA,
Gab


[1]  https://repository.apache.org/content/repositories/snapshots/org/apache/chemistry/
[2] http://incubator.apache.org/chemistry/
[3] http://www.apache.org/dev/project-site.html#intro
[4] https://repository.apache.org/content/sites/site-test/

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
>>>> <ga...@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">
>>>> <modelVersion>4.0.0</modelVersion>
>>>>
>>>> +  <parent>
>>>> +    <groupId>org.apache</groupId>
>>>> +    <artifactId>apache</artifactId>
>>>> +    <version>6</version>
>>>> +  </parent>
>>>> +
>>>> <prerequisites>
>>>>  <maven>2.0.9</maven>
>>>> </prerequisites>
>>>> @@ -226,15 +232,4 @@
>>>>  </dependencies>
>>>> </dependencyManagement>
>>>>
>>>> -  <repositories>
>>>> -    <repository>
>>>> -      <id>apache-incubating</id>
>>>> -      <name>Apache Incubating Repository</name>
>>>> -      <url>http://people.apache.org/repo/m2-incubating- 
>>>> repository</url>
>>>> -      <snapshots>
>>>> -        <enabled>false</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

Posted by Gabriele Columbro <co...@gmail.com>.
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
>>> <ga...@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">
>>> <modelVersion>4.0.0</modelVersion>
>>>
>>> +  <parent>
>>> +    <groupId>org.apache</groupId>
>>> +    <artifactId>apache</artifactId>
>>> +    <version>6</version>
>>> +  </parent>
>>> +
>>> <prerequisites>
>>>   <maven>2.0.9</maven>
>>> </prerequisites>
>>> @@ -226,15 +232,4 @@
>>>   </dependencies>
>>> </dependencyManagement>
>>>
>>> -  <repositories>
>>> -    <repository>
>>> -      <id>apache-incubating</id>
>>> -      <name>Apache Incubating Repository</name>
>>> -      <url>http://people.apache.org/repo/m2-incubating- 
>>> repository</url>
>>> -      <snapshots>
>>> -        <enabled>false</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

Posted by Gabriele Columbro <co...@gmail.com>.
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
>> <ga...@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">
>>  <modelVersion>4.0.0</modelVersion>
>>
>> +  <parent>
>> +    <groupId>org.apache</groupId>
>> +    <artifactId>apache</artifactId>
>> +    <version>6</version>
>> +  </parent>
>> +
>>  <prerequisites>
>>    <maven>2.0.9</maven>
>>  </prerequisites>
>> @@ -226,15 +232,4 @@
>>    </dependencies>
>>  </dependencyManagement>
>>
>> -  <repositories>
>> -    <repository>
>> -      <id>apache-incubating</id>
>> -      <name>Apache Incubating Repository</name>
>> -      <url>http://people.apache.org/repo/m2-incubating-repository</ 
>> url>
>> -      <snapshots>
>> -        <enabled>false</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

Posted by Gabriele Columbro <co...@gmail.com>.
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
> <ga...@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">
>   <modelVersion>4.0.0</modelVersion>
>
> +  <parent>
> +    <groupId>org.apache</groupId>
> +    <artifactId>apache</artifactId>
> +    <version>6</version>
> +  </parent>
> +
>   <prerequisites>
>     <maven>2.0.9</maven>
>   </prerequisites>
> @@ -226,15 +232,4 @@
>     </dependencies>
>   </dependencyManagement>
>
> -  <repositories>
> -    <repository>
> -      <id>apache-incubating</id>
> -      <name>Apache Incubating Repository</name>
> -      <url>http://people.apache.org/repo/m2-incubating-repository</ 
> url>
> -      <snapshots>
> -        <enabled>false</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

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Fri, Oct 9, 2009 at 7:50 PM, Gabriele Columbro
<ga...@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">
   <modelVersion>4.0.0</modelVersion>

+  <parent>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>6</version>
+  </parent>
+
   <prerequisites>
     <maven>2.0.9</maven>
   </prerequisites>
@@ -226,15 +232,4 @@
     </dependencies>
   </dependencyManagement>

-  <repositories>
-    <repository>
-      <id>apache-incubating</id>
-      <name>Apache Incubating Repository</name>
-      <url>http://people.apache.org/repo/m2-incubating-repository</url>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-    </repository>
-  </repositories>
-
 </project>