Re: Cannot run Maven java2wsdl goal

2007-10-11 Thread James Mao

What's the version of cxf are you using? it's been changed to java2ws
http://cwiki.apache.org/CXF20DOC/java-to-ws.html

James


Hi, I've been trying to use the Maven plugin but  I'm getting this error.

[INFO] Scanning for projects...
[INFO]
--
---
[INFO] Building FooProject Web Services Wrapper
[INFO]task-segment: [package]
[INFO]
--
---
[INFO]
--
[ERROR] BUILD ERROR
[INFO]
--
[INFO] 'java2wsdl' was specified in an execution, but not found in the
plugin
[INFO]
--
[INFO] For more information, run Maven with the -e switch
[INFO]
--
[INFO] Total time: 1 second
[INFO] Finished at: Thu Oct 11 13:40:06 CEST 2007
[INFO] Final Memory: 3M/5M
[INFO]
--

  


Re: Cannot run Maven java2wsdl goal

2007-10-11 Thread Nef Asus
Hello James,
I'm using Apache CXF 2.0.2.
Here's an extract from my pom.xml

plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
encodingUTF-8/encoding
source1.5/source
target1.5/target
showDeprecationtrue/showDeprecation
showWarningstrue/showWarnings
/configuration
/plugin
plugin
  groupIdorg.apache.cxf/groupId
  artifactIdcxf-codegen-plugin/artifactId
  version2.0-incubator-M1/version
  dependencies
dependency
  groupIdorg.apache.cxf/groupId
  artifactIdcxf-rt-frontend-jaxws/artifactId
  version2.0/version
/dependency
  /dependencies
  executions
execution
  idgenerate-wsdl/id
  phaseprocess-classes/phase
  configuration
classNamefoo.myClass/className
  /configuration
  goals
goaljava2ws/goal
  /goals
/execution
  /executions
/plugin

2007/10/11, James Mao [EMAIL PROTECTED]:

 What's the version of cxf are you using? it's been changed to java2ws
 http://cwiki.apache.org/CXF20DOC/java-to-ws.html

 James

  Hi, I've been trying to use the Maven plugin but  I'm getting this
 error.
 
  [INFO] Scanning for projects...
  [INFO]
  --
  ---
  [INFO] Building FooProject Web Services Wrapper
  [INFO]task-segment: [package]
  [INFO]
  --
  ---
  [INFO]
  --
  [ERROR] BUILD ERROR
  [INFO]
  --
  [INFO] 'java2wsdl' was specified in an execution, but not found in the
  plugin
  [INFO]
  --
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  --
  [INFO] Total time: 1 second
  [INFO] Finished at: Thu Oct 11 13:40:06 CEST 2007
  [INFO] Final Memory: 3M/5M
  [INFO]
  --
 
 



Re: Cannot run Maven java2wsdl goal

2007-10-11 Thread Daniel Kulp

 plugin
   groupIdorg.apache.cxf/groupId
   artifactIdcxf-codegen-plugin/artifactId
   version2.0-incubator-M1/version
   dependencies
 dependency
   groupIdorg.apache.cxf/groupId
   artifactIdcxf-rt-frontend-jaxws/artifactId
   version2.0/version
 /dependency
   /dependencies

Change both of those to 2.0.2-incubator and try again.

 goaljava2ws/goal

Change to java2wsdl

Dan




On Thursday 11 October 2007, Nef Asus wrote:
 Hello James,
 I'm using Apache CXF 2.0.2.
 Here's an extract from my pom.xml

 plugins
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-compiler-plugin/artifactId
 configuration
 encodingUTF-8/encoding
 source1.5/source
 target1.5/target
 showDeprecationtrue/showDeprecation
 showWarningstrue/showWarnings
 /configuration
 /plugin
 plugin
   groupIdorg.apache.cxf/groupId
   artifactIdcxf-codegen-plugin/artifactId
   version2.0-incubator-M1/version
   dependencies
 dependency
   groupIdorg.apache.cxf/groupId
   artifactIdcxf-rt-frontend-jaxws/artifactId
   version2.0/version
 /dependency
   /dependencies
   executions
 execution
   idgenerate-wsdl/id
   phaseprocess-classes/phase
   configuration
 classNamefoo.myClass/className
   /configuration
   goals
 goaljava2ws/goal
   /goals
 /execution
   /executions
 /plugin

 2007/10/11, James Mao [EMAIL PROTECTED]:
  What's the version of cxf are you using? it's been changed to
  java2ws http://cwiki.apache.org/CXF20DOC/java-to-ws.html
 
  James
 
   Hi, I've been trying to use the Maven plugin but  I'm getting this
 
  error.
 
   [INFO] Scanning for projects...
   [INFO]
   --
   ---
   [INFO] Building FooProject Web Services Wrapper
   [INFO]task-segment: [package]
   [INFO]
   --
   ---
   [INFO]
   --
   [ERROR] BUILD ERROR
   [INFO]
   --
   [INFO] 'java2wsdl' was specified in an execution, but not
   found in the plugin
   [INFO]
   --
   [INFO] For more information, run Maven with the -e switch
   [INFO]
   --
   [INFO] Total time: 1 second
   [INFO] Finished at: Thu Oct 11 13:40:06 CEST 2007
   [INFO] Final Memory: 3M/5M
   [INFO]
   --
  



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


Re: Cannot run Maven java2wsdl goal

2007-10-11 Thread James Mao
FYI, Cxf2.0.2 still using java2wsdl, so you dont' need to change the 
goal to java2ws
If you're using latest trunk, you need to change to java2ws, CXF2.0.2 is 
the last version which using java2wsdl


Besides, your version

version2.0-incubator-M1/version

is not correct

Try the

2.0.2-incubator as DanK said


Regards,
James



Hello James,
I'm using Apache CXF 2.0.2.
Here's an extract from my pom.xml

plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
encodingUTF-8/encoding
source1.5/source
target1.5/target
showDeprecationtrue/showDeprecation
showWarningstrue/showWarnings
/configuration
/plugin
plugin
  groupIdorg.apache.cxf/groupId
  artifactIdcxf-codegen-plugin/artifactId
  version2.0-incubator-M1/version
  dependencies
dependency
  groupIdorg.apache.cxf/groupId
  artifactIdcxf-rt-frontend-jaxws/artifactId
  version2.0/version
/dependency
  /dependencies
  executions
execution
  idgenerate-wsdl/id
  phaseprocess-classes/phase
  configuration
classNamefoo.myClass/className
  /configuration
  goals
goaljava2ws/goal
  /goals
/execution
  /executions
/plugin

2007/10/11, James Mao [EMAIL PROTECTED]:
  

What's the version of cxf are you using? it's been changed to java2ws
http://cwiki.apache.org/CXF20DOC/java-to-ws.html

James



Hi, I've been trying to use the Maven plugin but  I'm getting this
  

error.


[INFO] Scanning for projects...
[INFO]
--
---
[INFO] Building FooProject Web Services Wrapper
[INFO]task-segment: [package]
[INFO]
--
---
[INFO]
--
[ERROR] BUILD ERROR
[INFO]
--
[INFO] 'java2wsdl' was specified in an execution, but not found in the
plugin
[INFO]
--
[INFO] For more information, run Maven with the -e switch
[INFO]
--
[INFO] Total time: 1 second
[INFO] Finished at: Thu Oct 11 13:40:06 CEST 2007
[INFO] Final Memory: 3M/5M
[INFO]
--