Clement Escoffier | 639c71a | 2013-10-02 16:29:35 +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 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Clement Escoffier | 96cf0ae | 2013-10-04 13:04:38 +0000 | [diff] [blame] | 24 | |
| 25 | <parent> |
| 26 | <groupId>org.apache.felix</groupId> |
| 27 | <artifactId>felix-parent</artifactId> |
| 28 | <version>2.1</version> |
| 29 | <relativePath>../../../pom/pom.xml</relativePath> |
| 30 | </parent> |
| 31 | |
Clement Escoffier | 639c71a | 2013-10-02 16:29:35 +0000 | [diff] [blame] | 32 | <modelVersion>4.0.0</modelVersion> |
| 33 | |
Clement Escoffier | 639c71a | 2013-10-02 16:29:35 +0000 | [diff] [blame] | 34 | <artifactId>org.apache.felix.ipojo.features</artifactId> |
| 35 | <version>1.10.2-SNAPSHOT</version> |
| 36 | |
| 37 | <name>Apache Felix iPOJO Karaf Features</name> |
| 38 | <description>Apache Karaf Features to provision Apache Felix iPOJO</description> |
| 39 | |
| 40 | <packaging>pom</packaging> |
| 41 | |
| 42 | <properties> |
| 43 | <ipojo.webconsole.version>1.7.0</ipojo.webconsole.version> |
Clement Escoffier | c74607a | 2013-10-06 14:08:45 +0000 | [diff] [blame] | 44 | <legal.files>${project.build.directory}/maven-shared-archive-resources/META-INF</legal.files> |
Clement Escoffier | 639c71a | 2013-10-02 16:29:35 +0000 | [diff] [blame] | 45 | </properties> |
| 46 | |
| 47 | <build> |
| 48 | <plugins> |
| 49 | <plugin> |
| 50 | <artifactId>maven-resources-plugin</artifactId> |
| 51 | <version>2.6</version> |
| 52 | <executions> |
| 53 | <execution> |
| 54 | <phase>validate</phase> |
| 55 | <goals> |
| 56 | <goal>copy-resources</goal> |
| 57 | </goals> |
| 58 | <configuration> |
| 59 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 60 | <resources> |
| 61 | <resource> |
| 62 | <directory>src/main/features</directory> |
| 63 | <filtering>true</filtering> |
| 64 | </resource> |
| 65 | </resources> |
| 66 | </configuration> |
| 67 | </execution> |
| 68 | </executions> |
| 69 | </plugin> |
| 70 | |
| 71 | <plugin> |
| 72 | <groupId>org.codehaus.mojo</groupId> |
| 73 | <artifactId>build-helper-maven-plugin</artifactId> |
| 74 | <version>1.8</version> |
| 75 | <executions> |
| 76 | <execution> |
| 77 | <id>attach-artifacts</id> |
| 78 | <phase>package</phase> |
| 79 | <goals> |
| 80 | <goal>attach-artifact</goal> |
| 81 | </goals> |
| 82 | <configuration> |
| 83 | <artifacts> |
| 84 | <artifact> |
| 85 | <file>${project.build.directory}/features.xml</file> |
| 86 | <type>xml</type> |
| 87 | </artifact> |
| 88 | </artifacts> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | </executions> |
| 92 | </plugin> |
Clement Escoffier | c74607a | 2013-10-06 14:08:45 +0000 | [diff] [blame] | 93 | |
| 94 | <plugin> |
| 95 | <artifactId>maven-assembly-plugin</artifactId> |
| 96 | <version>2.4</version> |
| 97 | <configuration> |
| 98 | <attach>true</attach> |
| 99 | </configuration> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>build-archive</id> |
| 103 | <goals> |
| 104 | <goal>single</goal> |
| 105 | </goals> |
| 106 | <phase>package</phase> |
| 107 | <configuration> |
| 108 | <descriptors> |
| 109 | <descriptor>src/main/assembly/assembly.xml</descriptor> |
| 110 | </descriptors> |
| 111 | <appendAssemblyId>false</appendAssemblyId> |
| 112 | </configuration> |
| 113 | </execution> |
| 114 | </executions> |
| 115 | </plugin> |
Clement Escoffier | 90ec4c6 | 2013-10-06 15:15:56 +0000 | [diff] [blame] | 116 | |
| 117 | <plugin> |
| 118 | <groupId>org.codehaus.mojo</groupId> |
| 119 | <artifactId>ianal-maven-plugin</artifactId> |
| 120 | <version>1.0-alpha-1</version> |
| 121 | <configuration> |
| 122 | <!-- the zip structure is not compatible with the ianal check, skip it --> |
| 123 | <skip>true</skip> |
| 124 | </configuration> |
| 125 | </plugin> |
Clement Escoffier | 639c71a | 2013-10-02 16:29:35 +0000 | [diff] [blame] | 126 | </plugins> |
| 127 | </build> |
| 128 | </project> |