This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Meaningless Drivel and the fly likes  Maven & XmlBeans(xmlbeans classes created by maven are not placed in the right package structure) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark " Maven & XmlBeans(xmlbeans classes created by maven are not placed in the right package structure)" Watch " Maven & XmlBeans(xmlbeans classes created by maven are not placed in the right package structure)" New topic
Author

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

Sangeetha Prem
Greenhorn

Joined: Jul 18, 2012
Posts: 1
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.


 
permaculture playing cards
 
subject: Maven & XmlBeans(xmlbeans classes created by maven are not placed in the right package structure)
 
Similar Threads
Filtering problem using maven-read-properties plugin in pom.xml file
Tomcat and Axis2
Strange problem - works on maven glassfish but not on Tomcat
emma-maven-plugin - filter excludes
Could not resolve dependencies for maven project