blob: 4056bf855fac85a312098b86a5562b82ed94485f [file] [log] [blame]
Clement Escoffier7ebc4572013-07-21 17:21:33 +00001<?xml version="1.0" encoding="UTF-8"?>
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
Clement Escoffier94711992013-10-08 14:24:52 +000021<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/xsd/maven-4.0.0.xsd">
Clement Escoffier7ebc4572013-07-21 17:21:33 +000022 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
25 <groupId>org.apache.felix</groupId>
26 <artifactId>felix-parent</artifactId>
27 <version>2.1</version>
28 <relativePath>../../../../pom/pom.xml</relativePath>
29 </parent>
30
31
32 <packaging>pom</packaging>
33
34 <name>Apache Felix iPOJO - Distribution - Maven Tutorial</name>
35 <artifactId>org.apache.felix.ipojo.distribution.maventutorial</artifactId>
Clement Escoffierd84914a2013-10-08 14:26:37 +000036 <version>1.11.1-SNAPSHOT</version>
Clement Escoffier7ebc4572013-07-21 17:21:33 +000037
38
39 <description>This project builds the iPOJO Maven tutorial package</description>
40
41
42 <build>
43 <plugins>
44 <!--
45 The build is configured to filter the skeleton and generate a distribution out of it.
46 -->
47
48 <plugin>
49 <artifactId>maven-resources-plugin</artifactId>
50 <version>2.6</version>
51 <executions>
52 <execution>
53 <goals>
54 <goal>copy-resources</goal>
55 </goals>
56 <phase>compile</phase>
57 <id>copy-skeleton</id>
58 <configuration>
59 <outputDirectory>${project.build.directory}/maven-tutorial</outputDirectory>
60 <delimiters>
61 <!-- we use a specific delimiter to avoid filtering internal properties -->
62 <delimiter>@</delimiter>
63 </delimiters>
64 <escapeString>\</escapeString>
65 <resources>
66 <resource>
67 <directory>src/main/skeleton</directory>
68 <filtering>true</filtering>
69 </resource>
70 </resources>
71 </configuration>
72 </execution>
73 </executions>
74 </plugin>
75
76 <plugin>
77 <artifactId>maven-assembly-plugin</artifactId>
78 <version>2.4</version>
79 <configuration>
80 <attach>true</attach>
81 </configuration>
82 <executions>
83 <execution>
84 <id>build-distribution</id>
85 <goals>
86 <goal>single</goal>
87 </goals>
88 <phase>package</phase>
89 <configuration>
90 <descriptors>
91 <descriptor>src/main/assembly/distribution.xml</descriptor>
92 </descriptors>
93
94 <appendAssemblyId>false</appendAssemblyId>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 </plugins>
100 </build>
Clement Escoffier7ebc4572013-07-21 17:21:33 +0000101</project>