Update of /var/cvs/all
In directory james.mmbase.org:/tmp/cvs-serv13576
Modified Files:
README
Log Message:
Updated README's for maven2 building
See also: http://cvs.mmbase.org/viewcvs/all
Index: README
===================================================================
RCS file: /var/cvs/all/README,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- README 20 Mar 2009 19:31:26 -0000 1.9
+++ README 28 Apr 2009 15:44:32 -0000 1.10
@@ -21,21 +21,20 @@
HOWTO MAVEN2
--------------------------------------------------------------------------------
-How to compile everything:
-1. Clean, build and install the mmbase.jar in the local repository:
+- Clean, build and install the mmbase.jar in the local repository:
mvn clean install
[compare with: ant clean; ant jar]
-2. Build and install all mmbase 'applications' in the local repository
+- Build and install all mmbase 'applications' in the local repository
(cd applications; mvn clean install)
[compare with: (cd application; ant clean; ant jars]
-3. Build a simple war from the justly created artifacts.
+- Build a simple war from the justly created artifacts.
(cd example-webapp; mvn clean install)
@@ -45,6 +44,10 @@
own webapp.
+- How to build everything
+ (cd maven ; mvn clean install)
+
+
But normally you can just type 'mvn' in the directory of interest. It will use
artifacts of
mmbase.org/snapshots if you didn't build them.
@@ -52,7 +55,7 @@
- If you have access to mmbase.org, you can also do
- mvn clean source:jar deploy ; (cd applications; mvn clean source:jar deploy)
; (cd example-webapp; mvn clean deploy)
+ (cd maven ; mvn -Pdeploy clean deploy)
which will clean and deploy pretty much everything for a release, including
source-jars.
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs