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