From b664da928ee1f8eb6899b8c890ea8cdd45666fba Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Tue, 11 Oct 2005 21:24:06 +0000 Subject: [PATCH] adding bit about filtering system properties git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312960 13f79535-47bb-0310-9956-ffa450edef68 --- maven-site/ideas.txt | 55 ++----------------- .../site/apt/guides/getting-started/index.apt | 17 ++++++ .../guides/mini/guide-multi-module-build.txt | 10 ++++ .../apt/guides/mini/guide-pom-properties.apt | 20 +++++++ 4 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt create mode 100644 maven-site/src/site/apt/guides/mini/guide-pom-properties.apt diff --git a/maven-site/ideas.txt b/maven-site/ideas.txt index 31c54600a3..cdf912aa8c 100644 --- a/maven-site/ideas.txt +++ b/maven-site/ideas.txt @@ -21,62 +21,15 @@ the element. So: - testing a plugin -+----+ +- How to get started behind an NTLM proxy. - - ... - - value - - +- 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 - nbm, true +nbm, true == diff --git a/maven-site/src/site/apt/guides/getting-started/index.apt b/maven-site/src/site/apt/guides/getting-started/index.apt index 0c1133dca7..0fc898c4c2 100644 --- a/maven-site/src/site/apt/guides/getting-started/index.apt +++ b/maven-site/src/site/apt/guides/getting-started/index.apt @@ -650,6 +650,23 @@ environment=${environment} +----+ +* 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 <<>> element in the POM we've been using as an example diff --git a/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt b/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt new file mode 100644 index 0000000000..d555f94b58 --- /dev/null +++ b/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt @@ -0,0 +1,10 @@ + ------ + Guide to creating a multi-module build + ------ + Jason van Zyl + ------ + 12 October 2005 + ------ + +Guide to creating a multi-module build + diff --git a/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt b/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt new file mode 100644 index 0000000000..f678a6a584 --- /dev/null +++ b/maven-site/src/site/apt/guides/mini/guide-pom-properties.apt @@ -0,0 +1,20 @@ + ------ + Guide to using POM properties + ------ + Jason van Zyl + ------ + 12 October 2005 + ------ + +Guide to using POM properties + ++----+ + + + ... + + value + + + ++----+ \ No newline at end of file