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