]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.rap/pom.xml
Generate MANIFESTs
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.rap / 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.rap</artifactId>
11 <name>SLC Eclipse RAP 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 <dependency>
31 <groupId>org.argeo.slc.dep</groupId>
32 <artifactId>org.argeo.slc.dep.eclipse</artifactId>
33 <version>1.1.3-SNAPSHOT</version>
34 </dependency>
35 <dependency>
36 <groupId>org.argeo.slc</groupId>
37 <artifactId>org.argeo.slc.client.rap</artifactId>
38 <version>1.1.3-SNAPSHOT</version>
39 </dependency>
40
41 <!-- Secure Application -->
42 <dependency>
43 <groupId>org.argeo.commons.security</groupId>
44 <artifactId>org.argeo.security.dep.node.rap</artifactId>
45 <version>${version.argeo-commons}</version>
46 </dependency>
47 </dependencies>
48 <profiles>
49 <profile>
50 <id>check-osgi</id>
51 <build>
52 <plugins>
53 <plugin>
54 <groupId>org.argeo.maven.plugins</groupId>
55 <artifactId>maven-argeo-osgi-plugin</artifactId>
56 <executions>
57 <execution>
58 <id>check-osgi</id>
59 <phase>test</phase>
60 <goals>
61 <goal>equinox</goal>
62 </goals>
63 <configuration>
64 <onlyCheck>true</onlyCheck>
65 </configuration>
66 </execution>
67 </executions>
68 </plugin>
69 </plugins>
70 </build>
71 </profile>
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-rap</id>
82 <phase>package</phase>
83 <goals>
84 <goal>rpm</goal>
85 </goals>
86 <configuration>
87 <name>slc-rap</name>
88 <copyright>2011 Argeo</copyright>
89 <mappings>
90 <mapping>
91 <directory>/usr/share/osgi/rap</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.rap</include>
99 </includes>
100 </dependency>
101 </mapping>
102 </mappings>
103 <requires>
104 <require>slc-eclipse</require>
105 <require>argeo-node-rap</require>
106 </requires>
107 </configuration>
108 </execution>
109 </executions>
110 </plugin>
111 <plugin>
112 <artifactId>maven-antrun-plugin</artifactId>
113 <executions>
114 <execution>
115 <phase>install</phase>
116 <goals>
117 <goal>run</goal>
118 </goals>
119 <configuration>
120 <target>
121 <copy todir="${rpm.stagingRepository}" verbose="true">
122 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
123 <flattenmapper />
124 </copy>
125 </target>
126 </configuration>
127 </execution>
128 </executions>
129 </plugin>
130 </plugins>
131 </build>
132 </profile>
133 <profile>
134 <id>pdeSources</id>
135 <build>
136 <plugins>
137 <plugin>
138 <groupId>org.argeo.maven.plugins</groupId>
139 <artifactId>maven-argeo-osgi-plugin</artifactId>
140 <executions>
141 <execution>
142 <id>resolve-pde-sources</id>
143 <goals>
144 <goal>pde-sources</goal>
145 </goals>
146 <phase>generate-resources</phase>
147 </execution>
148 </executions>
149 </plugin>
150 </plugins>
151 </build>
152 </profile>
153 </profiles>
154 </project>