[ 
https://issues.apache.org/jira/browse/SLING-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527592
 ] 

Felix Meschberger commented on SLING-10:
----------------------------------------

Added install goal to the maven-sling-plugin. This goal has the following 
configuration (to be added to the wiki as soon as available)

skip - Flag indicating whether to skip this step even though it has been 
configured in the project to be executed. This property may be set by the 
"sling.install.skip" property (comparable to the maven.test.skip property to 
prevent running the unit tests). Default false.

buildDirectory - The directory for the generated JAR. Default 
${project.build.directory}
jarName - The name of the generated JAR file. Default 
${project.build.finalName}.jar

bundleStart - Whether to start the uploaded bundle or not. Default value is 
true, may be set using -Dsling.bundle.start
bundleStartLevel -The startlevel for the uploaded bundle. Default value is 20, 
may be set using -Dsling.bundle.startlevel

slingUrl - The URL of the running Sling instance. Default value is 
http://localhost:8080/sling, may be set using -Dsling.url
user - The user name to authenticate at the running Sling instance. Default 
value is admin, may be set using -Dsling.user
password - The password to authenticate at the running Sling instance. Default 
value is admin, may be set using -Dsling.password


> Implement support to install bundles into a locally running Sling instance
> --------------------------------------------------------------------------
>
>                 Key: SLING-10
>                 URL: https://issues.apache.org/jira/browse/SLING-10
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> While developing and testing bundles for Sling, it would be usefull, if 
> during a certain phase of the Maven build process the bundle could be 
> installed on a running Sling instances. The manual method of installing such 
> a bundle generally involves  going to Sling Console select the bundle file to 
> upload and send the file. If the bundle is new, it may optionally be started 
> and assigned a start level.
> This file upload may easily be automated by a Maven plugin, which e.g. uses 
> the Commons HttpClient to upload the file.

-- 
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