You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/03/14 13:50:38 UTC

[jira] [Resolved] (SLING-4474) Provide a way to start/stop an instance through maven mojos

     [ https://issues.apache.org/jira/browse/SLING-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-4474.
-------------------------------------
    Resolution: Fixed

I've added two new goals, start and stop:
                <executions>
                    <execution>
                        <goals>
                            <goal>start</goal>
                            <goal>stop</goal>
                        </goals>
                    </execution>
                </executions>

By default, these start a single instances, and stop it afterwards. 
The goals can start several instances with different run modes etc. :
<configuration>
  <servers>
    <server>  <!-- each config is optional -->
        <runmode/>  
        <port/>
        <contextPath/>
       <vmOpts/>
       <opts/>
       <instances/> <!-- number of instances to start with this run mode -->
    </server>
  </servers>
</configurations>

> Provide a way to start/stop an instance through maven mojos
> -----------------------------------------------------------
>
>                 Key: SLING-4474
>                 URL: https://issues.apache.org/jira/browse/SLING-4474
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins and Archetypes
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Slingstart Maven Plugin 1.0.6
>
>
> Comparable to the goals from the launchpad plugin, we should provide an easy way to start/stop an instance for running integration tests



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)