Clement Escoffier | 151cbb0 | 2008-10-14 11:59:25 +0000 | [diff] [blame] | 1 | <!-- |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 9 | |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0 |
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 11 | |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
Clement Escoffier | 151cbb0 | 2008-10-14 11:59:25 +0000 | [diff] [blame] | 18 | --> |
Clement Escoffier | 85b3605 | 2013-03-07 20:00:30 +0000 | [diff] [blame] | 19 | <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 | c5b8d12 | 2013-03-04 09:01:52 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>1.2.1</version> |
| 24 | <relativePath>../../../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
Clement Escoffier | 85b3605 | 2013-03-07 20:00:30 +0000 | [diff] [blame] | 27 | <artifactId>org.apache.felix.ipojo.handler.whiteboard-handler-project</artifactId> |
Clement Escoffier | c5b8d12 | 2013-03-04 09:01:52 +0000 | [diff] [blame] | 28 | <version>1.6.1-SNAPSHOT</version> |
Clement Escoffier | 85b3605 | 2013-03-07 20:00:30 +0000 | [diff] [blame] | 29 | <name>Apache Felix iPOJO Whiteboard Handler Project</name> |
| 30 | <packaging>pom</packaging> |
Clement Escoffier | 001f096 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 31 | |
Clement Escoffier | 85b3605 | 2013-03-07 20:00:30 +0000 | [diff] [blame] | 32 | <modules> |
| 33 | <module>whiteboard-handler</module> |
| 34 | <module>whiteboard-handler-it</module> |
| 35 | </modules> |
Clement Escoffier | 001f096 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 36 | |
Clement Escoffier | c5b8d12 | 2013-03-04 09:01:52 +0000 | [diff] [blame] | 37 | <build> |
Clement Escoffier | 85b3605 | 2013-03-07 20:00:30 +0000 | [diff] [blame] | 38 | <resources> |
| 39 | <resource> |
| 40 | <directory>src/main/resources</directory> |
| 41 | </resource> |
| 42 | <resource> |
| 43 | <directory>.</directory> |
| 44 | <targetPath>META-INF</targetPath> |
| 45 | <includes> |
| 46 | <include>LICENSE*</include> |
| 47 | <include>NOTICE*</include> |
| 48 | <include>DEPENDENCIES*</include> |
| 49 | </includes> |
| 50 | </resource> |
| 51 | </resources> |
Clement Escoffier | c5b8d12 | 2013-03-04 09:01:52 +0000 | [diff] [blame] | 52 | </build> |
Clement Escoffier | 85b3605 | 2013-03-07 20:00:30 +0000 | [diff] [blame] | 53 | |
| 54 | <profiles> |
| 55 | <profile> |
| 56 | <id>release</id> |
| 57 | <build> |
| 58 | <plugins> |
| 59 | <plugin> |
| 60 | <groupId>org.apache.maven.plugins</groupId> |
| 61 | <artifactId>maven-assembly-plugin</artifactId> |
| 62 | <executions> |
| 63 | <execution> |
| 64 | <id>make-assembly</id> |
| 65 | <phase>package</phase> |
| 66 | <goals> |
| 67 | <goal>single</goal> |
| 68 | </goals> |
| 69 | <configuration> |
| 70 | <descriptorRefs> |
| 71 | <descriptorRef>project</descriptorRef> |
| 72 | </descriptorRefs> |
| 73 | <!-- we don't want to attach all the assemblies, such as bz2 --> |
| 74 | <attach>false</attach> |
| 75 | </configuration> |
| 76 | </execution> |
| 77 | </executions> |
| 78 | </plugin> |
| 79 | <plugin> |
| 80 | <!-- only attach the project and bin assemblies, in tar.gz and zip flavors --> |
| 81 | <groupId>org.codehaus.mojo</groupId> |
| 82 | <artifactId>build-helper-maven-plugin</artifactId> |
| 83 | <executions> |
| 84 | <execution> |
| 85 | <id>attach-assemblies</id> |
| 86 | <phase>package</phase> |
| 87 | <goals> |
| 88 | <goal>attach-artifact</goal> |
| 89 | </goals> |
| 90 | <configuration> |
| 91 | <artifacts> |
| 92 | <artifact> |
| 93 | <file> |
| 94 | ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz |
| 95 | </file> |
| 96 | <classifier>project</classifier> |
| 97 | <type>tar.gz</type> |
| 98 | </artifact> |
| 99 | <artifact> |
| 100 | <file> |
| 101 | ${project.build.directory}/${project.artifactId}-${project.version}-project.zip |
| 102 | </file> |
| 103 | <classifier>project</classifier> |
| 104 | <type>zip</type> |
| 105 | </artifact> |
| 106 | </artifacts> |
| 107 | </configuration> |
| 108 | </execution> |
| 109 | </executions> |
| 110 | </plugin> |
| 111 | </plugins> |
| 112 | </build> |
| 113 | </profile> |
| 114 | </profiles> |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 115 | </project> |