After checkout, run this command: mvn build eclipse:eclipse This will generate eclipse .project and .classpath files in each module in the log4j project. Now use the Eclipse new java project wizard to create an Eclipse project for each module (like log4j-api, log4j-core, ...). When you do this, make sure to specify the location where the module is actually located, and Eclipse will find the .project and .classpath files that Maven generated.
On Sat, Jan 11, 2014 at 4:41 PM, manyofh <[email protected]> wrote: > Hi guys, > > does anyone have experiences with log4j2 development in combination with > Eclipse and Maven? > I guess I could need some support there. > > What I want to do is to check out the code (using Eclipse with > Subversive) and importing them into Eclipse. > At the end I would like to have the "trunk" (parent pom) as a project in > my workspace and handle it as one with all the build path (right click > on the project -> build path -> e.g. configure build path) functionality > that I have with a normal java project in Eclipse. This project should > contain as well all the other projects (module poms). > > Something like this: > --- log4j2 (trunk, parent pom) > |---log4j-core > |---log4j-api > . > . > . > . > > With this constellation I would be able to use all the eclipse features > e. g. JUnit integration and so on and as well and in addition to it I > can sync the whole trunk over one project instead of checking every > project/module. > > I tried a few things but nothing works really fine. > > Any thoughts? > > Cheers, > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
