This commit is contained in:
Jason van Zyl 2005-10-12 15:03:42 +00:00
parent ec7316abed
commit 1c6a04a831
9 changed files with 39 additions and 17 deletions

View File

@ -117,7 +117,6 @@ public class MyQueryMojo
+----+
* Mapping to collections
The configuration mapping mechanism can easily deal with most collections so let's go through a few examples

View File

@ -9,8 +9,8 @@
Guide to deploying with FTP
In order to deploy artifacts using FTP you must first specify the use of an FTP server in the
<<distributionManagement>> element of your POM as well as specifying an <<extension>> in your
<<build>> element which will pull in the FTP artifacts required to deploy with FTP:
<<distributionManagement>> element of your POM as well as specifying an <<<extension>>> in your
<<<build>>> element which will pull in the FTP artifacts required to deploy with FTP:
+----+
@ -58,7 +58,7 @@ Guide to deploying with FTP
+----+
Your <<<settings.xml>>> would contain a <<<server>>> element where the <<id>> of that element matches <<id>> of the
Your <<<settings.xml>>> would contain a <<<server>>> element where the <<<id>>> of that element matches <<<id>>> of the
FTP repository specified in the POM above:
+----+

View File

@ -8,7 +8,7 @@
Security and Deployment Settings
Repositories to deploy to are defined in a project in the <distributionManagement> section. However, you cannot put
Repositories to deploy to are defined in a project in the <<<distributionManagement>>> section. However, you cannot put
your username, password, or other security settings in that project. For that reason, you should add a server
definition to your own settings with an id that matches that of the deployment repository in the project.

View File

@ -39,7 +39,7 @@ m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -Darchety
+----+
m2 clean:clean package
m2 clean package
+----+

View File

@ -23,9 +23,8 @@
The first two lines say "I want to be fit into the generate-sources
phase and my 'handle' is generate".
So this is all fine and dandy, we have a plugin that wants to generate
some sources from a Antlr grammar but how do we use it. You need to
specify that you want to use it in your POM:
So this is all fine and dandy, we have a plugin that wants to generate some sources from a Antlr grammar but how
do we use it. You need to specify that you want to use it in your POM:
+----+
@ -55,7 +54,7 @@
+----+
If you then type "m2 compile" m2 will walk through the {{{../introduction/introduction-to-the-lifecycle.html}lifecycle}}
and will eventually hit the generate-sources phase and see you have a plugin configured that
and will eventually hit the <<<generate-sources>>> phase and see you have a plugin configured that
wants to participate in that phase and the antlr plugin is executed with
your given configuration.

View File

@ -6,4 +6,12 @@
12 October 2005
------
Guide to using Eclipse with Maven 2.0
Guide to using Eclipse with Maven 2.x
To generate the Eclipse project files from your POM you execute the following command:
+----+
m2 eclipse:eclipse
+----+

View File

@ -7,3 +7,11 @@
------
Guide to using IDEA with Maven 2.x
To generate the IDEA project files from your POM you execute the following command:
+----+
m2 idea:idea
+----+

View File

@ -7,3 +7,11 @@
------
Guide to using Netbeans with Maven 2.x
To generate the Netbeans project files from your POM you execute the following command:
+----+
m2 ...
+----+

View File

@ -10,15 +10,15 @@
** Projects using multiproject or project properties
Maven 1.x POMs that use multiproject and/or project.properties must be
deployed by version 1.5 or later of the Artifact plugin for repoclean to
successfully convert them. This ensures that any parent POMs and/or POM
Maven 1.x POMs that use multiproject and/or project.properties must be deployed by version 1.5 or later of the
Artifact plugin for repoclean to successfully convert them. This ensures that any parent POMs and/or POM
properties are fully resolved by Maven before deploying the POM.
* planned tools
No there isn't something yet but it's planned. I have presented some slides
at javaZone 2005 about "From m1 to m2". Maybe that could help you in the
meantime:
No there isn't something yet but it's planned. I have presented some slides at javaZone 2005 about "From m1 to m2".
Maybe that could help you in the meantime:
http://blogs.codehaus.org/people/vmassol/archives/001170_javazone_2005.html
~~ doco coming from jay hartley