[ 
https://issues.apache.org/jira/browse/KARAF-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697874#comment-16697874
 ] 

Jean-Baptiste Onofré commented on KARAF-4336:
---------------------------------------------

It's now possible to have:

{code}
                            <commands>
                                <command>
                                   <rank>1</rank>
                                    <command>bundle:list -t 0</command>
                                </command>
                                <command>
                                    <rank>3</rank>
                                    <command>instance:list</command>
                                </command>
                                <command>
                                   <rank>2</rank>
                                    <command>service:list</command>
                                </command>
                            </commands>
                            <scripts>
                                    
<script><rank>4</rank><script>foo.cli</script></script>
                            </scripts>
{code}

> Add support for ordering of CLI scripts and commands in karaf-maven-plugin
> --------------------------------------------------------------------------
>
>                 Key: KARAF-4336
>                 URL: https://issues.apache.org/jira/browse/KARAF-4336
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 4.0.4
>            Reporter: Martin Basovník
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.2.2, 4.1.7
>
>
> {code:xml}
> <configuration>
>    <scripts>
>       <script order="1">setup1.cli</script>
>       <script order="3">setup2.cli</script>
>    </scripts>
>    <commands order="2">
>       <command>feature:repo-add camel ${version.camel}</command>
>    </commands>
> </configuration>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to