]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.minimal/pom.xml
[maven-release-plugin] prepare release argeo-slc-2.1.15
[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.15</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.15</version>
63 </dependency>
64 <dependency>
65 <groupId>org.argeo.slc</groupId>
66 <artifactId>org.argeo.slc.core</artifactId>
67 <version>2.1.15</version>
68 </dependency>
69 <dependency>
70 <groupId>org.argeo.slc</groupId>
71 <artifactId>org.argeo.slc.agent</artifactId>
72 <version>2.1.15</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.15</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 <artifactId>maven-assembly-plugin</artifactId>
107 <executions>
108 <execution>
109 <id>prepare-source</id>
110 <phase>package</phase>
111 <goals>
112 <goal>single</goal>
113 </goals>
114 <configuration>
115 <descriptorRefs>
116 <descriptorRef>a2-source</descriptorRef>
117 </descriptorRefs>
118 </configuration>
119 </execution>
120 </executions>
121 </plugin>
122 <!-- <plugin> -->
123 <!-- <groupId>org.apache.maven.plugins</groupId> -->
124 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
125 <!-- <executions> -->
126 <!-- <execution> -->
127 <!-- <id>copy-argeo</id> -->
128 <!-- <phase>package</phase> -->
129 <!-- <goals> -->
130 <!-- <goal>copy-dependencies</goal> -->
131 <!-- </goals> -->
132 <!-- <configuration> -->
133 <!-- <includeTypes>jar</includeTypes> -->
134 <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
135 <!-- <includeGroupIds>org.argeo.slc</includeGroupIds> -->
136 <!-- <excludeTransitive>true</excludeTransitive> -->
137 <!-- <excludeArtifactIds>org.argeo.dep.cms.node</excludeArtifactIds> -->
138 <!-- <includeTypes>jar</includeTypes> -->
139 <!-- <includeScope>runtime</includeScope> -->
140 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
141 <!-- </configuration> -->
142 <!-- </execution> -->
143 <!-- </executions> -->
144 <!-- </plugin> -->
145 <plugin>
146 <groupId>org.codehaus.mojo</groupId>
147 <artifactId>rpm-maven-plugin</artifactId>
148 <executions>
149 <execution>
150 <id>rpm-argeo</id>
151 <phase>package</phase>
152 <goals>
153 <goal>rpm</goal>
154 </goals>
155 <configuration>
156 <name>slc-agent</name>
157 <mappings>
158 <mapping>
159 <directory>/usr/share/osgi</directory>
160 <username>root</username>
161 <groupname>root</groupname>
162 <filemode>644</filemode>
163 <directoryIncluded>true</directoryIncluded>
164 <sources>
165 <source>
166 <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
167 <includes>
168 <include>**/*.jar</include>
169 </includes>
170 </source>
171 </sources>
172 </mapping>
173 <!-- <mapping> -->
174 <!-- <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory> -->
175 <!-- <username>root</username> -->
176 <!-- <groupname>root</groupname> -->
177 <!-- <directoryIncluded>false</directoryIncluded> -->
178 <!-- <artifact /> -->
179 <!-- </mapping> -->
180 </mappings>
181 <requires>
182 <require>argeo-cms-node</require>
183 </requires>
184 </configuration>
185 </execution>
186 </executions>
187 </plugin>
188 </plugins>
189 </build>
190 </profile>
191 </profiles>
192 </project>