]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.e4.rap/pom.xml
Introduce Eclipse 4 support
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.e4.rap / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.argeo.slc</groupId>
7 <artifactId>dep</artifactId>
8 <version>2.1.13-SNAPSHOT</version>
9 <relativePath>..</relativePath>
10 </parent>
11 <artifactId>org.argeo.slc.dep.e4.rap</artifactId>
12 <name>SLC E4 RAP</name>
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.felix</groupId>
17 <artifactId>maven-bundle-plugin</artifactId>
18 <configuration>
19 <instructions>
20 <SLC-ModularDistribution>default</SLC-ModularDistribution>
21 </instructions>
22 </configuration>
23 </plugin>
24 <plugin>
25 <groupId>org.argeo.maven.plugins</groupId>
26 <artifactId>maven-argeo-osgi-plugin</artifactId>
27 <executions>
28 <execution>
29 <id>generate-descriptors</id>
30 <goals>
31 <goal>descriptors</goal>
32 </goals>
33 <phase>generate-resources</phase>
34 </execution>
35 </executions>
36 </plugin>
37 </plugins>
38 </build>
39 <dependencies>
40 <!-- Parent dependencies -->
41 <dependency>
42 <groupId>org.argeo.commons</groupId>
43 <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
44 <version>${version.argeo-commons}</version>
45 </dependency>
46 <dependency>
47 <groupId>org.argeo.slc</groupId>
48 <artifactId>org.argeo.slc.dep.minimal</artifactId>
49 <version>2.1.13-SNAPSHOT</version>
50 </dependency>
51
52
53 <dependency>
54 <groupId>org.argeo.slc</groupId>
55 <artifactId>org.argeo.slc.e4</artifactId>
56 <version>2.1.13-SNAPSHOT</version>
57 </dependency>
58 <!-- SLC Libs -->
59 <!-- <dependency> -->
60 <!-- <groupId>org.argeo.slc</groupId> -->
61 <!-- <artifactId>org.argeo.slc.lib.repo</artifactId> -->
62 <!-- <version>1.1.14-SNAPSHOT</version> -->
63 <!-- </dependency> -->
64 <!-- <dependency> -->
65 <!-- <groupId>org.argeo.slc</groupId> -->
66 <!-- <artifactId>org.argeo.slc.lib.jcr</artifactId> -->
67 <!-- <version>1.1.14-SNAPSHOT</version> -->
68 <!-- </dependency> -->
69
70 <!-- Extensions <dependency> <groupId>org.argeo.slc</groupId> <artifactId>org.argeo.slc.support</artifactId>
71 <version>2.1.13-SNAPSHOT</version> </dependency> -->
72 <!-- UI <dependency> <groupId>org.argeo.slc</groupId> <artifactId>org.argeo.slc.client.ui</artifactId>
73 <version>2.1.13-SNAPSHOT</version> </dependency> <dependency> <groupId>org.argeo.slc</groupId>
74 <artifactId>org.argeo.slc.client.ui.dist</artifactId> <version>2.1.13-SNAPSHOT</version>
75 </dependency> <dependency> <groupId>org.argeo.slc</groupId> <artifactId>org.argeo.slc.client.rap</artifactId>
76 <version>2.1.13-SNAPSHOT</version> </dependency> -->
77
78 <!-- For target platform generation <dependency> <groupId>org.argeo.slc</groupId>
79 <artifactId>org.argeo.slc.unit</artifactId> <version>2.1.13-SNAPSHOT</version>
80 <scope>test</scope> </dependency> -->
81 </dependencies>
82 <profiles>
83 <profile>
84 <id>rpmbuild</id>
85 <build>
86 <plugins>
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-dependency-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>copy-argeo</id>
93 <phase>package</phase>
94 <goals>
95 <goal>copy-dependencies</goal>
96 </goals>
97 <configuration>
98 <includeTypes>jar</includeTypes>
99 <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory>
100 <includeGroupIds>org.argeo.slc</includeGroupIds>
101 <excludeTransitive>true</excludeTransitive>
102 <excludeArtifactIds>org.argeo.slc.dep.minimal</excludeArtifactIds>
103 <includeTypes>jar</includeTypes>
104 <includeScope>runtime</includeScope>
105 <useRepositoryLayout>true</useRepositoryLayout>
106 </configuration>
107 </execution>
108 <!-- <execution> -->
109 <!-- <id>copy-argeo-self</id> -->
110 <!-- <phase>package</phase> -->
111 <!-- <goals> -->
112 <!-- <goal>copy</goal> -->
113 <!-- </goals> -->
114 <!-- <configuration> -->
115 <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
116 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
117 <!-- <artifactItems> -->
118 <!-- <artifactItem> -->
119 <!-- <groupId>${project.groupId}</groupId> -->
120 <!-- <artifactId>${project.artifactId}</artifactId> -->
121 <!-- <version>${project.version}</version> -->
122 <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
123 <!-- </artifactItem> -->
124 <!-- </artifactItems> -->
125 <!-- </configuration> -->
126 <!-- </execution> -->
127 </executions>
128 </plugin>
129 <plugin>
130 <groupId>org.codehaus.mojo</groupId>
131 <artifactId>rpm-maven-plugin</artifactId>
132 <executions>
133 <execution>
134 <id>rpm-argeo</id>
135 <phase>package</phase>
136 <goals>
137 <goal>rpm</goal>
138 </goals>
139 <configuration>
140 <name>slc-e4-rap</name>
141 <mappings>
142 <mapping>
143 <directory>/usr/share/osgi</directory>
144 <username>root</username>
145 <groupname>root</groupname>
146 <filemode>644</filemode>
147 <directoryIncluded>true</directoryIncluded>
148 <sources>
149 <source>
150 <location>${project.build.directory}/lib-argeo</location>
151 <includes>
152 <include>**/*.jar</include>
153 </includes>
154 </source>
155 </sources>
156 </mapping>
157 <mapping>
158 <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory>
159 <username>root</username>
160 <groupname>root</groupname>
161 <directoryIncluded>false</directoryIncluded>
162 <artifact />
163 </mapping>
164 </mappings>
165 <requires>
166 <require>argeo-cms-e4-rap</require>
167 <require>slc-agent</require>
168 </requires>
169 </configuration>
170 </execution>
171 </executions>
172 </plugin>
173 </plugins>
174 </build>
175 </profile>
176 </profiles>
177 </project>