[
http://jira.codehaus.org/browse/MSQL-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163737#action_163737
]
Dan Tran commented on MSQL-34:
------------------------------
ah now I understand where your " global skip" comes from. From an mojo
execution perspective, there is no way for the mojo to know if a plugin
configuration comes from the global configuration or individual execution.
Even if, it can, by stretching it self to search inside maven execution model
to find this condition, doing this will change maven "normal" behavior which i
am not sure to get a majority user to accept this change. Last, it will break
the backward compatibility.
But I may be all wrong, if can find other clean way, please let me know.
> More control over skip property - global configuration vs individual
> executions
> -------------------------------------------------------------------------------
>
> Key: MSQL-34
> URL: http://jira.codehaus.org/browse/MSQL-34
> Project: Maven 2.x SQL Plugin
> Issue Type: Wish
> Reporter: John Newman
>
> Hello,
> I'm having issues with the scope of the skip property.
> If I pass maven test skip, i don't want anything at all to run. So I have
> <configuration>
> <skip>${maven.test.skip}</skip>
> But i have a bunch of different executions, I need some of them to not run
> for certain environments.
> <execution><id>test-data</id><skip>${skipTestData}</skip>
> However if I simply run mvn -Dmaven.test.skip=true , the test data tries to
> run anyway (skip is overridden). To me, this is a bug. To others, it might
> be a feature.
> Really what is needed is a property <globalSkipOverridesIndividual> which is
> false by default. As of now I have to do -Dmaven.test.skip=true
> -DskipTestData=true, which is fine, but I have 8 or so skip lines to pass
> in...
> Thanks.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email