Hi, Personnaly, I do mvn eclipse:eclipse -DoutputDirectory=build. (In your case :mvn eclipse:clean eclipse:eclipse -DoutputDirectory=build Because you can have some issues if you do a mvn clean with cli because the target/* directories will be removed and some classes won't be available. And eclipse can't compile projects.
HTH, -- Olivier 2008/9/18 <[EMAIL PROTECTED]>: > So, > > i've done that. I get following Errors: > > > Description Resource Path Location Type > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended maven-scm-client > Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-manager-plexus Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended maven-scm-plugin > Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-accurev Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-bazaar Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-clearcase Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-cvs-commons Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-cvsexe Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-cvsjava Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-cvstest Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-git-commons Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-gitexe Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-gittest Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-hg Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-local Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-perforce Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-starteam Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-svn-commons Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-svnexe Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-svntest Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-synergy Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended > maven-scm-provider-vss Unknown Java Problem > The project cannot be built until its prerequisite maven-scm-api is built. > Cleaning and building all projects is recommended maven-scm-test > Unknown Java Problem > The project was not built due to "Could not delete > '/maven-scm-api/target/classes/org'.". Fix the problem, then try refreshing > this project and building it since it may be inconsistent > maven-scm-api Unknown Java Problem > > > > Last Error Message says nothing to me, as all other depend on SCM API this > seems the root of all other Errors. > > - jens > > > Yes. > > On Thu, Sep 18, 2008 at 12:19 PM, <[EMAIL PROTECTED]> wrote: >> >> hello, >> >> that have to be done on root of the SCM Checkout location ? >> And later i can import the Project within Eclipse ? >> >> - Jens >> >> >> mvn eclipse:eclipse should work to generate eclipse projects but you won't >> use m2 eclipse plugin. >> Emmanuel >> >> On Thu, Sep 18, 2008 at 12:07 PM, <[EMAIL PROTECTED]> wrote: >>> >>> Hello, >>> >>> im new therer and want to add DCM Based Support for Synergy. >>> Actually i try to us the m2 Eclipse plugin. >>> I imported all SCM Projects in my eclipse Workspace using the Plugin. >>> At all my CPU is busy for minutes and than my workspace still have >>> compiler error - i wonder because a cmd line mvn install works pretty well. >>> >>> Anyone can help me a bit with the setup/import in eclipse ? >>> >>> Best Regards, >>> Jens >> > >