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 | 5f39864 | 2009-05-10 21:44:42 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
Richard S. Hall | 8c66b17 | 2010-05-27 18:44:52 +0000 | [diff] [blame] | 23 | <version>1.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 | 4830eae | 2011-05-17 20:35:03 +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 | 42cf9c9 | 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 | c018bde | 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 | 2e75550 | 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 | f94a18f | 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 | cf6e51b | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 57 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Richard S. Hall | 4ecc677 | 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 | 7e09ef0 | 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 | 1aaad8b | 2010-05-28 18:17:59 +0000 | [diff] [blame] | 61 | <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}</Include-Resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 62 | </instructions> |
| 63 | </configuration> |
| 64 | </plugin> |
Karl Pauls | 62ff7ab | 2009-03-31 21:06:46 +0000 | [diff] [blame] | 65 | <plugin> |
| 66 | <groupId>org.codehaus.mojo</groupId> |
| 67 | <artifactId>rat-maven-plugin</artifactId> |
Richard S. Hall | d5614bd | 2009-12-02 14:47:49 +0000 | [diff] [blame] | 68 | <version>1.0-alpha-3</version> |
Karl Pauls | 62ff7ab | 2009-03-31 21:06:46 +0000 | [diff] [blame] | 69 | <configuration> |
| 70 | <excludeSubProjects>false</excludeSubProjects> |
| 71 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 72 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 73 | <excludes> |
| 74 | <param>doc/*</param> |
| 75 | <param>maven-eclipse.xml</param> |
| 76 | <param>.checkstyle</param> |
| 77 | <param>.externalToolBuilders/*</param> |
| 78 | </excludes> |
| 79 | </configuration> |
| 80 | </plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 81 | </plugins> |
Richard S. Hall | c5208b4 | 2011-09-21 20:15:38 +0000 | [diff] [blame] | 82 | <resources> |
| 83 | <!-- Add back in the default resources, since we are overriding resources. --> |
| 84 | <resource> |
| 85 | <directory>src/main/resources</directory> |
| 86 | <filtering>true</filtering> |
| 87 | </resource> |
| 88 | <!-- Copy Felix.java with property substitution enabled to get version. --> |
| 89 | <resource> |
| 90 | <directory>src/main/java</directory> |
| 91 | <includes> |
| 92 | <include>org/apache/felix/framework/Felix.java</include> |
| 93 | </includes> |
| 94 | <filtering>true</filtering> |
| 95 | <targetPath>../filtered-sources/java</targetPath> |
| 96 | </resource> |
| 97 | <!-- Copy other source files with no property substitution. --> |
| 98 | <resource> |
| 99 | <directory>src/main/java</directory> |
| 100 | <excludes> |
| 101 | <exclude>org/apache/felix/framework/Felix.java</exclude> |
| 102 | </excludes> |
| 103 | <filtering>false</filtering> |
| 104 | <targetPath>../filtered-sources/java</targetPath> |
| 105 | </resource> |
| 106 | </resources> |
| 107 | <!-- Set the source directory to be the filtered source files. --> |
| 108 | <sourceDirectory>target/filtered-sources/java</sourceDirectory> |
Karl Pauls | 58db9f0 | 2008-04-22 12:38:04 +0000 | [diff] [blame] | 109 | </build> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 110 | </project> |