Joshua,

What are you trying to achieve?

The instructions at:
http://incubator.apache.org/cxf/setting-up-eclipse.html
are for CXF developers that want to get the CXF trunk up in eclipse for 
developing CXF itself.   It has nothing to do with the Eclipse STP 
plugins and getting STP to work.


For the eclipse STP plugin, there was a thread earlier about it:
http://www.nabble.com/Eclipse-STP-installation-process-tf4125577.html#a11732259


In anycase, if you want to get CXF up and running in eclipse for 
developing CXF, the first page should do it. 
The two commands:
1) mvn -Pfastinstall    - this should build all of CXF.   This is needed 
to get the buildtools installed and the plugins, etc...  
The -Pfastinstall maven profile turns off the tests, checkstyle, pmd, 
etc... and just gets the jars installed as fast as possible.

2) mvn -Psetup.eclipse   - this will setup the eclipse workspace and 
create all the projects (that you then need to import into that 
workspace)   It goes beyond a normal "mvn eclipse:eclipse" in for three 
things:
   a) The top level pom will add the checkstyle rules and CXF codestyles, 
import orders, etc... into the workspace dir
   b) For each project, it adds the checkstyle and PMD files.  
(.pmd, .ruleset, .checkstyle)
   c) It involkes eclipse:eclipse after the process-test-sources phase so 
the test directories get properly added.   A default "eclipse:eclipse" 
executes only after the process-sources phase so any of the generated 
test code doesn't get added to the project.

Hope this helps!
Dan



On Tuesday 24 July 2007 04:36, 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.
>
> :)

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to