Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-20 Thread Karl Heinz Marbaise

Hi Laurent,

i have made a new release available...

If you have the time could you give it a try..

But you have to change the GAV a little bit:

   plugin 
groupIdcom.soebes.maven.plugins.mlv/groupId 
artifactIdmaven-licenses-verifier-plugin/artifactId 
version0.2-SNAPSHOT/version 
   /plugin


Many thanks in advance.

Kind regards
Karl Heinz Marbaise
-- 
View this message in context: 
http://old.nabble.com/-ANNOUNCEMENTMaven-License-Verifier-Plugin-0.2-SNAPSHOT-tp27658754p27966338.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



Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-18 Thread Karl Heinz Marbaise

Hi Laurent,

after investigating the problem i found the cause for this...sorry..;-(

I hope to get a new update on the weekend...

Thanks for testing MLV...

Kind regards
Karl Heinz Marbaise
-- 
View this message in context: 
http://old.nabble.com/-ANNOUNCEMENTMaven-License-Verifier-Plugin-0.2-SNAPSHOT-tp27658754p27942753.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



Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-16 Thread Laurent Perez
Hello,

Any progress made so far related to http://www.supose.org/issues/show/297 ?

Thanks
laurent

2010/3/4 Karl Heinz Marbaise k...@soebes.de:

 Hi Laurent,


 laurent.perez wrote:

 I'm sorry, I don't have much time right now to look at the plugin source
 code :/

 You don't need to apologize, cause i say thank you for your time...I'm
 working on it to see what's going wrong...


 laurent.perez wrote:

 So *maybe* my licenses.xml file is wrong, I did not find a concrete
 example on the site ; you can find mine at (1).
 That pushes me to enhance the documentation as well...

 Many thanks for testing and of course giving feedback to me...

 Kind regards
 Karl Heinz Marbaise
 --
 View this message in context: 
 http://old.nabble.com/-ANNOUNCEMENTMaven-License-Verifier-Plugin-0.2-SNAPSHOT-tp27658754p27778628.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



Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-04 Thread Laurent Perez
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
  idApache Software License 2.0/id
  descriptionApache Software License 2.0/description
  names
nameApache 2/name
nameApache Software License 2.0/name
nameApache Software License, Version 2.0/name
  /names
  urls
urlhttp://www.apache.org/licenses/LICENSE-2.0/url
urlhttp://www.apache.org/licenses/LICENSE-2.0.html/url
urlhttp://www.apache.org/licenses/LICENSE-2.0.txt/url
urlhttp://apache.org/licenses/LICENSE-2.0/url
urlhttp://apache.org/licenses/LICENSE-2.0.html/url
urlhttp://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



Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-04 Thread Karl Heinz Marbaise

Hi Laurent,


laurent.perez wrote:
 
 I'm sorry, I don't have much time right now to look at the plugin source
 code :/
 
You don't need to apologize, cause i say thank you for your time...I'm
working on it to see what's going wrong...


laurent.perez wrote:
 
 So *maybe* my licenses.xml file is wrong, I did not find a concrete
 example on the site ; you can find mine at (1).
That pushes me to enhance the documentation as well...

Many thanks for testing and of course giving feedback to me...

Kind regards
Karl Heinz Marbaise
-- 
View this message in context: 
http://old.nabble.com/-ANNOUNCEMENTMaven-License-Verifier-Plugin-0.2-SNAPSHOT-tp27658754p27778628.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



Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-03 Thread Laurent Perez
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
groupIdcom.soebes.maven.plugins.mlv/groupId
artifactIdmaven-license-verifier-plugin/artifactId
version0.2-SNAPSHOT/version
configuration
verbosetrue/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//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
  idApache Software License 2.0/id
  descriptionApache Software License 2.0/description
  names
nameApache 2/name
nameApache Software License 2.0/name
nameApache Software License, Version 2.0/name
  /names
  urls
urlhttp://www.apache.org/licenses/LICENSE-2.0/url
urlhttp://www.apache.org/licenses/LICENSE-2.0.html/url
urlhttp://www.apache.org/licenses/LICENSE-2.0.txt/url
urlhttp://apache.org/licenses/LICENSE-2.0/url
urlhttp://apache.org/licenses/LICENSE-2.0.html/url
urlhttp://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
  groupIdcom.soebes.maven.plugins.mlv/groupId
  artifactIdmaven-license-verifier-plugin/artifactId
  version0.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/-ANNOUNCEMENTMaven-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



Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-03 Thread Karl Heinz Marbaise

Hi Laurent,

first of all many thanks for taking the time

My first question: Which release of Maven do you use ? 



laurent.perez wrote:
 
 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 ;)
That's of course a point i have to enhance the documentation about that...


Can you help me ? Thanks
I hope..;-)...


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
   execution
   phasetest/phase
goals
   goalcheck/goal
/goals
   execution
 exectutions

This is just to isolate the problem.

Many thanks


I've already filed a bug into my issue tracking system...

Kind regards
Karl Heinz Marbaise
-- 
View this message in context: 
http://old.nabble.com/-ANNOUNCEMENTMaven-License-Verifier-Plugin-0.2-SNAPSHOT-tp27658754p27772725.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



[ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-02-19 Thread Karl Heinz Marbaise

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
  groupIdcom.soebes.maven.plugins.mlv/groupId
  artifactIdmaven-license-verifier-plugin/artifactId
  version0.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/-ANNOUNCEMENTMaven-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