|
I tried to run the attached project but received a build error:
[INFO] You need to configure a license file location for Clover. You can create an evaluation license at http://www.atlassian.com/ex/GenerateLicense.jspa?product=Clover&version=2 Looks as though there is a registration process needed prior to verifing the bug. Hi Shane,
No need for verification. I mistakenly left a reference to the clover maven plugin. This is not needed to reproduce the bug. I've attached the archive again, with the plugin removed. Cheers, This archive has no dependency on Clover.
FYI - the next release of the clover plugin will be have a valid evaluation license bundled. Cheers, I've refactored the way POM expressions are resolved in the build section, and will be posting my proposal to fix this issue shortly on http://docs.codehaus.org/display/MAVEN/Dynamic+POM+Build+Sections
The feature branch I've been working on is at: http://svn.apache.org/repos/asf/maven/components/branches/john-2.0.x-dynamicBuild One question, though: I've tried to run the But, I'm not sure whether they express the whole problem. merged from feature branch, and verified on 2.0.x branch build.
Hi John,
Could you please confirm which branch this has been fixed on? Cheers, need to review the fix and the IT, I have the same problem in both sample projects provided with 2.1.0-M1
I can't get the attached sample project to fail. I'm using JDK 1.4 with Maven 2.1.0-M1, and had to modify the POM to include the following repository entry:
<pluginRepositories> <pluginRepository> <id>atlassian</id> <url>http://repository.atlassian.com/maven2</url> </pluginRepository> </pluginRepositories> but it clearly shows the xdoclet plugin creating the target/clover/test.clover file... Can someone tell me how I can reproduce this problem? BTW, the Maven core ITs are all passing here for this issue, too... Hi john,
Thanks for looking into this. This looks to now be fixed on 2.1.0-M1. It is not however working for 2.0.10-RC8. Here is my output running: 2.0.8: correct behavior [INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
[touch] Creating /Users/niick/downloads/MNG-3530/target/clover/test.clover
[echo] Build Dir: ${project.build.directory}/test.clover
[INFO] Executed tasks
2.0.9 broken [INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
[touch] Creating /Users/niick/downloads/MNG-3530/target/test.clover
[echo] Build Dir: /Users/niick/downloads/MNG-3530/target/test.clover
[INFO] Executed tasks
2.0.10-RC8 broken [INFO] Executing tasks
[touch] Creating /Users/niick/downloads/MNG-3530/target/test.clover
[echo] Build Dir: /Users/niick/downloads/MNG-3530/target/test.clover
[INFO] Executed tasks
2.1.0-M1: correct behavior [INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
[touch] Creating /Users/niick/downloads/MNG-3530/target/clover/test.clover
[echo] Build Dir: /Users/niick/downloads/MNG-3530/target/clover/test.clover
[INFO] Executed tasks
interesting - I had the problem in 2.1.0-M1. I'll try it again to confirm, maybe I got them mixed up.
Nick, can we close this if it is solved in a final 2.1.0 in the near future? Hi Brett,
Could you please confirm it works under 2.1.0-M1? I just re-read my previous comment that it was broken under 2.1.0-M1 for me too. I am happy to have this closed if solved in a final 2.1.0 release. Thanks! Consolidating to 2.1.0-M1 so we can then rename to 2.1.0. We can weed out any issues we want to push to a later release from this set once we've done the consolidation.
I'm still getting this with 2.1.0-M1 and M2-SNAPSHOT. Are we all using the same versions of the plugins?
The attached test project is missing plugin versions, that should be fixed to wipe out this uncertainty. I think I made the same mistake I may have made earlier - running "mvn clean install" from the first instructions with the second project. It works if I run the clover instrument command per the latter instructions.
ah. sorry for the confusion here. I think I tried removing the Clover plugin entirely from the equation, however left the check in the verifications.xml .
Cheers,Nick |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
When run with version 2.0.9 of maven you will see that the properties get resolved.
When run with version 2.0.8, these properties are not resolved.
Please let me know if you have any difficulties reproducing this.