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