Richard S. Hall | b63426f | 2008-03-05 20:03:55 +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 | --> |
| 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"> |
Richard S. Hall | 46e748d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
Guillaume Nodet | c713aa0 | 2012-04-17 16:25:00 +0000 | [diff] [blame] | 23 | <version>2</version> |
Richard S. Hall | 46e748d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
Clement Escoffier | 19ba2f2 | 2009-05-03 08:16:01 +0000 | [diff] [blame] | 26 | |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <packaging>bundle</packaging> |
| 29 | <name>Apache Felix File Install</name> |
| 30 | <description>A utility to automatically install bundles from a directory.</description> |
Clement Escoffier | 19ba2f2 | 2009-05-03 08:16:01 +0000 | [diff] [blame] | 31 | <url>http://felix.apache.org/site/apache-felix-file-install.html</url> |
Guillaume Nodet | 8a46193 | 2012-06-12 07:04:22 +0000 | [diff] [blame] | 32 | <version>3.3.0-SNAPSHOT</version> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 33 | <artifactId>org.apache.felix.fileinstall</artifactId> |
Guillaume Nodet | 754dcb3 | 2012-04-18 07:09:54 +0000 | [diff] [blame] | 34 | <scm> |
Guillaume Nodet | 8a46193 | 2012-06-12 07:04:22 +0000 | [diff] [blame] | 35 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/fileinstall</connection> |
| 36 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/fileinstall</developerConnection> |
| 37 | <url>http://svn.apache.org/repos/asf/felix/fileinstall</url> |
Guillaume Nodet | 754dcb3 | 2012-04-18 07:09:54 +0000 | [diff] [blame] | 38 | </scm> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
Guillaume Nodet | fb35af1 | 2009-12-16 09:28:31 +0000 | [diff] [blame] | 41 | <groupId>org.osgi</groupId> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 42 | <artifactId>org.osgi.core</artifactId> |
Guillaume Nodet | f29e348 | 2009-12-16 12:16:23 +0000 | [diff] [blame] | 43 | <version>4.1.0</version> |
Guillaume Nodet | 9869537 | 2012-03-16 08:17:34 +0000 | [diff] [blame] | 44 | <scope>provided</scope> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 45 | </dependency> |
| 46 | <dependency> |
Guillaume Nodet | fb35af1 | 2009-12-16 09:28:31 +0000 | [diff] [blame] | 47 | <groupId>org.osgi</groupId> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 48 | <artifactId>org.osgi.compendium</artifactId> |
Guillaume Nodet | f29e348 | 2009-12-16 12:16:23 +0000 | [diff] [blame] | 49 | <version>4.1.0</version> |
Guillaume Nodet | 9869537 | 2012-03-16 08:17:34 +0000 | [diff] [blame] | 50 | <scope>provided</scope> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 51 | </dependency> |
Carsten Ziegeler | 8c2f61e | 2010-08-06 14:33:43 +0000 | [diff] [blame] | 52 | <dependency> |
| 53 | <groupId>org.apache.felix</groupId> |
| 54 | <artifactId>org.apache.felix.configadmin</artifactId> |
Guillaume Nodet | 213efef | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 55 | <version>1.2.8</version> |
| 56 | <scope>provided</scope> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.apache.felix</groupId> |
| 60 | <artifactId>org.apache.felix.utils</artifactId> |
Guillaume Nodet | 1993d36 | 2012-06-12 07:03:16 +0000 | [diff] [blame] | 61 | <version>1.2.0</version> |
Carsten Ziegeler | 8c2f61e | 2010-08-06 14:33:43 +0000 | [diff] [blame] | 62 | <scope>provided</scope> |
| 63 | </dependency> |
Guillaume Nodet | 2f457d0 | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 64 | <!-- sources --> |
| 65 | <dependency> |
| 66 | <groupId>org.apache.felix</groupId> |
| 67 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 68 | <version>1.2.8</version> |
| 69 | <classifier>sources</classifier> |
| 70 | <optional>true</optional> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>org.apache.felix</groupId> |
| 74 | <artifactId>org.apache.felix.utils</artifactId> |
| 75 | <version>1.2.0</version> |
| 76 | <classifier>sources</classifier> |
| 77 | <optional>true</optional> |
| 78 | </dependency> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 79 | </dependencies> |
| 80 | <build> |
| 81 | <plugins> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.felix</groupId> |
| 84 | <artifactId>maven-bundle-plugin</artifactId> |
Guillaume Nodet | 213efef | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 85 | <version>2.1.0</version> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 86 | <extensions>true</extensions> |
| 87 | <configuration> |
| 88 | <instructions> |
Guillaume Nodet | a4afb79 | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 89 | <Export-Package> |
Guillaume Nodet | d567a24 | 2009-10-14 13:00:51 +0000 | [diff] [blame] | 90 | org.apache.felix.fileinstall;version=${project.version} |
Guillaume Nodet | a4afb79 | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 91 | </Export-Package> |
Stuart McCulloch | f3af589 | 2009-09-03 17:22:01 +0000 | [diff] [blame] | 92 | <Private-Package> |
Guillaume Nodet | 213efef | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 93 | org.apache.felix.fileinstall.internal, |
Guillaume Nodet | a6a78f1 | 2012-03-16 14:56:39 +0000 | [diff] [blame] | 94 | org.apache.felix.utils.manifest, |
Guillaume Nodet | 213efef | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 95 | org.apache.felix.utils.properties, |
Guillaume Nodet | a6a78f1 | 2012-03-16 14:56:39 +0000 | [diff] [blame] | 96 | org.apache.felix.utils.version, |
Stuart McCulloch | f3af589 | 2009-09-03 17:22:01 +0000 | [diff] [blame] | 97 | </Private-Package> |
Guillaume Nodet | a4afb79 | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 98 | <Import-Package> |
| 99 | org.osgi.service.log;resolution:=optional, |
Guillaume Nodet | d567a24 | 2009-10-14 13:00:51 +0000 | [diff] [blame] | 100 | org.osgi.service.cm;resolution:=optional, |
Guillaume Nodet | a4afb79 | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 101 | * |
| 102 | </Import-Package> |
Guillaume Nodet | 32a2324 | 2009-09-03 15:39:17 +0000 | [diff] [blame] | 103 | <Bundle-Activator>org.apache.felix.fileinstall.internal.FileInstall</Bundle-Activator> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 104 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
Carsten Ziegeler | 90f0b9f | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 105 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Guillaume Nodet | c713aa0 | 2012-04-17 16:25:00 +0000 | [diff] [blame] | 106 | <Bundle-DocURL> |
| 107 | http://felix.apache.org/site/apache-felix-file-install.html |
| 108 | </Bundle-DocURL> |
Guillaume Nodet | a4afb79 | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 109 | <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
Carsten Ziegeler | 8c2f61e | 2010-08-06 14:33:43 +0000 | [diff] [blame] | 110 | <Embed-Dependency> |
Guillaume Nodet | 213efef | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 111 | org.apache.felix.configadmin;inline="org/apache/felix/cm/file/ConfigurationHandler.*", |
| 112 | org.apache.felix.utils;inline="org/apache/felix/utils/collections/DictionaryAsMap*.*" |
Carsten Ziegeler | 8c2f61e | 2010-08-06 14:33:43 +0000 | [diff] [blame] | 113 | </Embed-Dependency> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 114 | </instructions> |
| 115 | </configuration> |
| 116 | </plugin> |
Richard S. Hall | 46e748d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 117 | <plugin> |
Guillaume Nodet | 2f457d0 | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 118 | <groupId>org.apache.maven.plugins</groupId> |
| 119 | <artifactId>maven-source-plugin</artifactId> |
| 120 | <executions> |
| 121 | <execution> |
| 122 | <id>attach-sources</id> |
| 123 | <goals> |
| 124 | <goal>jar</goal> |
| 125 | </goals> |
| 126 | </execution> |
| 127 | </executions> |
| 128 | </plugin> |
| 129 | <plugin> |
| 130 | <groupId>org.apache.maven.plugins</groupId> |
| 131 | <artifactId>maven-shade-plugin</artifactId> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <phase>package</phase> |
| 135 | <goals> |
| 136 | <goal>shade</goal> |
| 137 | </goals> |
| 138 | <configuration> |
| 139 | <artifactSet> |
| 140 | <includes> |
| 141 | <include>org.apache.felix:org.apache.felix.configadmin</include> |
| 142 | <include>org.apache.felix:org.apache.felix.utils</include> |
| 143 | </includes> |
| 144 | </artifactSet> |
| 145 | <filters> |
| 146 | <filter> |
| 147 | <artifact>org.apache.felix:org.apache.felix.configadmin</artifact> |
| 148 | <includes> |
| 149 | <include>**/ConfigurationHandler.*</include> |
| 150 | </includes> |
| 151 | </filter> |
| 152 | <filter> |
| 153 | <artifact>org.apache.felix:org.apache.felix.utils</artifact> |
| 154 | <includes> |
| 155 | <include>**/DictionaryAsMap.*</include> |
| 156 | </includes> |
| 157 | </filter> |
| 158 | </filters> |
| 159 | <createSourcesJar>true</createSourcesJar> |
| 160 | <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| 161 | <createDependencyReducedPom>true</createDependencyReducedPom> |
| 162 | </configuration> |
| 163 | </execution> |
| 164 | </executions> |
| 165 | </plugin> |
| 166 | <plugin> |
Richard S. Hall | 46e748d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 167 | <groupId>org.codehaus.mojo</groupId> |
| 168 | <artifactId>rat-maven-plugin</artifactId> |
| 169 | <configuration> |
| 170 | <excludeSubProjects>false</excludeSubProjects> |
| 171 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 172 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 173 | <excludes> |
| 174 | <param>doc/*</param> |
| 175 | <param>maven-eclipse.xml</param> |
| 176 | <param>.checkstyle</param> |
| 177 | <param>.externalToolBuilders/*</param> |
| 178 | </excludes> |
| 179 | </configuration> |
| 180 | </plugin> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 181 | </plugins> |
| 182 | </build> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 183 | </project> |