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