[maven-release-plugin] copy for tag cxf-dosgi-ri-1.0
[cxf-dosgi.git] / distribution / multi-bundle / 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 <!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19 -->
20
21 <modelVersion>4.0.0</modelVersion>
22 <groupId>org.apache.cxf.dosgi</groupId>
23 <artifactId>cxf-dosgi-ri-multibundle-distribution</artifactId>
24 <version>1.0</version>
25 <name>Distributed OSGI Multi-Bundle Distribution</name>
26 <url>http://cxf.apache.org</url>
27
28 <parent>
29 <groupId>org.apache.cxf.dosgi</groupId>
30 <artifactId>cxf-dosgi-ri-distribution-parent</artifactId>
31 <version>1.0</version>
32 <relativePath>../pom.xml</relativePath>
33 </parent>
34
35 <properties>
36 <dosgi.version>${pom.version}</dosgi.version>
37 <topDirectoryLocation>../..</topDirectoryLocation>
38 </properties>
39
40 <dependencies>
41 <dependency>
42 <groupId>org.apache.geronimo.specs</groupId>
43 <artifactId>geronimo-annotation_1.0_spec</artifactId>
44 <version>1.1.1</version>
45 </dependency>
46 <dependency>
47 <groupId>org.apache.geronimo.specs</groupId>
48 <artifactId>geronimo-activation_1.1_spec</artifactId>
49 <version>1.0.2</version>
50 </dependency>
51 <dependency>
52 <groupId>org.apache.geronimo.specs</groupId>
53 <artifactId>geronimo-javamail_1.4_spec</artifactId>
54 <version>1.2</version>
55 </dependency>
56 <dependency>
57 <groupId>org.apache.geronimo.specs</groupId>
58 <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
59 <version>1.1.2</version>
60 </dependency>
61 <dependency>
62 <groupId>org.apache.commons</groupId>
63 <artifactId>com.springsource.org.apache.commons.logging</artifactId>
64 <version>1.1.1</version>
65 </dependency>
66 <dependency>
67 <groupId>org.jdom</groupId>
68 <artifactId>com.springsource.org.jdom</artifactId>
69 <version>1.0.0</version>
70 </dependency>
71 <dependency>
72 <groupId>org.springframework</groupId>
73 <artifactId>spring-core</artifactId>
74 <version>${spring.version}</version>
75 </dependency>
76 <dependency>
77 <groupId>org.springframework</groupId>
78 <artifactId>spring-beans</artifactId>
79 <version>${spring.version}</version>
80 </dependency>
81 <dependency>
82 <groupId>org.springframework</groupId>
83 <artifactId>spring-context</artifactId>
84 <version>${spring.version}</version>
85 </dependency>
86 <dependency>
87 <groupId>org.aopalliance</groupId>
88 <artifactId>com.springsource.org.aopalliance</artifactId>
89 <version>1.0.0</version>
90 </dependency>
91 <dependency>
92 <groupId>org.springframework</groupId>
93 <artifactId>spring-aop</artifactId>
94 <version>${spring.version}</version>
95 </dependency>
96 <dependency>
97 <groupId>org.springframework.osgi</groupId>
98 <artifactId>spring-osgi-io</artifactId>
99 <version>${spring.osgi.version}</version>
100 </dependency>
101 <dependency>
102 <groupId>org.springframework.osgi</groupId>
103 <artifactId>spring-osgi-core</artifactId>
104 <version>${spring.osgi.version}</version>
105 </dependency>
106 <dependency>
107 <groupId>org.springframework.osgi</groupId>
108 <artifactId>spring-osgi-extender</artifactId>
109 <version>${spring.osgi.version}</version>
110 </dependency>
111 <dependency>
112 <groupId>org.ops4j.pax.web</groupId>
113 <artifactId>pax-web-service</artifactId>
114 <version>0.5.1</version>
115 </dependency>
116 <dependency>
117 <groupId>org.apache.servicemix.specs</groupId>
118 <artifactId>org.apache.servicemix.specs.saaj-api-1.3</artifactId>
119 <version>${servicemix.specs.version}</version>
120 </dependency>
121 <dependency>
122 <groupId>org.apache.servicemix.specs</groupId>
123 <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId>
124 <version>${servicemix.specs.version}</version>
125 </dependency>
126 <dependency>
127 <groupId>org.apache.servicemix.specs</groupId>
128 <artifactId>org.apache.servicemix.specs.jaxb-api-2.1</artifactId>
129 <version>${servicemix.specs.version}</version>
130 </dependency>
131 <dependency>
132 <groupId>org.apache.servicemix.specs</groupId>
133 <artifactId>org.apache.servicemix.specs.jaxws-api-2.1</artifactId>
134 <version>${servicemix.specs.version}</version>
135 </dependency>
136 <dependency>
137 <groupId>org.apache.servicemix.bundles</groupId>
138 <artifactId>org.apache.servicemix.bundles.xmlschema</artifactId>
139 <version>${xmlschema.bundle.version}</version>
140 </dependency>
141 <dependency>
142 <groupId>org.apache.servicemix.bundles</groupId>
143 <artifactId>org.apache.servicemix.bundles.xmlresolver</artifactId>
144 <version>${xmlresolver.bundle.version}</version>
145 </dependency>
146 <dependency>
147 <groupId>org.apache.servicemix.bundles</groupId>
148 <artifactId>org.apache.servicemix.bundles.neethi</artifactId>
149 <version>${neethi.bundle.version}</version>
150 </dependency>
151 <dependency>
152 <groupId>org.apache.servicemix.bundles</groupId>
153 <artifactId>org.apache.servicemix.bundles.wsdl4j</artifactId>
154 <version>${wsdl4j.bundle.version}</version>
155 </dependency>
156 <dependency>
157 <groupId>org.apache.servicemix.bundles</groupId>
158 <artifactId>org.apache.servicemix.bundles.xmlsec</artifactId>
159 <version>${xmlsec.bundle.version}</version>
160 </dependency>
161 <dependency>
162 <groupId>org.apache.servicemix.bundles</groupId>
163 <artifactId>org.apache.servicemix.bundles.jaxb-impl</artifactId>
164 <version>${jaxbimpl.bundle.version}</version>
165 </dependency>
166
167 <dependency>
168 <groupId>org.apache.servicemix.bundles</groupId>
169 <artifactId>org.apache.servicemix.bundles.asm</artifactId>
170 <version>${asm.bundle.version}</version>
171 </dependency>
172
173 <dependency>
174 <groupId>org.apache.servicemix.bundles</groupId>
175 <artifactId>org.apache.servicemix.bundles.woodstox</artifactId>
176 <version>${woodstox.bundle.version}</version>
177 </dependency>
178
179 <dependency>
180 <groupId>org.apache.cxf</groupId>
181 <artifactId>cxf-bundle-minimal</artifactId>
182 <version>${cxf.version}</version>
183 </dependency>
184 <dependency>
185 <groupId>org.apache.cxf.dosgi</groupId>
186 <artifactId>cxf-dosgi-ri-discovery-local</artifactId>
187 <version>${project.version}</version>
188 </dependency>
189 <dependency>
190 <groupId>org.apache.cxf.dosgi</groupId>
191 <artifactId>cxf-dosgi-ri-dsw-cxf</artifactId>
192 <version>${project.version}</version>
193 </dependency>
194 </dependencies>
195
196
197 <build>
198 <resources>
199 <resource>
200 <directory>src/main/resources</directory>
201 <filtering>true</filtering>
202 </resource>
203 </resources>
204
205 <plugins>
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-dependency-plugin</artifactId>
209 <executions>
210 <execution>
211 <id>copy-deps</id>
212 <phase>process-resources</phase>
213 <goals>
214 <goal>copy-dependencies</goal>
215 </goals>
216 <configuration>
217 <excludeTransitive>true</excludeTransitive>
218 <outputDirectory>${project.build.directory}/distribution_bundles</outputDirectory>
219 </configuration>
220 </execution>
221 </executions>
222 </plugin>
223
224 <plugin>
225 <artifactId>maven-assembly-plugin</artifactId>
226 <executions>
227 <execution>
228 <id>make-assembly</id>
229 <phase>package</phase>
230 <goals>
231 <goal>single</goal>
232 </goals>
233 <configuration>
234 <descriptors>
235 <descriptor>./src/main/assembly/assembly.xml</descriptor>
236 </descriptors>
237 </configuration>
238
239 </execution>
240 </executions>
241 </plugin>
242
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-dependency-plugin</artifactId>
246 <executions>
247 <execution>
248 <id>copy</id>
249 <phase>package</phase>
250 <goals>
251 <goal>copy</goal>
252 </goals>
253 <configuration>
254 <artifactItems>
255 <artifactItem>
256 <groupId>org.apache.felix</groupId>
257 <artifactId>org.osgi.compendium</artifactId>
258 <version>1.2.0</version>
259 <type>jar</type>
260 <outputDirectory>target/deps</outputDirectory>
261 </artifactItem>
262 </artifactItems>
263 </configuration>
264 </execution>
265 </executions>
266 </plugin>
267
268 <plugin>
269 <artifactId>maven-antrun-plugin</artifactId>
270 <executions>
271 <execution>
272 <phase>compile</phase>
273 <configuration>
274 <tasks>
275 <path id="current.dir.path">
276 <pathelement location="." />
277 </path>
278 <pathconvert targetos="unix" property="current.dir" refid="current.dir.path" />
279
280 <xslt processor="trax" in="target/classes/distro_bundles.xml" out="target/distribution_configs/felix.config.properties.append" style="src/main/xsl/felix_distro_config.xslt" />
281
282 <xslt processor="trax" in="target/classes/distro_bundles.xml" out="target/felix.config.properties.append" style="src/main/xsl/felix_buildsystem_config.xslt">
283 <param name="TargetDir" expression="${current.dir}/target/" />
284 </xslt>
285
286 <xslt processor="trax" in="target/classes/distro_bundles.xml" out="target/distribution_configs/equinox.config.ini.append" style="src/main/xsl/equinox_distro_config.xslt" />
287
288 <xslt processor="trax" in="target/classes/distro_bundles.xml" out="target/equinox.config.ini.append" style="src/main/xsl/equinox_buildsystem_config.xslt">
289 <param name="TargetDir" expression="${current.dir}/target/" />
290 </xslt>
291 </tasks>
292 </configuration>
293 <goals>
294 <goal>run</goal>
295 </goals>
296 </execution>
297 </executions>
298 </plugin>
299 </plugins>
300 </build>
301 </project>