| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, | |
| software distributed under the License is distributed on an | |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations | |
| under the License. | |
| --> | |
| <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/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>dependencymanager-parent</artifactId> | |
| <version>1.0.1-SNAPSHOT</version> | |
| <relativePath>../pom.xml</relativePath> | |
| </parent> | |
| <artifactId>org.apache.felix.dependencymanager.lambda.itest.lifecycle</artifactId> | |
| <packaging>bundle</packaging> | |
| <name>Apache Felix Dependency Manager Lambda integration tests lifecycle bundle</name> | |
| <description>Test bundle used by the Apache Felix Dependency Manager Lambda integration tests</description> | |
| <properties> | |
| <!-- the integration tests are not released --> | |
| <baseline.skip>true</baseline.skip> | |
| <maven.deploy.skip>true</maven.deploy.skip> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.osgi</groupId> | |
| <artifactId>osgi.core</artifactId> | |
| <version>8.0.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.osgi</groupId> | |
| <artifactId>osgi.cmpn</artifactId> | |
| <version>7.0.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>org.apache.felix.dependencymanager</artifactId> | |
| <version>5.0.1-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>org.apache.felix.dependencymanager.lambda</artifactId> | |
| <version>2.0.1-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <sourceDirectory>src</sourceDirectory> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <compilerArgs> | |
| <arg>-parameters</arg> | |
| </compilerArgs> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <!-- the test bundle exports the Ensure class which the lifecycle bundle uses, and the test bundle depends on the lifecycle bundle --> | |
| <artifactId>maven-resources-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>copy-ensure</id> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>copy-resources</goal> | |
| </goals> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/generated-sources/ensure</outputDirectory> | |
| <resources> | |
| <resource> | |
| <directory>../org.apache.felix.dependencymanager.lambda.itest.tests/src</directory> | |
| <includes> | |
| <include>org/apache/felix/dm/lambda/itest/Ensure.java</include> | |
| </includes> | |
| </resource> | |
| </resources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>3.6.0</version> | |
| <executions> | |
| <execution> | |
| <id>add-ensure</id> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>add-source</goal> | |
| </goals> | |
| <configuration> | |
| <sources> | |
| <source>${project.build.directory}/generated-sources/ensure</source> | |
| </sources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <configuration> | |
| <instructions> | |
| <Bundle-Category>test</Bundle-Category> | |
| <Export-Package>org.apache.felix.dm.lambda.itest.lifecycle</Export-Package> | |
| <Private-Package /> | |
| <Bundle-Activator>org.apache.felix.dm.lambda.itest.lifecycle.Activator</Bundle-Activator> | |
| </instructions> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |