mirror of https://github.com/apache/maven.git
adding bit about filtering system properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28e2b08266
commit
b664da928e
|
@ -21,62 +21,15 @@ the <project> element. So:
|
|||
|
||||
- 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>
|
||||
|
||||
==
|
||||
|
||||
|
|
|
@ -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 <<<dependencies>>> element in the POM we've been using as an example
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
------
|
||||
Guide to creating a multi-module build
|
||||
------
|
||||
Jason van Zyl
|
||||
------
|
||||
12 October 2005
|
||||
------
|
||||
|
||||
Guide to creating a multi-module build
|
||||
|
|
@ -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>
|
||||
|
||||
+----+
|
Loading…
Reference in New Issue