Differences between revisions 3 and 4
Revision 3 as of 2007-05-23 17:55:39
Size: 1406
Editor: WernerPunz
Comment:
Revision 4 as of 2009-09-20 23:00:37
Size: 1406
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Then build everything according to the ["Building_With_Maven"] General Maven Page. Then build everything according to the [[Building_With_Maven]] General Maven Page.

Maven Build and Eclipse

Due to the transition to maven some changes in the build process are necessary.

The first step is to download the current branch via any subversion client. Then build everything according to the Building_With_Maven General Maven Page.

Once you have this setup up and running a simple mvn eclipse:eclipse -Dwtpversion=1.5 should setup the project structure.

Note all the myfaces subprojects are then single eclipse projects with interdependencies set. and .project and .wtp files generated.

You then can use the Eclipse internal project import facilities on the root project to import all myfaces related projects-

The link to the maven repository probably must be set within the projects classpath variables (reachable under properties->libraries->add variable.

Empty project creation

Use the archetype function as described in the general maven page of this wiki. And then once the archetype is created use mvn eclipse:eclipse -Dwtpversion=1.5 (or higher) and mvn install to generate all eclipse related project files.

Note for users of MyEclipse some additional adding of web project and jsf capabilities and the alteration of the target build path might be necessary. Exadel and other plugins which use the WTP as base will probably get an out of the box running solution once those plugins have moved to WTP 1.0.x and above.

Maven_And_Eclipse (last edited 2009-09-20 23:00:37 by localhost)