You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2021/10/19 09:04:22 UTC

[struts-site] branch master updated: Adds a note how to use test builds with Maven

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 1b59094  Adds a note how to use test builds with Maven
1b59094 is described below

commit 1b59094dd0a0949e86c36e7218d4af6418397006
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Tue Oct 19 11:04:18 2021 +0200

    Adds a note how to use test builds with Maven
---
 source/builds.md | 40 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 38 insertions(+), 2 deletions(-)

diff --git a/source/builds.md b/source/builds.md
index 3bc3719..da64450 100644
--- a/source/builds.md
+++ b/source/builds.md
@@ -83,6 +83,42 @@ As we prepare for a new release, the project group may create interim *test buil
 we post them [here](https://dist.apache.org/repos/dist/dev/struts/) in binary, source and library distributions.
 Library distributions include any external dependencies needed to use a product with your application.
 
+You can also use Maven to test the builds, all you have to do is to configure a Staging repository in `~/.m2/settings.xml`
+file like this:
+
+```xml
+<settings>
+    ...
+    <profiles>
+        <profile>
+            <id>local</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <repositories>
+                <repository>
+                    <id>apache-pre-release</id>
+                    <url>https://repository.apache.org/content/repositories/staging/</url>
+                    <layout>default</layout>
+                </repository>
+            </repositories>
+        </profile>
+    </profiles>
+</settings>
+```
+
+or add the Staging repository in the project's POM:
+
+```xml
+<repositories>
+    <repository>
+        <id>apache-pre-release</id>
+        <url>https://repository.apache.org/content/repositories/staging/</url>
+        <layout>default</layout>
+    </repository>
+</repositories>
+```
+
 A test build is made available so that it can be reviewed for quality by the Apache Struts development group.
 When a build is judged "ready for prime time", it is promoted to "General Availability" status and may be
 made the "Best Available" release. If the group feels that a build requires more testing, then it may be marked
@@ -93,8 +129,8 @@ we make the distribution available as a formal [release](releases.html).
 
 When a distribution is first made available, it is rated as a development build or "snapshot". Later, the quality
 of the distribution may be upgraded to "Beta" or "General Availability", based on feedback from the community,
-and then made available through ibiblio and other public Maven repositories. To obtain an early distribution via Maven,
-specify the ASF Snapshot repository in the project's POM.
+and then made available through the Maven Central and other public Maven repositories. To obtain an early distribution 
+via Maven, specify the ASF Snapshot repository in the project's POM.
 
 ```xml
 <repositories>