Fix target platform
[gpl/argeo-suite.git] / dep / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3         <modelVersion>4.0.0</modelVersion>
4         <parent>
5                 <groupId>org.argeo.suite</groupId>
6                 <artifactId>argeo-suite</artifactId>
7                 <version>0.1.12-SNAPSHOT</version>
8                 <relativePath>..</relativePath>
9         </parent>
10         <artifactId>dep</artifactId>
11         <name>Argeo Suite Dependencies</name>
12         <packaging>pom</packaging>
13         <modules>
14                 <module>org.argeo.suite.platform</module>
15         </modules>
16         <build>
17                 <plugins>
18                         <plugin>
19                                 <groupId>org.apache.felix</groupId>
20                                 <artifactId>maven-bundle-plugin</artifactId>
21                                 <configuration>
22                                         <instructions>
23                                                 <SLC-ModularDistribution>default</SLC-ModularDistribution>
24                                         </instructions>
25                                 </configuration>
26                         </plugin>
27                         <plugin>
28                                 <groupId>org.argeo.maven.plugins</groupId>
29                                 <artifactId>maven-argeo-osgi-plugin</artifactId>
30                                 <executions>
31                                         <execution>
32                                                 <id>generate-descriptors</id>
33                                                 <goals>
34                                                         <goal>descriptors</goal>
35                                                 </goals>
36                                                 <phase>generate-resources</phase>
37                                         </execution>
38                                 </executions>
39                         </plugin>
40                 </plugins>
41         </build>
42         <dependencies>
43                 <!-- SDK -->
44                 <dependency>
45                         <groupId>org.argeo.tp.equinox</groupId>
46                         <artifactId>org.eclipse.osgi</artifactId>
47                         <scope>test</scope>
48                 </dependency>
49                 <dependency>
50                         <groupId>org.argeo.tp.sdk</groupId>
51                         <artifactId>org.junit</artifactId>
52                         <scope>test</scope>
53                 </dependency>
54         </dependencies>
55         <profiles>
56                 <profile>
57                         <id>check-osgi</id>
58                         <build>
59                                 <plugins>
60                                         <plugin>
61                                                 <groupId>org.argeo.maven.plugins</groupId>
62                                                 <artifactId>maven-argeo-osgi-plugin</artifactId>
63                                                 <executions>
64                                                         <execution>
65                                                                 <id>check-osgi</id>
66                                                                 <phase>test</phase>
67                                                                 <goals>
68                                                                         <goal>equinox</goal>
69                                                                 </goals>
70                                                                 <configuration>
71                                                                         <onlyCheck>true</onlyCheck>
72                                                                 </configuration>
73                                                         </execution>
74                                                 </executions>
75                                         </plugin>
76                                 </plugins>
77                         </build>
78                         <dependencies>
79                                 <!-- OSGi test -->
80                                 <dependency>
81                                         <groupId>org.argeo.commons</groupId>
82                                         <artifactId>org.argeo.osgi.boot</artifactId>
83                                         <version>${version.argeo-commons}</version>
84                                         <scope>test</scope>
85                                 </dependency>
86                         </dependencies>
87                 </profile>
88         </profiles>
89 </project>