Karl Pauls | 4ebe508 | 2006-10-30 15:00:08 +0000 | [diff] [blame] | 1 | <!-- |
| 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 | --> |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 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/maven-v4_0_0.xsd"> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
Karl Pauls | 44d4bf8 | 2009-05-10 21:44:42 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
Karl Pauls | f9d1192 | 2011-09-22 09:52:47 +0000 | [diff] [blame] | 23 | <version>2.1</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 27 | <packaging>bundle</packaging> |
Richard S. Hall | 6748ac7 | 2006-12-07 20:30:11 +0000 | [diff] [blame] | 28 | <name>Apache Felix Framework</name> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 29 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | c0432a9 | 2011-09-22 13:48:20 +0000 | [diff] [blame^] | 30 | <version>3.3.0-SNAPSHOT</version> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 31 | <dependencies> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 32 | </dependencies> |
Richard S. Hall | 8155b23 | 2008-10-16 20:22:58 +0000 | [diff] [blame] | 33 | <properties> |
| 34 | <dollar>$</dollar> |
| 35 | </properties> |
Alex Karasulu | 5cfd2a0 | 2006-03-09 14:15:38 +0000 | [diff] [blame] | 36 | <build> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 37 | <plugins> |
| 38 | <plugin> |
Richard S. Hall | 3c31abf | 2010-03-03 15:09:47 +0000 | [diff] [blame] | 39 | <groupId>org.apache.maven.plugins</groupId> |
| 40 | <artifactId>maven-compiler-plugin</artifactId> |
| 41 | <configuration> |
| 42 | <target>jsr14</target> |
| 43 | <source>1.5</source> |
| 44 | </configuration> |
| 45 | </plugin> |
| 46 | |
| 47 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 48 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 49 | <artifactId>maven-bundle-plugin</artifactId> |
Richard S. Hall | b525990 | 2011-09-21 20:35:48 +0000 | [diff] [blame] | 50 | <version>2.3.5</version> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 51 | <extensions>true</extensions> |
| 52 | <configuration> |
| 53 | <instructions> |
Richard S. Hall | 41d5d33 | 2008-09-23 16:25:54 +0000 | [diff] [blame] | 54 | <Bundle-SymbolicName>org.apache.felix.framework</Bundle-SymbolicName> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 55 | <Bundle-Name>Apache Felix Framework</Bundle-Name> |
| 56 | <Bundle-Description>OSGi R4 framework implementation.</Bundle-Description> |
Carsten Ziegeler | 90f0b9f | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 57 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Richard S. Hall | 379e208 | 2011-05-17 21:20:32 +0000 | [diff] [blame] | 58 | <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> |
Richard S. Hall | cee83c2 | 2010-06-01 17:43:44 +0000 | [diff] [blame] | 59 | <Private-Package>org.apache.felix.framework.*</Private-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 60 | <Import-Package>!*</Import-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 61 | </instructions> |
| 62 | </configuration> |
| 63 | </plugin> |
Karl Pauls | b376035 | 2009-03-31 21:06:46 +0000 | [diff] [blame] | 64 | <plugin> |
Karl Pauls | f9d1192 | 2011-09-22 09:52:47 +0000 | [diff] [blame] | 65 | <groupId>org.apache.rat</groupId> |
| 66 | <artifactId>apache-rat-plugin</artifactId> |
| 67 | <executions> |
| 68 | <execution> |
| 69 | <phase>verify</phase> |
| 70 | <goals> |
| 71 | <goal>check</goal> |
| 72 | </goals> |
| 73 | </execution> |
| 74 | </executions> |
| 75 | <configuration> |
| 76 | <includes> |
| 77 | <include>src/**</include> |
| 78 | </includes> |
| 79 | <excludes> |
| 80 | <exclude>src/main/appended-resources/**</exclude> |
| 81 | <exclude>src/**/packageinfo</exclude> |
| 82 | <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude> |
| 83 | </excludes> |
| 84 | </configuration> |
Karl Pauls | b376035 | 2009-03-31 21:06:46 +0000 | [diff] [blame] | 85 | </plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 86 | </plugins> |
Richard S. Hall | fecd143 | 2011-09-21 20:15:38 +0000 | [diff] [blame] | 87 | <resources> |
| 88 | <!-- Add back in the default resources, since we are overriding resources. --> |
| 89 | <resource> |
| 90 | <directory>src/main/resources</directory> |
| 91 | <filtering>true</filtering> |
| 92 | </resource> |
| 93 | <!-- Copy Felix.java with property substitution enabled to get version. --> |
| 94 | <resource> |
| 95 | <directory>src/main/java</directory> |
| 96 | <includes> |
| 97 | <include>org/apache/felix/framework/Felix.java</include> |
| 98 | </includes> |
| 99 | <filtering>true</filtering> |
| 100 | <targetPath>../filtered-sources/java</targetPath> |
| 101 | </resource> |
| 102 | <!-- Copy other source files with no property substitution. --> |
| 103 | <resource> |
| 104 | <directory>src/main/java</directory> |
| 105 | <excludes> |
| 106 | <exclude>org/apache/felix/framework/Felix.java</exclude> |
| 107 | </excludes> |
| 108 | <filtering>false</filtering> |
| 109 | <targetPath>../filtered-sources/java</targetPath> |
| 110 | </resource> |
| 111 | </resources> |
| 112 | <!-- Set the source directory to be the filtered source files. --> |
| 113 | <sourceDirectory>target/filtered-sources/java</sourceDirectory> |
Karl Pauls | 15d3e94 | 2008-04-22 12:38:04 +0000 | [diff] [blame] | 114 | </build> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 115 | </project> |