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