chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriele Columbro <colum...@gmail.com>
Subject Re: Autoamated Releasing with Maven
Date Thu, 15 Oct 2009 21:41:53 GMT
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.columbro@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




Mime
View raw message