]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.minimal/pom.xml
af9bbdcf52732e60616ad026c7517cfa3ced67be
[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" 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.12-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 <!-- Parent dependencies -->
43 <dependency>
44 <groupId>org.argeo.commons</groupId>
45 <artifactId>org.argeo.dep.cms.node</artifactId>
46 <version>${version.argeo-commons}</version>
47 </dependency>
48
49 <!-- Absolutely minimal SLC Agent -->
50 <dependency>
51 <groupId>org.argeo.slc</groupId>
52 <artifactId>org.argeo.slc.api</artifactId>
53 <version>2.1.12-SNAPSHOT</version>
54 </dependency>
55 <dependency>
56 <groupId>org.argeo.slc</groupId>
57 <artifactId>org.argeo.slc.core</artifactId>
58 <version>2.1.12-SNAPSHOT</version>
59 </dependency>
60 <dependency>
61 <groupId>org.argeo.slc</groupId>
62 <artifactId>org.argeo.slc.agent</artifactId>
63 <version>2.1.12-SNAPSHOT</version>
64 </dependency>
65
66 <!-- CLI Agent -->
67 <!-- <dependency> -->
68 <!-- <groupId>org.argeo.slc</groupId> -->
69 <!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
70 <!-- <version>1.1.12-SNAPSHOT</version> -->
71 <!-- </dependency> -->
72 <!-- <dependency> -->
73 <!-- <groupId>org.argeo.slc</groupId> -->
74 <!-- <artifactId>org.argeo.slc.agent.cli</artifactId> -->
75 <!-- <version>2.1.1-SNAPSHOT</version> -->
76 <!-- </dependency> -->
77
78 <!-- JCR Agent -->
79 <dependency>
80 <groupId>org.argeo.slc</groupId>
81 <artifactId>org.argeo.slc.agent.jcr</artifactId>
82 <version>2.1.12-SNAPSHOT</version>
83 </dependency>
84 <!-- <dependency> -->
85 <!-- <groupId>org.argeo.slc</groupId> -->
86 <!-- <artifactId>org.argeo.slc.node.jackrabbit</artifactId> -->
87 <!-- <version>2.1.5-SNAPSHOT</version> -->
88 <!-- </dependency> -->
89
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 <excludeArtifactIds>org.argeo.dep.cms.node</excludeArtifactIds>
112 <includeTypes>jar</includeTypes>
113 <includeScope>runtime</includeScope>
114 <useRepositoryLayout>true</useRepositoryLayout>
115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <groupId>org.codehaus.mojo</groupId>
121 <artifactId>rpm-maven-plugin</artifactId>
122 <executions>
123 <execution>
124 <id>rpm-argeo</id>
125 <phase>package</phase>
126 <goals>
127 <goal>rpm</goal>
128 </goals>
129 <configuration>
130 <name>slc-agent</name>
131 <mappings>
132 <mapping>
133 <directory>/usr/share/osgi</directory>
134 <username>root</username>
135 <groupname>root</groupname>
136 <filemode>644</filemode>
137 <directoryIncluded>true</directoryIncluded>
138 <sources>
139 <source>
140 <location>${project.build.directory}/lib-argeo</location>
141 <includes>
142 <include>**/*.jar</include>
143 </includes>
144 </source>
145 </sources>
146 </mapping>
147 <mapping>
148 <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory>
149 <username>root</username>
150 <groupname>root</groupname>
151 <directoryIncluded>false</directoryIncluded>
152 <artifact />
153 </mapping>
154 </mappings>
155 <requires>
156 <require>argeo-cms-node</require>
157 </requires>
158 </configuration>
159 </execution>
160 </executions>
161 </plugin>
162 </plugins>
163 </build>
164 </profile>
165 </profiles>
166 </project>