Update of /var/cvs/all
In directory james.mmbase.org:/tmp/cvs-serv16771
Modified Files:
README
Log Message:
See also: http://cvs.mmbase.org/viewcvs/all
Index: README
===================================================================
RCS file: /var/cvs/all/README,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- README 11 Feb 2009 20:43:14 -0000 1.7
+++ README 17 Feb 2009 20:29:02 -0000 1.8
@@ -22,33 +22,39 @@
How to compile everything:
-1. Build and install the mmbase.jar in the local repository:
+1. Clean, build and install the mmbase.jar in the local repository:
-mvn clean ; mvn
+ mvn clean install
-compare with: ant clean; ant jar
+ [compare with: ant clean; ant jar]
2. Build and install all mmbase 'applications' in the local repository
-(cd applications; mvn clean ; mvn)
+ (cd applications; mvn clean install)
-compare with: (cd application; ant clean; ant jars_
+ [compare with: (cd application; ant clean; ant jars]
-3. Build a simple war form the justly created artifacts.
+3. Build a simple war from the justly created artifacts.
-(cd example-webapp; mvn clean ; mvn)
+ (cd example-webapp; mvn clean install)
-coompare with: ant bindist
+ [compare with: ant bindist]
+ This is 'the' distro. A simple and clean war. It's pom can server as
example for you you could
+ create your own webapp,
But normally you can just type 'mvn' in the directory of interest. It will use
artifacts of
-mmbase.org/maven2 if you didn't build them.
+mmbase.org/snapshots if you didn't build them.
- If you have access to mmbase.org, you can also do
- mvn deploy
+
+ mvn clean source:jar deploy ; (cd applications; mvn clean source:jar deploy)
; (cd example-webapp; mvn clean deploy)
+
+ which will clean and deploy pretty much everything for a release, including
source-jars.
+
(use a ~/.m2/settings.xml containing this:
<servers>
<server>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs