blob: 06a228bfad8ec3ef70cea6e547e682f0f4c2bfc4 [file] [log] [blame]
Clement Escoffier90444b22012-04-15 19:14:20 +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-->
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>
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>
27 <artifactId>org.apache.felix.ipojo.runtime-project</artifactId>
Clement Escoffier27df38e2012-12-18 09:53:35 +000028 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier90444b22012-04-15 19:14:20 +000029 <name>Apache Felix iPOJO Runtime Project</name>
30 <packaging>pom</packaging>
31
32 <description>
33 The iPOJO runtime project contains the core iPOJO bundle, the composite support and the annotations.
34 </description>
35
36 <modules>
Clement Escoffier90444b22012-04-15 19:14:20 +000037 <module>annotations</module>
Clement Escoffier081cf362013-02-26 18:48:35 +000038 <module>core</module>
39 <module>core-it</module>
40 <module>composite</module>
41 <module>composite-it</module>
Clement Escoffier90444b22012-04-15 19:14:20 +000042 </modules>
43
44 <build>
45 <resources>
46 <resource>
47 <directory>src/main/resources</directory>
48 </resource>
49 <resource>
50 <directory>.</directory>
51 <targetPath>META-INF</targetPath>
52 <includes>
53 <include>LICENSE*</include>
54 <include>NOTICE*</include>
55 <include>DEPENDENCIES*</include>
56 </includes>
57 </resource>
58 </resources>
59 </build>
60
61 <profiles>
62 <profile>
Clement Escoffier081cf362013-02-26 18:48:35 +000063 <id>test</id>
64 <modules>
65 <module>core-it</module>
66 </modules>
67 </profile>
68 <profile>
69 <id>test-all</id>
70 <modules>
71 <module>core-it</module>
72 </modules>
73 </profile>
74 <profile>
Clement Escoffier90444b22012-04-15 19:14:20 +000075 <id>release</id>
76 <build>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-assembly-plugin</artifactId>
81 <executions>
82 <execution>
83 <id>make-assembly</id>
84 <phase>package</phase>
85 <goals>
86 <goal>single</goal>
87 </goals>
88 <configuration>
89 <descriptorRefs>
90 <descriptorRef>project</descriptorRef>
91 </descriptorRefs>
92 <!-- we don't want to attach all the assemblies, such as bz2 -->
93 <attach>false</attach>
94 </configuration>
95 </execution>
96 </executions>
97 </plugin>
98 <plugin>
99 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>build-helper-maven-plugin</artifactId>
102 <executions>
103 <execution>
104 <id>attach-assemblies</id>
105 <phase>package</phase>
106 <goals>
107 <goal>attach-artifact</goal>
108 </goals>
109 <configuration>
110 <artifacts>
111 <artifact>
112 <file>
113 ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz
114 </file>
115 <classifier>project</classifier>
116 <type>tar.gz</type>
117 </artifact>
118 <artifact>
119 <file>
120 ${project.build.directory}/${project.artifactId}-${project.version}-project.zip
121 </file>
122 <classifier>project</classifier>
123 <type>zip</type>
124 </artifact>
125 </artifacts>
126 </configuration>
127 </execution>
128 </executions>
129 </plugin>
130 </plugins>
131 </build>
132 </profile>
133 </profiles>
Clement Escoffier90444b22012-04-15 19:14:20 +0000134</project>