• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Maven - How to make the plugin to execute only once?

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I generated java code from WSDL using wsdl2java plugin in pom.xml , when i tried to make changes to the code , due to the wsdl2java plugin i am loosing the changes.

Is there any extraArg to make this plugin execution NON-RECURSIVE?

Regards,
Vijay
 
Saloon Keeper
Posts: 10307
217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So then, when should it be executed?
 
vdammala vkumar
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only once during first build and stop from 2nd build onwards.
 
vdammala vkumar
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
below conf resolved the issue.

<configuration>
<fork>once</fork>
</configuration>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!