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