]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.minimal/pom.xml
RPM build
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.minimal / 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.minimal</artifactId>
11 <name>SLC Agent</name>
12 <build>
13 <plugins>
14 <plugin>
15 <groupId>org.argeo.maven.plugins</groupId>
16 <artifactId>maven-argeo-osgi-plugin</artifactId>
17 <executions>
18 <execution>
19 <id>generate-descriptors</id>
20 <goals>
21 <goal>descriptors</goal>
22 </goals>
23 <phase>generate-resources</phase>
24 </execution>
25 </executions>
26 </plugin>
27 <plugin>
28 <groupId>org.apache.maven.plugins</groupId>
29 <artifactId>maven-dependency-plugin</artifactId>
30 <executions>
31 <execution>
32 <id>copy-dependencies</id>
33 <phase>package</phase>
34 <goals>
35 <goal>copy-dependencies</goal>
36 </goals>
37 </execution>
38 </executions>
39 </plugin>
40 </plugins>
41 </build>
42 <dependencies>
43 <!-- Absolutely minimal SLC Agent -->
44 <dependency>
45 <groupId>org.argeo.slc</groupId>
46 <artifactId>org.argeo.slc.core</artifactId>
47 <version>2.1.1-SNAPSHOT</version>
48 </dependency>
49 <dependency>
50 <groupId>org.argeo.slc</groupId>
51 <artifactId>org.argeo.slc.agent</artifactId>
52 <version>2.1.1-SNAPSHOT</version>
53 </dependency>
54 <dependency>
55 <groupId>org.argeo.commons</groupId>
56 <artifactId>org.argeo.osgi.boot</artifactId>
57 <version>${version.argeo-commons}</version>
58 </dependency>
59
60 <!-- CLI Agent -->
61 <!-- <dependency> -->
62 <!-- <groupId>org.argeo.slc</groupId> -->
63 <!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
64 <!-- <version>1.1.12-SNAPSHOT</version> -->
65 <!-- </dependency> -->
66 <!-- <dependency> -->
67 <!-- <groupId>org.argeo.slc</groupId> -->
68 <!-- <artifactId>org.argeo.slc.agent.cli</artifactId> -->
69 <!-- <version>2.1.1-SNAPSHOT</version> -->
70 <!-- </dependency> -->
71
72 <!-- JCR Agent -->
73 <dependency>
74 <groupId>org.argeo.slc</groupId>
75 <artifactId>org.argeo.slc.agent.jcr</artifactId>
76 <version>2.1.1-SNAPSHOT</version>
77 </dependency>
78 <dependency>
79 <groupId>org.argeo.slc</groupId>
80 <artifactId>org.argeo.slc.node.jackrabbit</artifactId>
81 <version>2.1.1-SNAPSHOT</version>
82 </dependency>
83
84 <!-- Node -->
85 <dependency>
86 <groupId>org.argeo.commons</groupId>
87 <artifactId>org.argeo.dep.cms.node</artifactId>
88 <version>${version.argeo-commons}</version>
89 </dependency>
90 </dependencies>
91 <profiles>
92 <profile>
93 <id>check-osgi</id>
94 <build>
95 <plugins>
96 <plugin>
97 <groupId>org.argeo.maven.plugins</groupId>
98 <artifactId>maven-argeo-osgi-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>check-osgi</id>
102 <phase>test</phase>
103 <goals>
104 <goal>equinox</goal>
105 </goals>
106 <configuration>
107 <onlyCheck>true</onlyCheck>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
112 </plugins>
113 </build>
114 </profile>
115 <profile>
116 <id>rpmbuild</id>
117 <build>
118 <plugins>
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-dependency-plugin</artifactId>
122 <executions>
123 <execution>
124 <id>copy-argeo</id>
125 <phase>package</phase>
126 <goals>
127 <goal>copy-dependencies</goal>
128 </goals>
129 <configuration>
130 <includeTypes>jar</includeTypes>
131 <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory>
132 <includeGroupIds>org.argeo.slc</includeGroupIds>
133 <excludeTransitive>true</excludeTransitive>
134 <includeTypes>jar</includeTypes>
135 <includeScope>runtime</includeScope>
136 </configuration>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <groupId>org.codehaus.mojo</groupId>
142 <artifactId>rpm-maven-plugin</artifactId>
143 <executions>
144 <execution>
145 <id>rpm-argeo</id>
146 <phase>package</phase>
147 <goals>
148 <goal>rpm</goal>
149 </goals>
150 <configuration>
151 <name>slc-agent</name>
152 <mappings>
153 <mapping>
154 <directory>/usr/share/osgi</directory>
155 <username>root</username>
156 <groupname>root</groupname>
157 <filemode>644</filemode>
158 <directoryIncluded>false</directoryIncluded>
159 <sources>
160 <source>
161 <location>${project.build.directory}/lib-argeo</location>
162 <includes>
163 <include>*.jar</include>
164 </includes>
165 </source>
166 </sources>
167 </mapping>
168 </mappings>
169 <requires>
170 <require>argeo-cms-node</require>
171 </requires>
172 </configuration>
173 </execution>
174 </executions>
175 </plugin>
176 </plugins>
177 </build>
178 </profile>
179 </profiles>
180 </project>