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