[ 
https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914195#action_12914195
 ] 

Justin Edelson commented on SLING-1795:
---------------------------------------

another use case is to always run tests against the latest version of all sling 
bundles. that rule looks like this:

rule "use LATEST for all Sling bundles"
        
        when
                $bundleList : BundleList()
                $startLevel : StartLevel() from $bundleList.startLevels
                $bundle : Bundle(groupId == "org.apache.sling")
                        from $startLevel.bundles
        then
                $bundle.version = "LATEST"
                
end

> [maven-launchpad-plugin] Add a way to transform the bundle list in some 
> arbitrary manner
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> for the purpose of using instrumented bundles, the bundle list should be able 
> to be transformed in some way. Currently, I'm thinking groovy scripts, but 
> will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to