NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

maven project with jax-ws plugin

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
ndario
Posted via mailing list.





PostPosted: Mon Jul 12, 2010 8:27 am    Post subject: maven project with jax-ws plugin Reply with quote

Hello,

I use jax-ws plugin with maven project to generate client for web service.
Problem is that all sources are generated to the "target" folder an
therefore not visible to IDE and compilation.

I could create separate project for WS client and add add it as dependency
but it for a simple client I'd rather have it in one project.

The workaround I don't like is to generate WS client sources to
'src/main/java' but it is not the best option (it is not cleaned etc).

Any suggestions?

Thanks!

Dario
--
View this message in context: http://old.nabble.com/maven-project-with-jax-ws-plugin-tp29136925p29136925.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
Back to top
Dafe Simonek
Posted via mailing list.





PostPosted: Tue Jul 20, 2010 9:46 am    Post subject: maven project with jax-ws plugin Reply with quote

No real suggestion, as I don't know much about jax-ws plugin, but
generate sources into "target" folder seems simply wrong to me, as maven
itself (not even IDE) will not look for them for compilation, as you said.

Dafe

On 07/12/2010 10:26 AM, ndario wrote:
Quote:
Hello,

I use jax-ws plugin with maven project to generate client for web service.
Problem is that all sources are generated to the "target" folder an
therefore not visible to IDE and compilation.

I could create separate project for WS client and add add it as dependency
but it for a simple client I'd rather have it in one project.

The workaround I don't like is to generate WS client sources to
'src/main/java' but it is not the best option (it is not cleaned etc).

Any suggestions?

Thanks!

Dario
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo