Clement Escoffier | a91a22f | 2008-08-08 08:01:01 +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 | a91a22f | 2008-08-08 08:01:01 +0000 | [diff] [blame] | 18 | --> |
Clement Escoffier | 2e43019 | 2013-02-27 15:59:42 +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"> |
| 20 | <parent> |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | 2e43019 | 2013-02-27 15:59:42 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>1.2.1</version> |
Clement Escoffier | 555dae1 | 2013-02-28 07:20:16 +0000 | [diff] [blame] | 24 | <relativePath>../../../pom/pom.xml</relativePath> |
Clement Escoffier | 2e43019 | 2013-02-27 15:59:42 +0000 | [diff] [blame] | 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <artifactId>org.apache.felix.ipojo.handler.jmx-handler-project</artifactId> |
| 28 | <version>1.5.0-SNAPSHOT</version> |
| 29 | <name>Apache Felix iPOJO Event Admin Handler Project</name> |
| 30 | <packaging>pom</packaging> |
| 31 | |
| 32 | <modules> |
| 33 | <module>jmx-handler</module> |
| 34 | <module>jmx-handler-it</module> |
| 35 | </modules> |
| 36 | |
| 37 | <build> |
| 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> |
| 52 | </build> |
| 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> |