Author: cziegeler
Date: Tue Dec 29 11:16:25 2009
New Revision: 894353
URL: http://svn.apache.org/viewvc?rev=894353&view=rev
Log:
Move bundle installation info profile
Modified:
sling/trunk/samples/slingshot/pom.xml
Modified: sling/trunk/samples/slingshot/pom.xml
URL:
http://svn.apache.org/viewvc/sling/trunk/samples/slingshot/pom.xml?rev=894353&r1=894352&r2=894353&view=diff
==============================================================================
--- sling/trunk/samples/slingshot/pom.xml (original)
+++ sling/trunk/samples/slingshot/pom.xml Tue Dec 29 11:16:25 2009
@@ -64,25 +64,42 @@
</instructions>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.sling</groupId>
- <artifactId>maven-sling-plugin</artifactId>
- <executions>
- <execution>
- <id>install-bundle</id>
- <goals>
- <goal>validate</goal>
- <goal>install</goal>
- </goals>
- <configuration>
- <mountByFS>${fileMount}</mountByFS>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <!--
+ Use this profile to install the OSGi bundle
+ automatically, during development
+ -->
+ <id>autoInstallBundle</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>validate</goal>
+ <goal>install</goal>
+ </goals>
+ <configuration>
+ <mountByFS>${fileMount}</mountByFS>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<dependencies>
<dependency>
<groupId>org.apache.felix</groupId>