blob: c526e43a563a27af8496524d48f26784fe72040a [file] [log] [blame]
Clement Escoffier2af0ecc2010-09-12 14:27:07 +00001<!--
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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
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.
18-->
Clement Escoffier0ba87882013-03-12 09:12:28 +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 Escoffier6283b132009-06-21 09:33:09 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffier0ba87882013-03-12 09:12:28 +000022 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffier0ba87882013-03-12 09:12:28 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.handler.transaction-handler-project</artifactId>
28 <version>1.5.0-SNAPSHOT</version>
29 <name>Apache Felix iPOJO Transaction Handler Project</name>
30 <packaging>pom</packaging>
Clement Escoffier6283b132009-06-21 09:33:09 +000031
Clement Escoffier0ba87882013-03-12 09:12:28 +000032 <modules>
33 <module>transaction-handler</module>
34 <module>transaction-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 Escoffier6283b132009-06-21 09:33:09 +0000115</project>