Basically You need to run mvn install first to down load and build the project first and then run mvn eclipse:eclispse to setup the eclipse workspace.

mvn -Pfastinstall

Means you run 'mvn install' and skip the check style , pmd checking and testing.

Then you run
mvn -Psetup.eclipse
It will copy the check style, pmd configuration files to your eclipse workspace and run 'mvn eclipse:eclipse'

So if you just got the source code, you need to run the fellowing commands one by one.
mvn -Pfastinstall
mvn -Psetup.eclipse


Willem.

Joshua Jackson wrote:
Dear all,

Does anyone has problem with tutorial setting up eclipse located at
http://incubator.apache.org/cxf/setting-up-eclipse.html ?

I don't quite get it.
What does these maven command:
mvn -Pfastinstall
mvn -Psetup.eclipse

has got to do with the eclipse plugin-in setup? Perhaps before
executing those maven commands, it should write down how to set up the
maven first so new user won't be confused.

Second, those maven commands doesn't work for me. This is what I get
from my console:

$> mvn -Psetup.eclipse
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] You must specify at least one goal. Try 'install'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Jul 24 15:32:35 ICT 2007
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------

Am I missing something here?

Thanks in advance.
:)

Reply via email to