]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.rcp/pom.xml
Remove unused directories
[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.4-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.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 <!-- Perspectives -->
30 <dependency>
31 <groupId>org.argeo.slc</groupId>
32 <artifactId>org.argeo.slc.dep.eclipse</artifactId>
33 <version>1.1.4-SNAPSHOT</version>
34 </dependency>
35 <dependency>
36 <groupId>org.argeo.slc</groupId>
37 <artifactId>org.argeo.slc.client.rcp</artifactId>
38 <version>1.1.4-SNAPSHOT</version>
39 </dependency>
40
41 <!-- Secure Application -->
42 <dependency>
43 <groupId>org.argeo.commons.security</groupId>
44 <artifactId>org.argeo.security.dep.node.rcp</artifactId>
45 <version>${version.argeo-commons}</version>
46 </dependency>
47
48 <!-- For target platform generation -->
49 <dependency>
50 <groupId>org.argeo.slc</groupId>
51 <artifactId>org.argeo.slc.unit</artifactId>
52 <version>1.1.4-SNAPSHOT</version>
53 <scope>test</scope>
54 </dependency>
55 <dependency>
56 <groupId>org.argeo.slc</groupId>
57 <artifactId>org.argeo.slc.support.maven</artifactId>
58 <version>1.1.4-SNAPSHOT</version>
59 <scope>test</scope>
60 </dependency>
61 </dependencies>
62 <profiles>
63 <profile>
64 <id>check-osgi</id>
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.argeo.maven.plugins</groupId>
69 <artifactId>maven-argeo-osgi-plugin</artifactId>
70 <executions>
71 <execution>
72 <id>check-osgi</id>
73 <phase>test</phase>
74 <goals>
75 <goal>equinox</goal>
76 </goals>
77 <configuration>
78 <onlyCheck>true</onlyCheck>
79 </configuration>
80 </execution>
81 </executions>
82 </plugin>
83 </plugins>
84 </build>
85 </profile>
86 <profile>
87 <id>rpmbuild</id>
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>rpm-maven-plugin</artifactId>
93 <executions>
94 <execution>
95 <id>rpm-slc-rcp</id>
96 <phase>package</phase>
97 <goals>
98 <goal>rpm</goal>
99 </goals>
100 <configuration>
101 <name>slc-rcp</name>
102 <copyright>2011 Argeo</copyright>
103 <mappings>
104 <mapping>
105 <directory>/usr/share/osgi/rcp</directory>
106 <username>root</username>
107 <groupname>root</groupname>
108 <filemode>644</filemode>
109 <directoryIncluded>false</directoryIncluded>
110 <dependency>
111 <includes>
112 <include>org.argeo.slc:org.argeo.slc.client.rcp</include>
113 </includes>
114 </dependency>
115 </mapping>
116 <mapping>
117 <directory>/usr/bin</directory>
118 <username>root</username>
119 <groupname>root</groupname>
120 <filemode>755</filemode>
121 <directoryIncluded>false</directoryIncluded>
122 <sources>
123 <source>
124 <location>src/main/rpm/usr/bin</location>
125 </source>
126 </sources>
127 </mapping>
128 <mapping>
129 <directory>/etc/slc-rcp</directory>
130 <username>root</username>
131 <groupname>root</groupname>
132 <filemode>644</filemode>
133 <directoryIncluded>false</directoryIncluded>
134 <sources>
135 <source>
136 <location>src/main/rpm/etc/slc-rcp</location>
137 </source>
138 </sources>
139 </mapping>
140 </mappings>
141 <requires>
142 <require>slc-eclipse</require>
143 <require>argeo-node-rcp</require>
144 <require>osgi-boot</require>
145 </requires>
146 </configuration>
147 </execution>
148 </executions>
149 </plugin>
150 <plugin>
151 <artifactId>maven-antrun-plugin</artifactId>
152 <executions>
153 <execution>
154 <phase>install</phase>
155 <goals>
156 <goal>run</goal>
157 </goals>
158 <configuration>
159 <target>
160 <copy todir="${rpm.stagingRepository}" verbose="true">
161 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
162 <flattenmapper />
163 </copy>
164 </target>
165 </configuration>
166 </execution>
167 </executions>
168 </plugin>
169 </plugins>
170 </build>
171 </profile>
172 <profile>
173 <id>pdeSources</id>
174 <build>
175 <plugins>
176 <plugin>
177 <groupId>org.argeo.maven.plugins</groupId>
178 <artifactId>maven-argeo-osgi-plugin</artifactId>
179 <executions>
180 <execution>
181 <id>resolve-pde-sources</id>
182 <goals>
183 <goal>pde-sources</goal>
184 </goals>
185 <phase>generate-resources</phase>
186 </execution>
187 </executions>
188 </plugin>
189 </plugins>
190 </build>
191 </profile>
192 </profiles>
193 </project>