deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafab...@apache.org
Subject deltaspike git commit: DELTASPIKE-808 - Make documentation to read pom.xml properties
Date Tue, 30 Dec 2014 17:19:11 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 923d6301d -> 515137f9e


DELTASPIKE-808 - Make documentation to read pom.xml properties


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/515137f9
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/515137f9
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/515137f9

Branch: refs/heads/master
Commit: 515137f9e871e63ac809959ecf5af75666d86940
Parents: 923d630
Author: Rafael Benevides <rafabene@gmail.com>
Authored: Tue Dec 30 15:18:40 2014 -0200
Committer: Rafael Benevides <rafabene@gmail.com>
Committed: Tue Dec 30 15:18:40 2014 -0200

----------------------------------------------------------------------
 documentation/pom.xml                          | 4 ++++
 documentation/src/main/asciidoc/build.adoc     | 6 +++---
 documentation/src/main/asciidoc/configure.adoc | 5 +++--
 documentation/src/main/asciidoc/snapshots.adoc | 4 ++--
 4 files changed, 12 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/515137f9/documentation/pom.xml
----------------------------------------------------------------------
diff --git a/documentation/pom.xml b/documentation/pom.xml
index c9a0f6b..1cc3f26 100644
--- a/documentation/pom.xml
+++ b/documentation/pom.xml
@@ -39,6 +39,8 @@
 		<svn.scmPubUrl>https://svn.apache.org/repos/asf/deltaspike/site/trunk/content/documentation/</svn.scmPubUrl>
 		<svn.scmPubUrlStaging>https://svn.apache.org/repos/asf/deltaspike/site/trunk/content/staging/documentation/</svn.scmPubUrlStaging>
 		<svn.scmPubCheckoutDirectory>${project.build.directory}/co-site</svn.scmPubCheckoutDirectory>
+    <version.deltaspike.latest.stable>1.2.1</version.deltaspike.latest.stable>
+    <version.deltaspike.latest.snapshot>1.2.2-SNAPSHOT</version.deltaspike.latest.snapshot>
 	</properties>
 
 	<distributionManagement>
@@ -75,6 +77,8 @@
 						<toc>true</toc>
             <basedir>..</basedir>
             <icons>font</icons>
+            <latestStable>${version.deltaspike.latest.stable}</latestStable>
+            <latestSnapshot>${version.deltaspike.latest.snapshot}</latestSnapshot>
 					</attributes>
 				</configuration>
 			</plugin>

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/515137f9/documentation/src/main/asciidoc/build.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/build.adoc b/documentation/src/main/asciidoc/build.adoc
index c3eea2e..8556abc 100644
--- a/documentation/src/main/asciidoc/build.adoc
+++ b/documentation/src/main/asciidoc/build.adoc
@@ -6,16 +6,16 @@
 
 The DeltaSpike source (modules and examples) is provided for inspection, contribution and
testing purposes. The source must be built with Maven, which has been used to automate the
compilation, testing and packaging processes. Arquillian tests are included with the source
and a CDI implementation or container can be specified with which to carry out the tests.
 
-In all cases, to obtain the DeltaSpike source, link:https://deltaspike.apache.org/download.html[download]
`deltaspike-project-<version>-source-release.zip` and extract the contents.
+In all cases, to obtain the DeltaSpike source, link:https://deltaspike.apache.org/download.html[download]
`deltaspike-project-{latestStable}-source-release.zip` and extract the contents.
 	
 NOTE: You can also obtain the DeltaSpike source from the project Git repository. The repository
is subject to change and it can be used for contributing but should not be used in production
environments. For more information, see <<source#,Contribute to the DeltaSpike Source>>.

 
 == Build without CDI Implementation Tests
 DeltaSpike can be built without executing tests against a CDI implementation, with the following
commands:
 
-[source,shell]
+[source,shell,subs="+attributes"]
 ----
-$ cd /path/to/deltaspike-project-<version>/
+$ cd /path/to/deltaspike-project-{latestStable}/
 $ mvn clean install
 ----
 

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/515137f9/documentation/src/main/asciidoc/configure.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/configure.adoc b/documentation/src/main/asciidoc/configure.adoc
index 7fbab67..65f3364 100644
--- a/documentation/src/main/asciidoc/configure.adoc
+++ b/documentation/src/main/asciidoc/configure.adoc
@@ -4,6 +4,7 @@
 
 :toc:
 
+
 DeltaSpike is available for use in Maven-based and Maven-independent projects. Instructions
are given here for obtaining released final versions of DeltaSpike for both approaches.
 
 NOTE: You can also opt to use the lastest DeltaSpike snapshots; for more information, see
<<snapshots#,Use DeltaSpike Snapshots>>.
@@ -16,10 +17,10 @@ To begin use the DeltaSpike releases from Maven Central, you simply need
to conf
 . Open the project `pom.xml` file for editing
 . Add the DeltaSpike version to the list of properties
 +
-[source,xml]
+[source,xml,subs="+attributes"]
 ----
 <properties>
-    <deltaspike.version>1.2.1</deltaspike.version>
+    <deltaspike.version>{latestStable}</deltaspike.version>
 </properties>
 ----
 +

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/515137f9/documentation/src/main/asciidoc/snapshots.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/snapshots.adoc b/documentation/src/main/asciidoc/snapshots.adoc
index 5598645..35e8fdf 100644
--- a/documentation/src/main/asciidoc/snapshots.adoc
+++ b/documentation/src/main/asciidoc/snapshots.adoc
@@ -40,10 +40,10 @@ With Maven configured for the Apache Snapshot Repository, you can specify
DeltaS
 . Open the project `pom.xml` file for editing
 . Add the DeltaSpike snapshot version to the list of properties
 +
-[source,xml]
+[source,xml,subs="+attributes"]
 ----
 <properties>
-    <deltaspike.version>1.0.3-SNAPSHOT</deltaspike.version>
+    <deltaspike.version>{latestSnapshot}</deltaspike.version>
 </properties>
 ----
 +


Mime
View raw message