chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Autoamated Releasing with Maven
Date Tue, 13 Oct 2009 08:59:33 GMT
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.

[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>

Mime
View raw message