How to compile an XML file into classes?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to compile an XML file into classes?

thomas2004ch
I use maven2 to compile and build my project. There is an XML-file under package 'com.myclass'. I use mvn package to build the project but after that I couldn't find this XML-file in the target/classes.

What could be wrong? Should I add some code in the pom.xml?