blob: 46efc45142bab599b60aa70afc17b41c95a9c474 [file] [log] [blame]
Clement Escoffier01c0d7b2013-07-02 08:47:10 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one
4 ~ or more contributor license agreements. See the NOTICE file
5 ~ distributed with this work for additional information
6 ~ regarding copyright ownership. The ASF licenses this file
7 ~ to you under the Apache License, Version 2.0 (the
8 ~ "License"); you may not use this file except in compliance
9 ~ with the License. You may obtain a copy of the License at
10 ~
11 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~
13 ~ Unless required by applicable law or agreed to in writing,
14 ~ software distributed under the License is distributed on an
15 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ~ KIND, either express or implied. See the License for the
17 ~ specific language governing permissions and limitations
18 ~ under the License.
19 -->
20
Clement Escoffier94711992013-10-08 14:24:52 +000021<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 Escoffier01c0d7b2013-07-02 08:47:10 +000022 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
25 <groupId>org.apache.felix</groupId>
26 <artifactId>felix-parent</artifactId>
27 <version>2.1</version>
Clement Escoffier7ebc4572013-07-21 17:21:33 +000028 <relativePath>../../../../pom/pom.xml</relativePath>
Clement Escoffier01c0d7b2013-07-02 08:47:10 +000029 </parent>
30
31
32 <packaging>pom</packaging>
33
34 <name>Apache Felix iPOJO - Distribution - Quickstart</name>
35 <artifactId>org.apache.felix.ipojo.distribution.quickstart</artifactId>
Clement Escoffier1e35ff12014-05-12 11:47:05 +000036 <version>1.12.1-SNAPSHOT</version>
Clement Escoffier01c0d7b2013-07-02 08:47:10 +000037
38 <properties>
39 <!-- Felix version -->
40 <felix.version>4.2.1</felix.version>
41
42 <!-- The location where the felix distribution is downloaded and expanded -->
43 <felix.destination>${project.build.directory}/felix-distribution</felix.destination>
44
45 <!-- The location where the legal files are generated -->
46 <legal.files>${project.build.directory}/maven-shared-archive-resources/META-INF</legal.files>
47
48 <!-- The base directory of the distribution -->
49 <distribution.baseDirectory>ipojo-distribution-${project.version}</distribution.baseDirectory>
50 </properties>
51
52 <description>
53 A distribution of Felix including iPOJO core and gogo commands
54 </description>
55
56 <dependencies>
57 <dependency>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>org.apache.felix.main.distribution</artifactId>
60 <version>${felix.version}</version>
61 <type>zip</type>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.felix</groupId>
65 <artifactId>org.apache.felix.ipojo</artifactId>
66 <version>${project.version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.apache.felix</groupId>
70 <artifactId>org.apache.felix.ipojo.gogo</artifactId>
71 <version>${project.version}</version>
72 </dependency>
73 </dependencies>
74
75 <build>
76 <plugins>
77 <!--
78 The build is configured to download and unpack the felix distribution to the felix-distribution folder.
79 The assembly copy the unpacked file, stripping the base directory of the distribution
80 -->
81
82 <plugin>
83 <artifactId>maven-dependency-plugin</artifactId>
84 <version>2.8</version>
85 <executions>
86 <execution>
87 <id>copy-felix-distribution</id>
88 <phase>package</phase>
89 <goals>
90 <goal>unpack-dependencies</goal>
91 </goals>
92 <configuration>
93 <includeGroupIds>org.apache.felix</includeGroupIds>
94 <includeTypes>zip</includeTypes>
Clement Escoffier7ebc4572013-07-21 17:21:33 +000095 <includeArtifactIds>org.apache.felix.main.distribution</includeArtifactIds>
Clement Escoffier01c0d7b2013-07-02 08:47:10 +000096 <outputDirectory>${felix.destination}</outputDirectory>
97 </configuration>
98 </execution>
99 </executions>
100 </plugin>
101
102 <plugin>
103 <artifactId>maven-assembly-plugin</artifactId>
104 <version>2.4</version>
105 <configuration>
106 <attach>true</attach>
107 </configuration>
108 <executions>
109 <execution>
110 <id>build-distribution</id>
111 <goals>
112 <goal>single</goal>
113 </goals>
114 <phase>package</phase>
115 <configuration>
116 <descriptors>
117 <descriptor>src/main/assembly/distribution.xml</descriptor>
118 </descriptors>
119
120 <appendAssemblyId>false</appendAssemblyId>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
125
126 <plugin>
127 <groupId>org.codehaus.mojo</groupId>
128 <artifactId>ianal-maven-plugin</artifactId>
129 <executions>
130 <execution>
131 <goals>
132 <goal>verify-legal-files</goal>
133 </goals>
134 <configuration>
135 <searchPaths>
136 <searchPath>${distribution.baseDirectory}</searchPath>
137 </searchPaths>
138 </configuration>
139 </execution>
140 </executions>
141 </plugin>
142 </plugins>
143 </build>
Clement Escoffier01c0d7b2013-07-02 08:47:10 +0000144</project>