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