Open jzonthemtn opened 8 years ago
Ugh. NPE. Thanks so much for taking the time to open the issue. Can you attach the pom you're trying to parse or email it to me (me@michaelrice.com)?
Unfortunately I cannot and sorry for being so slow to respond. But I did clone your code and I put in some sysouts where you have TODOs in the exception handlers in OpenSourceLicenseCheckMojo. The problem is the pom.xml is not found. (The exception handler on line 287 let me know.) This is not the real path but it is identical in terms of length:
/full/path/to/project/parent-pom/child-pom/child-pom/target/project.pom
I hope that makes at least a little bit of sense. What caught my eye is that it is looking in the project's target directory for the pom.xml. Is that correct? I am running mvn clean install.
Hope this is helpful and let me know if you need me to dig some more.
First, thanks for this project.
Second, a feature request: Would it be possible to exclude based on the groupId only, such as specifying org.apache:: as an exclude param?
And lastly, I get this stack trace during execution:
If you have any ideas let me know. Thanks!