I'm working on a plugin capable of displaying the list of the dependencies of a Maven project. To make this possible, I read the pom.xml file and print data on the console for debugging. This worked just fine, until I tried it from the JAR file : I got a FileNotFoundException (for the pom.xml file)
- Is there a better way to list dependencies of a Maven project ?
- How to read pom.xml when we are inside the JAR file ?