• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maven & XmlBeans(xmlbeans classes created by maven are not placed in the right package structure)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm using xmlbeans to generate some java classes. I'm using maven 3 in my project. I have included the dependency and the plugin details as shown below.





When I run a clean package goal I get compiler errors simply because the classes which uses the xmlbeans generated reference are not found in the classpath. This is because the xmlbeans classes are not compiled into the right directory structure. rather it just places it in the target\classes\aseXMLR30 (where as it should be in the formal structure ex: com.ex.first)

I have googled and read many blogs nothing helped me so far! any replies/answers are really appreciated!

Thanks & Regards.


 
reply
    Bookmark Topic Watch Topic
  • New Topic