]> git.argeo.org Git - gpl/argeo-slc.git/blob - pom.xml
e96ae310655d9abff5de04f0ee917dd51cef59c6
[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>2.1.5-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <artifactId>org.argeo.slc.dep.backend</artifactId>
11 <name>SLC Backend</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.minimal</artifactId>
42 <version>2.1.5-SNAPSHOT</version>
43 <type>pom</type>
44 </dependency>
45
46 <!-- SLC Libs -->
47 <!-- <dependency> -->
48 <!-- <groupId>org.argeo.slc</groupId> -->
49 <!-- <artifactId>org.argeo.slc.lib.repo</artifactId> -->
50 <!-- <version>1.1.14-SNAPSHOT</version> -->
51 <!-- </dependency> -->
52 <!-- <dependency> -->
53 <!-- <groupId>org.argeo.slc</groupId> -->
54 <!-- <artifactId>org.argeo.slc.lib.jcr</artifactId> -->
55 <!-- <version>1.1.14-SNAPSHOT</version> -->
56 <!-- </dependency> -->
57
58 <!-- Extensions -->
59 <dependency>
60 <groupId>org.argeo.slc</groupId>
61 <artifactId>org.argeo.slc.support</artifactId>
62 <version>2.1.5-SNAPSHOT</version>
63 </dependency>
64
65 <!-- SLC Repo -->
66 <dependency>
67 <groupId>org.argeo.slc</groupId>
68 <artifactId>org.argeo.slc.repo</artifactId>
69 <version>2.1.5-SNAPSHOT</version>
70 </dependency>
71 <dependency>
72 <groupId>org.argeo.slc</groupId>
73 <artifactId>org.argeo.slc.factory</artifactId>
74 <version>2.1.5-SNAPSHOT</version>
75 </dependency>
76 <dependency>
77 <groupId>org.argeo.slc</groupId>
78 <artifactId>org.argeo.slc.server.repo</artifactId>
79 <version>2.1.5-SNAPSHOT</version>
80 </dependency>
81 <!-- <dependency> -->
82 <!-- <groupId>org.argeo.slc</groupId> -->
83 <!-- <artifactId>org.argeo.slc.server.repo.webapp</artifactId> -->
84 <!-- <version>2.1.1-SNAPSHOT</version> -->
85 <!-- </dependency> -->
86
87 <!-- Node -->
88 <dependency>
89 <groupId>org.argeo.commons</groupId>
90 <artifactId>org.argeo.dep.cms.sdk</artifactId>
91 <version>${version.argeo-commons}</version>
92 </dependency>
93
94 <!-- UI -->
95 <dependency>
96 <groupId>org.argeo.slc</groupId>
97 <artifactId>org.argeo.slc.client.ui</artifactId>
98 <version>2.1.5-SNAPSHOT</version>
99 </dependency>
100 <dependency>
101 <groupId>org.argeo.slc</groupId>
102 <artifactId>org.argeo.slc.client.ui.dist</artifactId>
103 <version>2.1.5-SNAPSHOT</version>
104 </dependency>
105 <dependency>
106 <groupId>org.argeo.slc</groupId>
107 <artifactId>org.argeo.slc.client.rap</artifactId>
108 <version>2.1.5-SNAPSHOT</version>
109 </dependency>
110
111 <!-- For target platform generation -->
112 <dependency>
113 <groupId>org.argeo.slc</groupId>
114 <artifactId>org.argeo.slc.unit</artifactId>
115 <version>2.1.5-SNAPSHOT</version>
116 <scope>test</scope>
117 </dependency>
118 </dependencies>
119 <profiles>
120 <profile>
121 <id>rpmbuild</id>
122 <build>
123 <plugins>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-dependency-plugin</artifactId>
127 <executions>
128 <execution>
129 <id>copy-argeo</id>
130 <phase>package</phase>
131 <goals>
132 <goal>copy-dependencies</goal>
133 </goals>
134 <configuration>
135 <includeTypes>jar</includeTypes>
136 <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory>
137 <includeGroupIds>org.argeo.slc</includeGroupIds>
138 <excludeTransitive>true</excludeTransitive>
139 <includeTypes>jar</includeTypes>
140 <includeScope>runtime</includeScope>
141 <useRepositoryLayout>true</useRepositoryLayout>
142 </configuration>
143 </execution>
144 <!-- <execution> -->
145 <!-- <id>copy-argeo-self</id> -->
146 <!-- <phase>package</phase> -->
147 <!-- <goals> -->
148 <!-- <goal>copy</goal> -->
149 <!-- </goals> -->
150 <!-- <configuration> -->
151 <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
152 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
153 <!-- <artifactItems> -->
154 <!-- <artifactItem> -->
155 <!-- <groupId>${project.groupId}</groupId> -->
156 <!-- <artifactId>${project.artifactId}</artifactId> -->
157 <!-- <version>${project.version}</version> -->
158 <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
159 <!-- </artifactItem> -->
160 <!-- </artifactItems> -->
161 <!-- </configuration> -->
162 <!-- </execution> -->
163 </executions>
164 </plugin>
165 <plugin>
166 <groupId>org.codehaus.mojo</groupId>
167 <artifactId>rpm-maven-plugin</artifactId>
168 <executions>
169 <execution>
170 <id>rpm-argeo</id>
171 <phase>package</phase>
172 <goals>
173 <goal>rpm</goal>
174 </goals>
175 <configuration>
176 <name>slc-platform</name>
177 <mappings>
178 <mapping>
179 <directory>/usr/share/osgi</directory>
180 <username>root</username>
181 <groupname>root</groupname>
182 <filemode>644</filemode>
183 <directoryIncluded>true</directoryIncluded>
184 <sources>
185 <source>
186 <location>${project.build.directory}/lib-argeo</location>
187 <includes>
188 <include>**/*.jar</include>
189 </includes>
190 </source>
191 </sources>
192 </mapping>
193 <mapping>
194 <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory>
195 <username>root</username>
196 <groupname>root</groupname>
197 <directoryIncluded>false</directoryIncluded>
198 <artifact />
199 </mapping>
200 </mappings>
201 <requires>
202 <require>argeo-cms-platform</require>
203 <require>argeo-cms-sdk-tp</require>
204 <require>slc-agent</require>
205 </requires>
206 </configuration>
207 </execution>
208 </executions>
209 </plugin>
210 </plugins>
211 </build>
212 </profile>
213 </profiles>
214 </project>