Hello > My first question: Which release of Maven do you use ? Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) Java version: 1.6.0_14
> Would you try to bind the plugin to a particular phase and just do a mvn > test (and take a look if some output has been produced). > <executions>(snip) well, the check is indeed triggered, but I'm getting a NPE : [INFO] [license-verifier:check {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at com.soebes.maven.plugins.mlv.licenses.LicenseValidator.getInvalid(LicenseValidator.java:57) at com.soebes.maven.plugins.mlv.licenses.LicenseValidator.isInvalid(LicenseValidator.java:367) at com.soebes.maven.plugins.mlv.licenses.LicenseValidator.isInvalid(LicenseValidator.java:260) at com.soebes.maven.plugins.mlv.LicenseVerifierMojo.execute(LicenseVerifierMojo.java:83) note : if I use "report" instead of check, the NPE is moving in some warning methods: [INFO] [license-verifier:report {execution: default}] [INFO] LicenseVerifierReport:execute() [INFO] LicenseVerifierReport:generate() [ERROR] java.lang.NullPointerException at com.soebes.maven.plugins.mlv.licenses.LicenseValidator.getWarning(LicenseValidator.java:65) at com.soebes.maven.plugins.mlv.licenses.LicenseValidator.isWarning(LicenseValidator.java:382) at com.soebes.maven.plugins.mlv.licenses.LicenseValidator.isWarning(LicenseValidator.java:281) I'm sorry, I don't have much time right now to look at the plugin source code :/ The thing is, I'm only really interested in the report command ;) So *maybe* my licenses.xml file is wrong, I did not find a concrete example on the site ; you can find mine at (1). thanks laurent (1) <licenses> <valid> <license> <id>Apache Software License 2.0</id> <description>Apache Software License 2.0</description> <names> <name>Apache 2</name> <name>Apache Software License 2.0</name> <name>Apache Software License, Version 2.0</name> </names> <urls> <url>http://www.apache.org/licenses/LICENSE-2.0</url> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <url>http://apache.org/licenses/LICENSE-2.0</url> <url>http://apache.org/licenses/LICENSE-2.0.html</url> <url>http://apache.org/licenses/LICENSE-2.0.txt</url> </urls> </license> </valid> </licenses> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org