]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.minimal/pom.xml
e518262485128a882eb6f80bed0db8dec5e02ba8
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.minimal / 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.17-SNAPSHOT</version>
9 <relativePath>..</relativePath>
10 </parent>
11 <artifactId>org.argeo.slc.dep.minimal</artifactId>
12 <name>SLC Agent</name>
13 <dependencies>
14 <!-- Parent dependencies -->
15 <dependency>
16 <groupId>org.argeo.commons</groupId>
17 <artifactId>org.argeo.dep.cms.node</artifactId>
18 <version>${version.argeo-commons}</version>
19 <type>pom</type>
20 </dependency>
21
22 <!-- Absolutely minimal SLC Agent -->
23 <dependency>
24 <groupId>org.argeo.slc</groupId>
25 <artifactId>org.argeo.slc.api</artifactId>
26 <version>2.1.17-SNAPSHOT</version>
27 </dependency>
28
29 <!-- CLI Agent -->
30 <!-- <dependency> -->
31 <!-- <groupId>org.argeo.slc</groupId> -->
32 <!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
33 <!-- <version>1.1.12-SNAPSHOT</version> -->
34 <!-- </dependency> -->
35 <!-- <dependency> -->
36 <!-- <groupId>org.argeo.slc</groupId> -->
37 <!-- <artifactId>org.argeo.slc.agent.cli</artifactId> -->
38 <!-- <version>2.1.1-SNAPSHOT</version> -->
39 <!-- </dependency> -->
40
41 </dependencies>
42 <profiles>
43 <profile>
44 <id>rpmbuild</id>
45 <build>
46 <plugins>
47 <plugin>
48 <artifactId>maven-assembly-plugin</artifactId>
49 <executions>
50 <execution>
51 <id>prepare-source</id>
52 <phase>package</phase>
53 <goals>
54 <goal>single</goal>
55 </goals>
56 <configuration>
57 <descriptorRefs>
58 <descriptorRef>a2-source</descriptorRef>
59 </descriptorRefs>
60 </configuration>
61 </execution>
62 </executions>
63 </plugin>
64 <plugin>
65 <groupId>org.codehaus.mojo</groupId>
66 <artifactId>rpm-maven-plugin</artifactId>
67 <executions>
68 <execution>
69 <id>rpm-argeo</id>
70 <phase>package</phase>
71 <goals>
72 <goal>rpm</goal>
73 </goals>
74 <configuration>
75 <name>slc-agent</name>
76 <mappings>
77 <mapping>
78 <directory>/usr/share/osgi</directory>
79 <username>root</username>
80 <groupname>root</groupname>
81 <filemode>644</filemode>
82 <directoryIncluded>true</directoryIncluded>
83 <sources>
84 <source>
85 <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
86 <includes>
87 <include>**/*.jar</include>
88 </includes>
89 </source>
90 </sources>
91 </mapping>
92 </mappings>
93 <requires>
94 <require>argeo-cms-node</require>
95 </requires>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 </plugins>
101 </build>
102 </profile>
103 </profiles>
104 </project>