Author: wsmoak
Date: Sat Sep 17 19:46:20 2005
New Revision: 289881
URL: http://svn.apache.org/viewcvs?rev=289881&view=rev
Log:
- Set the source level to 1.4 for the project (Maven defaults to 1.3)
- Fork and enable assertions for the core-library tests
- Update the build README file
Modified:
struts/shale/trunk/build/README.txt
struts/shale/trunk/build/core-test/project.properties
struts/shale/trunk/build/project.properties
Modified: struts/shale/trunk/build/README.txt
URL:
http://svn.apache.org/viewcvs/struts/shale/trunk/build/README.txt?rev=289881&r1=289880&r2=289881&view=diff
==============================================================================
--- struts/shale/trunk/build/README.txt (original)
+++ struts/shale/trunk/build/README.txt Sat Sep 17 19:46:20 2005
@@ -8,22 +8,29 @@
After allowing Maven to retrieve these files from Apache's internal Maven
repository, please use the "-o" (offline) switch on the command line.
+NOTE: You can skip the unit tests by specifying -maven.test.skip on the
+command line
+
To build the entire project and install the .jar files into your local
repository (and build the binary and source distributions,) execute the default
'build-all' goal:
-$ maven
- or
-$ maven build-all
+ $ maven
+ or
+ $ maven build-all
To clean the project, which deletes all of the 'target' directories:
-$ maven multiproject:clean
+ $ maven multiproject:clean
-To build the multiproject website:
+To build and install the .jar artifact for a sub-project, change to the
+directory (such as shale/build/clay-plugin) and execute:
-$ maven multiproject:site -Dmaven.multiproject.excludes=spring/*,tiles/*
+ $ maven jar:install
+
+To build the multiproject website:
+ $ maven multiproject:site -Dmaven.multiproject.excludes=spring/*,tiles/*
Choosing a JSF Implementation
-----------------------------
@@ -66,9 +73,13 @@
Q: What does 'x.y.z.Class' mean in <sourceModifications>?
-A: Because the core-library sub-project includes the source for the shale-core,
+A: Because the core-library sub-project includes the source for the
shale-core,
shale-tiles, and shale-spring artifacts, it's necessary to tell Maven to
include
and exclude the right source code files. The <sourceModifications> are
triggered
when the named class is *NOT* found, so we use a class that doesn't exist.
+
+Q: How can I avoid running out of memory when building the website?
+
+A: Set the environment variable MAVEN_OPTS=-Xmx1024m
Modified: struts/shale/trunk/build/core-test/project.properties
URL:
http://svn.apache.org/viewcvs/struts/shale/trunk/build/core-test/project.properties?rev=289881&r1=289880&r2=289881&view=diff
==============================================================================
--- struts/shale/trunk/build/core-test/project.properties (original)
+++ struts/shale/trunk/build/core-test/project.properties Sat Sep 17 19:46:20
2005
@@ -7,3 +7,5 @@
maven.docs.src=../${shale.subdir}/xdocs
+maven.junit.fork=true
+maven.junit.jvmargs=-enableassertions:org.apache.shale...
Modified: struts/shale/trunk/build/project.properties
URL:
http://svn.apache.org/viewcvs/struts/shale/trunk/build/project.properties?rev=289881&r1=289880&r2=289881&view=diff
==============================================================================
--- struts/shale/trunk/build/project.properties (original)
+++ struts/shale/trunk/build/project.properties Sat Sep 17 19:46:20 2005
@@ -16,3 +16,4 @@
maven.shale.jsf.impl.default=myfaces
+maven.compile.source=1.4
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]