You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2014/01/06 18:22:34 UTC
git commit: CLEREZZA-859: Added installBundle profile for easy
install with maven-sling-plugin
Updated Branches:
refs/heads/master dfb1eb959 -> fa71899d4
CLEREZZA-859: Added installBundle profile for easy install with maven-sling-plugin
Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/fa71899d
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/fa71899d
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/fa71899d
Branch: refs/heads/master
Commit: fa71899d4872c234cd5e3d34cbb12906ebdeeccb
Parents: dfb1eb9
Author: retobg <re...@apache.org>
Authored: Mon Jan 6 18:22:18 2014 +0100
Committer: retobg <re...@apache.org>
Committed: Mon Jan 6 18:22:18 2014 +0100
----------------------------------------------------------------------
parent/pom.xml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/clerezza/blob/fa71899d/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index fcacba6..87e8add 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -664,5 +664,35 @@
</plugins>
</build>
</profile>
+ <profile>
+ <!--
+ This profile allows for installing/updating a bundle in a running
+ instance right after building it. Example: mvn clean install -P
+ installBundle -Dsling.url=http://localhost:8080/system/console Or,
+ to make it faster without cleaning up or running tests: mvn -o
+ install -DskipTests -P installBundle
+ -Dsling.url=http://localhost:8080/system/console
+ -->
+ <id>installBundle</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>maven-sling-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-bundle</id>
+ <goals>
+ <goal>install</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>