Hello I've tried, but did not manage to produce a report, or to check the licenses , I'm getting an NPE whenever I try to run it after "test", I get no results if I try "mvn clean licence-verifier:report". The documentation is a little bit lacking ;)
Can you help me ? Thanks My configuration : ------------------------- <build> <plugins> <plugin> <groupId>com.soebes.maven.plugins.mlv</groupId> <artifactId>maven-license-verifier-plugin</artifactId> <version>0.2-SNAPSHOT</version> <configuration> <verbose>true</verbose> </configuration> Output of : mvn test license:report : NPE ----------------------------------------------------- [INFO] [license-verifier:report {execution: default-cli}] [INFO] LicenseVerifierReport:execute() [INFO] LicenseVerifierReport:generate() [INFO] Loading /home/laurent/Desktop/SVN/4.0.x/xxxxxxxx/src/main/licenses/licenses.xml licenses file. [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) at com.soebes.maven.plugins.mlv.LicenseVerifierReport.doGenerateItemReport(LicenseVerifierReport.java:238) at com.soebes.maven.plugins.mlv.LicenseVerifierReport.doGenerateReport(LicenseVerifierReport.java:180) at com.soebes.maven.plugins.mlv.LicenseVerifierReport.generate(LicenseVerifierReport.java:482) at com.soebes.maven.plugins.mlv.LicenseVerifierReport.execute(LicenseVerifierReport.java:516) Output of : mvn clean license:report : nothing is generated in target/site/ ------------------------------------------------------ [INFO] [license-verifier:report {execution: default-cli}] [INFO] LicenseVerifierReport:execute() [INFO] LicenseVerifierReport:generate() [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ My src/main/licenses/license.xml : -------------------------------------------------- <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> laurent 2010/2/19 Karl Heinz Marbaise <k...@soebes.de>: > > Hi to all, > > i'm happy to announce that the first SNAPSHOT release is available of the > Maven License Verifier Plugin. > > The Release 0.2-SNAPSHOT contains only basic functionality and is not > intended for production usage. > > The intention is to check if everything is correctly configured on my site > that it will work with other setup's as well and the basics are working. > > If you are willing to give it a try i appreciate feedback in any > form...concerning the functionality or the documentation or enhancements > etc. > > The plugin is available from the following SNAPSHOT Repository: > > http://oss.sonatype.org/content/repositories/snapshots/ > > The coordinates (GAV) are: > > <plugin> > <groupId>com.soebes.maven.plugins.mlv</groupId> > <artifactId>maven-license-verifier-plugin</artifactId> > <version>0.2-SNAPSHOT</version> > </plugin> > > The current state of the documentation is located at: > > http://site.supose.org/maven-licenses-verifier-plugin/ > > If you have any problems concerning the plugin give a mail on the list (or > direct to me) or via issue tracker: > > http://www.supose.org/projects/show/mlv > > Kind regards > Karl Heinz Marbaise > Karl Heinz Marbaise > > -- > View this message in context: > http://old.nabble.com/-ANNOUNCEMENT----Maven-License-Verifier-Plugin-0.2-SNAPSHOT-tp27658754p27658754.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- <a href="http://blog.jdeuxe.info/">http://blog.jdeuxe.info/ - Java entreprise tips & tricks</a> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org