]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.minimal/pom.xml
Working SLC RPMs
[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.api</artifactId>
47 <version>2.1.1-SNAPSHOT</version>
48 </dependency>
49 <dependency>
50 <groupId>org.argeo.slc</groupId>
51 <artifactId>org.argeo.slc.core</artifactId>
52 <version>2.1.1-SNAPSHOT</version>
53 </dependency>
54 <dependency>
55 <groupId>org.argeo.slc</groupId>
56 <artifactId>org.argeo.slc.agent</artifactId>
57 <version>2.1.1-SNAPSHOT</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>rpmbuild</id>
94 <build>
95 <plugins>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-dependency-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>copy-argeo</id>
102 <phase>package</phase>
103 <goals>
104 <goal>copy-dependencies</goal>
105 </goals>
106 <configuration>
107 <includeTypes>jar</includeTypes>
108 <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory>
109 <includeGroupIds>org.argeo.slc</includeGroupIds>
110 <excludeTransitive>true</excludeTransitive>
111 <includeTypes>jar</includeTypes>
112 <includeScope>runtime</includeScope>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
117 <plugin>
118 <groupId>org.codehaus.mojo</groupId>
119 <artifactId>rpm-maven-plugin</artifactId>
120 <executions>
121 <execution>
122 <id>rpm-argeo</id>
123 <phase>package</phase>
124 <goals>
125 <goal>rpm</goal>
126 </goals>
127 <configuration>
128 <name>slc-agent</name>
129 <mappings>
130 <mapping>
131 <directory>/usr/share/osgi</directory>
132 <username>root</username>
133 <groupname>root</groupname>
134 <filemode>644</filemode>
135 <directoryIncluded>false</directoryIncluded>
136 <sources>
137 <source>
138 <location>${project.build.directory}/lib-argeo</location>
139 <includes>
140 <include>*.jar</include>
141 </includes>
142 </source>
143 </sources>
144 </mapping>
145 </mappings>
146 <requires>
147 <require>argeo-cms-node</require>
148 </requires>
149 </configuration>
150 </execution>
151 </executions>
152 </plugin>
153 </plugins>
154 </build>
155 </profile>
156 </profiles>
157 </project>