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";>
  <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



Reply via email to