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