]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - osgi/dep/pom.xml
Introduce check-osgi profile
[lgpl/argeo-commons.git] / osgi / dep / pom.xml
index 82e92db93158130e6027f00e0c05de63282d755e..481b2caa0f2897ce3a2559c2b1dfe261ca4b78ee 100644 (file)
@@ -1,17 +1,53 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.argeo.commons</groupId>
-               <version>0.2.3-SNAPSHOT</version>
+               <version>0.3.5-SNAPSHOT</version>
                <artifactId>osgi</artifactId>
                <relativePath>..</relativePath>
        </parent>
        <groupId>org.argeo.commons.osgi</groupId>
        <artifactId>dep</artifactId>
-       <name>Commons Server Dependencies</name>
+       <name>Commons OSGi Dependencies</name>
        <packaging>pom</packaging>
        <modules>
                <module>org.argeo.osgi.dep.stdruntime</module>
+               <module>org.argeo.osgi.dep.jackrabbit</module>
        </modules>
+       <profiles>
+               <profile>
+                       <id>check-osgi</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <groupId>org.argeo.maven.plugins</groupId>
+                                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <id>check-osgi</id>
+                                                               <phase>test</phase>
+                                                               <goals>
+                                                                       <goal>equinox</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <onlyCheck>true</onlyCheck>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+                       <dependencies>
+                               <!-- OSGi test -->
+                               <dependency>
+                                       <groupId>org.argeo.commons.osgi</groupId>
+                                       <artifactId>org.argeo.osgi.boot</artifactId>
+                                       <version>0.3.5-SNAPSHOT</version>
+                                       <scope>test</scope>
+                               </dependency>
+                       </dependencies>
+               </profile>
+       </profiles>
 </project>
\ No newline at end of file