Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.
The following page has been changed by WendySmoak: http://wiki.apache.org/struts/Shale/BuildingWithMaven2 The comment on the change is: New instructions for the profiles. ------------------------------------------------------------------------------ __To build all of shale__ (run from the root of your local Subversion checkout of shale) || Command || Status || Requires || Artifacts || - || $mvn || success (!MyFaces) || || For each project under the root, you'll see {project}/target/{project}-{ver}.jar, and for each sample app under shale-apps/, {app}/target/{app}.war || + || $mvn || success || (!MyFaces) || For each project under the root, you'll see {project}/target/{project}-{ver}.jar, || + || $mvn -P apps || success || (!MyFaces) || In addition to the jars, for each sample app under shale-apps/, {app}/target/{app}.war || || $mvn -Djsf=ri || success (JSF RI) || || || || $mvn -Pdesigntime || Must have Sun Studio Creator jars installed in your local maven repository, see designtime/pom.xml for details || || || '''Note:''' The shale-tiger and shale-sql-browser modules will only be built if you are using Java SE 5 (JDK 1.5). The profile is automatically activated by the presence of JDK 1.5, there is nothing extra to add to the command line. + '''Note:''' Profiles may be activated with -P and the profile ID or by -D and a system property with the same name. The following two commands are equivalent: + {{{ + mvn -P apps,designtime + mvn -Dapps -Ddesigntime + }}} __To build the Shale web site__ @@ -48, +54 @@ }}} The file(s) will be in target/assembly/out + + __IDE config files__ + + To generate IntelliJ IDEA config files for the entire project, use JDK 1.5 (so that shale-tiger and shale-sql-browser will be included) then execute: + {{{ mvn idea:idea -Papps,designtime }}} +