blob: d0c60f3bab38394206920113c6c6d494d3cfb484 [file] [log] [blame]
Clement Escoffiera2450d72008-10-14 11:28:35 +00001<!--
Clement Escoffierbfa74d02009-07-19 16:25:18 +00002 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 Escoffier0b93f382009-07-03 13:16:24 +00009
Clement Escoffierbfa74d02009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierbfa74d02009-07-19 16:25:18 +000012 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 Escoffiera2450d72008-10-14 11:28:35 +000018-->
Clement Escoffierd9571952013-02-27 15:51:08 +000019<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 Escoffierbfa74d02009-07-19 16:25:18 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffierd9571952013-02-27 15:51:08 +000022 <artifactId>felix-parent</artifactId>
23 <version>1.2.1</version>
Clement Escoffier79656f12013-02-28 07:19:14 +000024 <relativePath>../../../pom/pom.xml</relativePath>
Clement Escoffierd9571952013-02-27 15:51:08 +000025 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.handler.event-admin-handler-project</artifactId>
28 <version>1.9.0-SNAPSHOT</version>
29 <name>Apache Felix iPOJO Event Admin Handler Project</name>
30 <packaging>pom</packaging>
31
32 <modules>
33 <module>eventadmin-handler</module>
34 <module>eventadmin-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>
Clement Escoffierd9571952013-02-27 15:51:08 +000056 <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 Escoffierbfa74d02009-07-19 16:25:18 +0000115</project>