1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
6 Licensed to the Apache Software Foundation (ASF) under one or more
7 contributor license agreements. See the NOTICE file distributed with
8 this work for additional information regarding copyright ownership.
9 The ASF licenses this file to You under the Apache License, Version 2.0
10 (the "License"); you may not use this file except in compliance with
11 the License. You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
22 <modelVersion>4.0.0</modelVersion>
24 <groupId>test</groupId>
25 <artifactId>test-simplify-bundles</artifactId>
26 <version>1.0-SNAPSHOT</version>
28 <packaging>pom</packaging>
30 <description>Check that bundles are simplified</description>
33 There are two bundles, a and b; b depends on a, and on feature-a which contains a.
34 When simplifying, this should be reduced to a dependency on feature-a only.
35 Two features are produced and aggregated to verify that enabling and disabling the
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 <module>simplify-bundle-a</module>
45 <module>simplify-bundle-b</module>
46 <module>simplify-feature-a</module>
47 <module>simplify-feature-as-is</module>
48 <module>simplify-feature-reduced</module>
49 <module>simplify-features</module>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>maven-bundle-plugin</artifactId>
57 <extensions>true</extensions>
60 <groupId>org.apache.karaf.tooling</groupId>
61 <artifactId>karaf-maven-plugin</artifactId>
62 <version>@pom.version@</version>
65 <id>generate-features-file</id>
66 <phase>package</phase>
68 <goal>features-generate-descriptor</goal>