| <!-- |
| 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"> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>2.1</version> |
| <relativePath>../pom/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>bundle</packaging> |
| <name>Apache Felix Framework</name> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <version>3.3.0-SNAPSHOT</version> |
| <dependencies> |
| </dependencies> |
| <properties> |
| <dollar>$</dollar> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <target>jsr14</target> |
| <source>1.5</source> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.5</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>org.apache.felix.framework</Bundle-SymbolicName> |
| <Bundle-Name>Apache Felix Framework</Bundle-Name> |
| <Bundle-Description>OSGi R4 framework implementation.</Bundle-Description> |
| <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| <Export-Package>org.osgi.framework.*;-split-package:=merge-first,org.osgi.service.packageadmin,org.osgi.service.url,org.osgi.service.startlevel,org.osgi.util.tracker</Export-Package> |
| <Private-Package>org.apache.felix.framework.*</Private-Package> |
| <Import-Package>!*</Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <includes> |
| <include>src/**</include> |
| </includes> |
| <excludes> |
| <exclude>src/main/appended-resources/**</exclude> |
| <exclude>src/**/packageinfo</exclude> |
| <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| <resources> |
| <!-- Add back in the default resources, since we are overriding resources. --> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| <!-- Copy Felix.java with property substitution enabled to get version. --> |
| <resource> |
| <directory>src/main/java</directory> |
| <includes> |
| <include>org/apache/felix/framework/Felix.java</include> |
| </includes> |
| <filtering>true</filtering> |
| <targetPath>../filtered-sources/java</targetPath> |
| </resource> |
| <!-- Copy other source files with no property substitution. --> |
| <resource> |
| <directory>src/main/java</directory> |
| <excludes> |
| <exclude>org/apache/felix/framework/Felix.java</exclude> |
| </excludes> |
| <filtering>false</filtering> |
| <targetPath>../filtered-sources/java</targetPath> |
| </resource> |
| </resources> |
| <!-- Set the source directory to be the filtered source files. --> |
| <sourceDirectory>target/filtered-sources/java</sourceDirectory> |
| </build> |
| </project> |