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