You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Wim Deblauwe (JIRA)" <ji...@codehaus.org> on 2005/03/25 09:02:45 UTC
[jira] Created: (MPCLOVER-34) Specifying the license file should only be done once
Specifying the license file should only be done once
----------------------------------------------------
Key: MPCLOVER-34
URL: http://jira.codehaus.org/browse/MPCLOVER-34
Project: maven-clover-plugin
Type: Bug
Environment: Maven 1.0.2
Reporter: Wim Deblauwe
In Maven, when your project.xml extends from a root project.xml (in a different directory), then the project.properties that goes with that root project.xml is also read by Maven. However when I specifiy the 'maven.clover.license.path' in that project.properties file, it is not picked up by the real project. It searches in the default location.
This might clear this a bit up:
root
+ rootproject.xml
+ project.properties (I want to specify the license location once here!)
+ somemodule
+ project.xml (extends rootproject.xml)
+ someothermodule
+ project.xml (extends rootproject.xml)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPCLOVER-34) Specifying the license file should only be done once
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPCLOVER-34?page=history ]
Vincent Massol closed MPCLOVER-34:
----------------------------------
Fix Version: 1.9
Resolution: Cannot Reproduce
Assign To: Vincent Massol
Works for me.
> Specifying the license file should only be done once
> ----------------------------------------------------
>
> Key: MPCLOVER-34
> URL: http://jira.codehaus.org/browse/MPCLOVER-34
> Project: maven-clover-plugin
> Type: Bug
> Environment: Maven 1.0.2
> Reporter: Wim Deblauwe
> Assignee: Vincent Massol
> Fix For: 1.9
>
>
> In Maven, when your project.xml extends from a root project.xml (in a different directory), then the project.properties that goes with that root project.xml is also read by Maven. However when I specifiy the 'maven.clover.license.path' in that project.properties file, it is not picked up by the real project. It searches in the default location.
> This might clear this a bit up:
> root
> + rootproject.xml
> + project.properties (I want to specify the license location once here!)
> + somemodule
> + project.xml (extends rootproject.xml)
> + someothermodule
> + project.xml (extends rootproject.xml)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPCLOVER-34) Specifying the license file should only be done once
Posted by "Wim Deblauwe (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPCLOVER-34?page=comments#action_31592 ]
Wim Deblauwe commented on MPCLOVER-34:
--------------------------------------
ok, go ahead. I probably did something wrong because I re-tested this and now it seems to work fine. I have only been using Maven for a few weeks, so I probably jumped to conclusions too soon...
> Specifying the license file should only be done once
> ----------------------------------------------------
>
> Key: MPCLOVER-34
> URL: http://jira.codehaus.org/browse/MPCLOVER-34
> Project: maven-clover-plugin
> Type: Bug
> Environment: Maven 1.0.2
> Reporter: Wim Deblauwe
>
>
> In Maven, when your project.xml extends from a root project.xml (in a different directory), then the project.properties that goes with that root project.xml is also read by Maven. However when I specifiy the 'maven.clover.license.path' in that project.properties file, it is not picked up by the real project. It searches in the default location.
> This might clear this a bit up:
> root
> + rootproject.xml
> + project.properties (I want to specify the license location once here!)
> + somemodule
> + project.xml (extends rootproject.xml)
> + someothermodule
> + project.xml (extends rootproject.xml)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPCLOVER-34) Specifying the license file should only be done once
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPCLOVER-34?page=comments#action_31324 ]
Vincent Massol commented on MPCLOVER-34:
----------------------------------------
hmm... Are you sure? :-)
I mean here's the code we have in plugin.jelly:
<j:if test="${!empty(context.getVariable('maven.clover.license.path'))}">
<j:invokeStatic className="java.lang.System" method="setProperty">
<j:arg type="java.lang.String" value="clover.license.path"/>
<j:arg type="java.lang.String" value="${maven.clover.license.path}"/>
</j:invokeStatic>
</j:if>
The context is inherited from the parent project so everything there should work. Any idea on how to fix this (if it's really a problem)?
Thanks
> Specifying the license file should only be done once
> ----------------------------------------------------
>
> Key: MPCLOVER-34
> URL: http://jira.codehaus.org/browse/MPCLOVER-34
> Project: maven-clover-plugin
> Type: Bug
> Environment: Maven 1.0.2
> Reporter: Wim Deblauwe
>
>
> In Maven, when your project.xml extends from a root project.xml (in a different directory), then the project.properties that goes with that root project.xml is also read by Maven. However when I specifiy the 'maven.clover.license.path' in that project.properties file, it is not picked up by the real project. It searches in the default location.
> This might clear this a bit up:
> root
> + rootproject.xml
> + project.properties (I want to specify the license location once here!)
> + somemodule
> + project.xml (extends rootproject.xml)
> + someothermodule
> + project.xml (extends rootproject.xml)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPCLOVER-34) Specifying the license file should only be done once
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPCLOVER-34?page=comments#action_31569 ]
Vincent Massol commented on MPCLOVER-34:
----------------------------------------
Wim, I'm going to close this issue soon unless you can substantiate your claim. I've commented on it but you haven't replied yet.
> Specifying the license file should only be done once
> ----------------------------------------------------
>
> Key: MPCLOVER-34
> URL: http://jira.codehaus.org/browse/MPCLOVER-34
> Project: maven-clover-plugin
> Type: Bug
> Environment: Maven 1.0.2
> Reporter: Wim Deblauwe
>
>
> In Maven, when your project.xml extends from a root project.xml (in a different directory), then the project.properties that goes with that root project.xml is also read by Maven. However when I specifiy the 'maven.clover.license.path' in that project.properties file, it is not picked up by the real project. It searches in the default location.
> This might clear this a bit up:
> root
> + rootproject.xml
> + project.properties (I want to specify the license location once here!)
> + somemodule
> + project.xml (extends rootproject.xml)
> + someothermodule
> + project.xml (extends rootproject.xml)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org