]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.rcp/pom.xml
[maven-release-plugin] prepare for next development iteration
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.rcp / 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.13-SNAPSHOT</version>
7 <relativePath>..</relativePath>
8 </parent>
9 <artifactId>org.argeo.slc.dep.rcp</artifactId>
10 <name>SLC Eclipse RCP Dependencies</name>
11 <build>
12 <plugins>
13 <plugin>
14 <groupId>org.apache.felix</groupId>
15 <artifactId>maven-bundle-plugin</artifactId>
16 <configuration>
17 <instructions>
18 <SLC-ModularDistribution>default</SLC-ModularDistribution>
19 </instructions>
20 </configuration>
21 </plugin>
22 <plugin>
23 <groupId>org.argeo.maven.plugins</groupId>
24 <artifactId>maven-argeo-osgi-plugin</artifactId>
25 <executions>
26 <execution>
27 <id>generate-descriptors</id>
28 <goals>
29 <goal>descriptors</goal>
30 </goals>
31 <phase>generate-resources</phase>
32 </execution>
33 </executions>
34 </plugin>
35 </plugins>
36 </build>
37 <dependencies>
38 <!-- Perspectives -->
39 <dependency>
40 <groupId>org.argeo.slc</groupId>
41 <artifactId>org.argeo.slc.dep.eclipse</artifactId>
42 <version>1.1.13-SNAPSHOT</version>
43 </dependency>
44 <dependency>
45 <groupId>org.argeo.slc</groupId>
46 <artifactId>org.argeo.slc.client.rcp</artifactId>
47 <version>1.1.13-SNAPSHOT</version>
48 </dependency>
49
50 <!-- Secure Application -->
51 <dependency>
52 <groupId>org.argeo.commons.security</groupId>
53 <artifactId>org.argeo.security.dep.node.rcp</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>1.1.13-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>1.1.13-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-rcp</id>
105 <phase>package</phase>
106 <goals>
107 <goal>rpm</goal>
108 </goals>
109 <configuration>
110 <name>slc-rcp</name>
111 <mappings>
112 <mapping>
113 <directory>/usr/share/osgi/rcp</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.rcp</include>
121 </includes>
122 </dependency>
123 </mapping>
124 <mapping>
125 <directory>/usr/bin</directory>
126 <username>root</username>
127 <groupname>root</groupname>
128 <filemode>755</filemode>
129 <directoryIncluded>false</directoryIncluded>
130 <sources>
131 <source>
132 <location>src/main/rpm/usr/bin</location>
133 </source>
134 </sources>
135 </mapping>
136 <mapping>
137 <directory>/etc/slc-rcp</directory>
138 <username>root</username>
139 <groupname>root</groupname>
140 <filemode>644</filemode>
141 <directoryIncluded>false</directoryIncluded>
142 <sources>
143 <source>
144 <location>src/main/rpm/etc/slc-rcp</location>
145 </source>
146 </sources>
147 </mapping>
148 </mappings>
149 <requires>
150 <require>slc-eclipse</require>
151 <require>argeo-node-rcp</require>
152 <require>osgi-boot</require>
153 </requires>
154 </configuration>
155 </execution>
156 </executions>
157 </plugin>
158 <plugin>
159 <artifactId>maven-antrun-plugin</artifactId>
160 <executions>
161 <execution>
162 <phase>install</phase>
163 <goals>
164 <goal>run</goal>
165 </goals>
166 <configuration>
167 <target>
168 <copy todir="${rpm.stagingRepository}" verbose="true">
169 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
170 <flattenmapper />
171 </copy>
172 </target>
173 </configuration>
174 </execution>
175 </executions>
176 </plugin>
177 </plugins>
178 </build>
179 </profile>
180 <profile>
181 <id>pdeSources</id>
182 <build>
183 <plugins>
184 <plugin>
185 <groupId>org.argeo.maven.plugins</groupId>
186 <artifactId>maven-argeo-osgi-plugin</artifactId>
187 <executions>
188 <execution>
189 <id>resolve-pde-sources</id>
190 <goals>
191 <goal>pde-sources</goal>
192 </goals>
193 <phase>generate-resources</phase>
194 </execution>
195 </executions>
196 </plugin>
197 </plugins>
198 </build>
199 </profile>
200 </profiles>
201 </project>