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