You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/10/11 23:24:12 UTC
svn commit: r312960 - in /maven/components/trunk/maven-site: ideas.txt
src/site/apt/guides/getting-started/index.apt
src/site/apt/guides/mini/guide-multi-module-build.txt
src/site/apt/guides/mini/guide-pom-properties.apt
Author: jvanzyl
Date: Tue Oct 11 14:24:06 2005
New Revision: 312960
URL: http://svn.apache.org/viewcvs?rev=312960&view=rev
Log:
adding bit about filtering system properties
Added:
maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt (with props)
maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt (with props)
Modified:
maven/components/trunk/maven-site/ideas.txt
maven/components/trunk/maven-site/src/site/apt/guides/getting-started/index.apt
Modified: maven/components/trunk/maven-site/ideas.txt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/ideas.txt?rev=312960&r1=312959&r2=312960&view=diff
==============================================================================
--- maven/components/trunk/maven-site/ideas.txt (original)
+++ maven/components/trunk/maven-site/ideas.txt Tue Oct 11 14:24:06 2005
@@ -21,62 +21,15 @@
- testing a plugin
-+----+
+- How to get started behind an NTLM proxy.
-<project>
- ...
- <properties>
- <name>value</name>
- </properties>
-</project>
+- How snapshots works
-+----+
-
-==
-
-How do I get the list of artifacts within my plugin?
-
-You must use the @requiresDependencyResolution tag in your plugin.
-
-==
-
-How to best setup a multi-module build and make versions easiest to manage
-
-
-==
-
-Integrate Jesse's archetype work.
-
-And how do I make archetypes for use in my organization?
-
-==
-
-
-==
-
-How to get started behind an NTLM proxy.
-
-use the fat http client and add it as an extension to the POM. Do we
-support ntmlv2:
-
-http://www.mail-archive.com/httpclient-dev@jakarta.apache.org/msg01861.html
-
-How to use Ant constructs from m2.
-
-How artifact resolution works, this would be a long one more advanced in
-scope.
-
-==
-
-How snapshots works
-
-==
-
-How do i use the lifecycle provided by a plugin:
+- How do i use the lifecycle provided by a plugin:
make sure you turn on the extension option
- <packaging>nbm</packaging>, <build><plugins><plugin><groupId/><artifactId/><extensions>true</extensions></plugin></plugins></build>
+<packaging>nbm</packaging>, <build><plugins><plugin><groupId/><artifactId/><extensions>true</extensions></plugin></plugins></build>
==
Modified: maven/components/trunk/maven-site/src/site/apt/guides/getting-started/index.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/getting-started/index.apt?rev=312960&r1=312959&r2=312960&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/getting-started/index.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/getting-started/index.apt Tue Oct 11 14:24:06 2005
@@ -650,6 +650,23 @@
+----+
+* How do I filter against system properties
+
+ You simply specify the system property using the standard variable notion as show below:
+
++----+
+
+# application.properties
+
+application.name=${pom.name}
+application.version=${pom.version}
+
+environment=${environment}
+
+java.version=${java.version}
+
++----+
+
* {How do I use external dependencies?}
You probably already noticed a <<<dependencies>>> element in the POM we've been using as an example
Added: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt?rev=312960&view=auto
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt (added)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt Tue Oct 11 14:24:06 2005
@@ -0,0 +1,10 @@
+ ------
+ Guide to creating a multi-module build
+ ------
+ Jason van Zyl
+ ------
+ 12 October 2005
+ ------
+
+Guide to creating a multi-module build
+
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt?rev=312960&view=auto
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt (added)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt Tue Oct 11 14:24:06 2005
@@ -0,0 +1,20 @@
+ ------
+ Guide to using POM properties
+ ------
+ Jason van Zyl
+ ------
+ 12 October 2005
+ ------
+
+Guide to using POM properties
+
++----+
+
+<project>
+ ...
+ <properties>
+ <name>value</name>
+ </properties>
+</project>
+
++----+
\ No newline at end of file
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"