blob: c6251a77cb866c1db0d7b2b418f1e34cb3917303 [file] [log] [blame]
Clement Escoffier151cbb02008-10-14 11:59:25 +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 Escoffier151cbb02008-10-14 11:59:25 +000018-->
Clement Escoffier85b36052013-03-07 20:00:30 +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">
Clement Escoffierc5b8d122013-03-04 09:01:52 +000020 <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 Escoffier85b36052013-03-07 20:00:30 +000027 <artifactId>org.apache.felix.ipojo.handler.whiteboard-handler-project</artifactId>
Clement Escoffierc5b8d122013-03-04 09:01:52 +000028 <version>1.6.1-SNAPSHOT</version>
Clement Escoffier85b36052013-03-07 20:00:30 +000029 <name>Apache Felix iPOJO Whiteboard Handler Project</name>
30 <packaging>pom</packaging>
Clement Escoffier001f0962010-09-12 10:14:52 +000031
Clement Escoffier85b36052013-03-07 20:00:30 +000032 <modules>
33 <module>whiteboard-handler</module>
34 <module>whiteboard-handler-it</module>
35 </modules>
Clement Escoffier001f0962010-09-12 10:14:52 +000036
Clement Escoffierc5b8d122013-03-04 09:01:52 +000037 <build>
Clement Escoffier85b36052013-03-07 20:00:30 +000038 <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 Escoffierc5b8d122013-03-04 09:01:52 +000052 </build>
Clement Escoffier85b36052013-03-07 20:00:30 +000053
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 Escoffierbfa74d02009-07-19 16:25:18 +0000115</project>