]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.rap/pom.xml
Make BND optional
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.rap / pom.xml
1 <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">
2 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>org.argeo.slc</groupId>
5 <artifactId>dep</artifactId>
6 <version>1.1.4-SNAPSHOT</version>
7 <relativePath>..</relativePath>
8 </parent>
9 <artifactId>org.argeo.slc.dep.rap</artifactId>
10 <name>SLC Eclipse RAP Dependencies</name>
11 <build>
12 <plugins>
13 <plugin>
14 <groupId>org.argeo.maven.plugins</groupId>
15 <artifactId>maven-argeo-osgi-plugin</artifactId>
16 <executions>
17 <execution>
18 <id>generate-descriptors</id>
19 <goals>
20 <goal>descriptors</goal>
21 </goals>
22 <phase>generate-resources</phase>
23 </execution>
24 </executions>
25 </plugin>
26 </plugins>
27 </build>
28 <dependencies>
29 <dependency>
30 <groupId>org.argeo.slc</groupId>
31 <artifactId>org.argeo.slc.dep.eclipse</artifactId>
32 <version>1.1.4-SNAPSHOT</version>
33 </dependency>
34 <dependency>
35 <groupId>org.argeo.slc</groupId>
36 <artifactId>org.argeo.slc.client.rap</artifactId>
37 <version>1.1.4-SNAPSHOT</version>
38 </dependency>
39
40 <!-- Secure Application -->
41 <dependency>
42 <groupId>org.argeo.commons.security</groupId>
43 <artifactId>org.argeo.security.dep.node.rap</artifactId>
44 <version>${version.argeo-commons}</version>
45 </dependency>
46 </dependencies>
47 <profiles>
48 <profile>
49 <id>check-osgi</id>
50 <build>
51 <plugins>
52 <plugin>
53 <groupId>org.argeo.maven.plugins</groupId>
54 <artifactId>maven-argeo-osgi-plugin</artifactId>
55 <executions>
56 <execution>
57 <id>check-osgi</id>
58 <phase>test</phase>
59 <goals>
60 <goal>equinox</goal>
61 </goals>
62 <configuration>
63 <onlyCheck>true</onlyCheck>
64 </configuration>
65 </execution>
66 </executions>
67 </plugin>
68 </plugins>
69 </build>
70 </profile>
71 <profile>
72 <id>rpmbuild</id>
73 <build>
74 <plugins>
75 <plugin>
76 <groupId>org.codehaus.mojo</groupId>
77 <artifactId>rpm-maven-plugin</artifactId>
78 <executions>
79 <execution>
80 <id>rpm-slc-rap</id>
81 <phase>package</phase>
82 <goals>
83 <goal>rpm</goal>
84 </goals>
85 <configuration>
86 <name>slc-rap</name>
87 <copyright>2011 Argeo</copyright>
88 <mappings>
89 <mapping>
90 <directory>/usr/share/osgi/rap</directory>
91 <username>root</username>
92 <groupname>root</groupname>
93 <filemode>644</filemode>
94 <directoryIncluded>false</directoryIncluded>
95 <dependency>
96 <includes>
97 <include>org.argeo.slc:org.argeo.slc.client.rap</include>
98 </includes>
99 </dependency>
100 </mapping>
101 </mappings>
102 <requires>
103 <require>slc-eclipse</require>
104 <require>argeo-node-rap</require>
105 </requires>
106 </configuration>
107 </execution>
108 </executions>
109 </plugin>
110 <plugin>
111 <artifactId>maven-antrun-plugin</artifactId>
112 <executions>
113 <execution>
114 <phase>install</phase>
115 <goals>
116 <goal>run</goal>
117 </goals>
118 <configuration>
119 <target>
120 <copy todir="${rpm.stagingRepository}" verbose="true">
121 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
122 <flattenmapper />
123 </copy>
124 </target>
125 </configuration>
126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130 </build>
131 </profile>
132 <profile>
133 <id>pdeSources</id>
134 <build>
135 <plugins>
136 <plugin>
137 <groupId>org.argeo.maven.plugins</groupId>
138 <artifactId>maven-argeo-osgi-plugin</artifactId>
139 <executions>
140 <execution>
141 <id>resolve-pde-sources</id>
142 <goals>
143 <goal>pde-sources</goal>
144 </goals>
145 <phase>generate-resources</phase>
146 </execution>
147 </executions>
148 </plugin>
149 </plugins>
150 </build>
151 </profile>
152 </profiles>
153 </project>