Use the following plugin in your POM to install the bundle directly into the OSGI console.
<plugin>
<groupId>org.apache.sling</groupId>
<artifactId>maven-sling-plugin</artifactId>
<version>2.1.0</version>
<executions>
<execution>
<id>install-bundle</id>
<goals>
<goal>install</goal>
</goals>
</execution>
</executions>
<configuration>
<slingUrl>http://localhost:8080/system/console/install</slingUrl>
<user>admin</user>
<password>admin</password>
</configuration>
</plugin>
No comments:
Post a Comment
If you have any doubts or questions, please let us know.