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