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 | 7bf7a4d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 23 | <version>2.1</version> |
Richard S. Hall | 7bf7a4d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
Clement Escoffier | 8146652 | 2009-05-03 08:15:51 +0000 | [diff] [blame] | 26 | |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 28 | <packaging>jar</packaging> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 29 | <name>Apache Felix File Install</name> |
| 30 | <description>A utility to automatically install bundles from a directory.</description> |
Clement Escoffier | 8146652 | 2009-05-03 08:15:51 +0000 | [diff] [blame] | 31 | <url>http://felix.apache.org/site/apache-felix-file-install.html</url> |
Guillaume Nodet | 629d1f5 | 2012-09-25 13:02:49 +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 | 67b0ff5 | 2012-04-18 07:09:54 +0000 | [diff] [blame] | 34 | <scm> |
Guillaume Nodet | 629d1f5 | 2012-09-25 13:02:49 +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 | 67b0ff5 | 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 | 93c943e | 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 | 7e69095 | 2009-12-16 12:16:23 +0000 | [diff] [blame] | 43 | <version>4.1.0</version> |
Guillaume Nodet | 13bce9c | 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 | 93c943e | 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 | 7e69095 | 2009-12-16 12:16:23 +0000 | [diff] [blame] | 49 | <version>4.1.0</version> |
Guillaume Nodet | 13bce9c | 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 | c6e2439 | 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 | 3d144cd | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 55 | <version>1.2.8</version> |
Guillaume Nodet | 3d144cd | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.apache.felix</groupId> |
| 59 | <artifactId>org.apache.felix.utils</artifactId> |
Guillaume Nodet | 985dd3a | 2013-12-04 11:41:13 +0000 | [diff] [blame] | 60 | <version>1.5.0-SNAPSHOT</version> |
Carsten Ziegeler | c6e2439 | 2010-08-06 14:33:43 +0000 | [diff] [blame] | 61 | </dependency> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 62 | </dependencies> |
| 63 | <build> |
| 64 | <plugins> |
| 65 | <plugin> |
Guillaume Nodet | 0aebbe9 | 2013-12-06 09:07:13 +0000 | [diff] [blame^] | 66 | <artifactId>maven-jar-plugin</artifactId> |
| 67 | <configuration> |
| 68 | <archive> |
| 69 | <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 70 | </archive> |
| 71 | </configuration> |
| 72 | </plugin> |
| 73 | <plugin> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 74 | <groupId>org.apache.felix</groupId> |
| 75 | <artifactId>maven-bundle-plugin</artifactId> |
Guillaume Nodet | 3d144cd | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 76 | <version>2.1.0</version> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 77 | <extensions>true</extensions> |
| 78 | <configuration> |
| 79 | <instructions> |
Guillaume Nodet | 472d23a | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 80 | <Export-Package> |
Guillaume Nodet | a286157 | 2009-10-14 13:00:51 +0000 | [diff] [blame] | 81 | org.apache.felix.fileinstall;version=${project.version} |
Guillaume Nodet | 472d23a | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 82 | </Export-Package> |
Stuart McCulloch | a96eeef | 2009-09-03 17:22:01 +0000 | [diff] [blame] | 83 | <Private-Package> |
Guillaume Nodet | 3d144cd | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 84 | org.apache.felix.fileinstall.internal, |
Guillaume Nodet | 1012700 | 2012-03-16 14:56:39 +0000 | [diff] [blame] | 85 | org.apache.felix.utils.manifest, |
Guillaume Nodet | 3d144cd | 2010-10-25 20:19:04 +0000 | [diff] [blame] | 86 | org.apache.felix.utils.properties, |
Guillaume Nodet | 1012700 | 2012-03-16 14:56:39 +0000 | [diff] [blame] | 87 | org.apache.felix.utils.version, |
Stuart McCulloch | a96eeef | 2009-09-03 17:22:01 +0000 | [diff] [blame] | 88 | </Private-Package> |
Guillaume Nodet | 472d23a | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 89 | <Import-Package> |
| 90 | org.osgi.service.log;resolution:=optional, |
Guillaume Nodet | a286157 | 2009-10-14 13:00:51 +0000 | [diff] [blame] | 91 | org.osgi.service.cm;resolution:=optional, |
Guillaume Nodet | 0aebbe9 | 2013-12-06 09:07:13 +0000 | [diff] [blame^] | 92 | !org.apache.felix.fileinstall, |
| 93 | !org.apache.felix.cm.file, |
| 94 | !org.apache.felix.utils.*, |
Guillaume Nodet | 472d23a | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 95 | * |
| 96 | </Import-Package> |
Guillaume Nodet | 67bfa5f | 2009-09-03 15:39:17 +0000 | [diff] [blame] | 97 | <Bundle-Activator>org.apache.felix.fileinstall.internal.FileInstall</Bundle-Activator> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 98 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
Carsten Ziegeler | cf6e51b | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 99 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Guillaume Nodet | f9379dd | 2012-04-17 16:25:00 +0000 | [diff] [blame] | 100 | <Bundle-DocURL> |
| 101 | http://felix.apache.org/site/apache-felix-file-install.html |
| 102 | </Bundle-DocURL> |
Guillaume Nodet | 472d23a | 2009-09-03 13:39:34 +0000 | [diff] [blame] | 103 | <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
Carsten Ziegeler | c6e2439 | 2010-08-06 14:33:43 +0000 | [diff] [blame] | 104 | <Embed-Dependency> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 105 | org.apache.felix.configadmin;inline="org/apache/felix/cm/file/ConfigurationHandler.class", |
| 106 | org.apache.felix.utils;inline="org/apache/felix/utils/collections/DictionaryAsMap*.class" |
Carsten Ziegeler | c6e2439 | 2010-08-06 14:33:43 +0000 | [diff] [blame] | 107 | </Embed-Dependency> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 108 | </instructions> |
| 109 | </configuration> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 110 | <executions> |
| 111 | <execution> |
| 112 | <id>bundle-manifest</id> |
| 113 | <phase>process-classes</phase> |
| 114 | <goals> |
| 115 | <goal>manifest</goal> |
| 116 | </goals> |
| 117 | </execution> |
| 118 | </executions> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 119 | </plugin> |
Richard S. Hall | 7bf7a4d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 120 | <plugin> |
Guillaume Nodet | a6cb91a | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-source-plugin</artifactId> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 123 | <version>2.2.1</version> |
Guillaume Nodet | a6cb91a | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 124 | <executions> |
| 125 | <execution> |
| 126 | <id>attach-sources</id> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 127 | <phase>prepare-package</phase> |
Guillaume Nodet | a6cb91a | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 128 | <goals> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 129 | <goal>jar-no-fork</goal> |
Guillaume Nodet | a6cb91a | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 130 | </goals> |
| 131 | </execution> |
| 132 | </executions> |
| 133 | </plugin> |
| 134 | <plugin> |
| 135 | <groupId>org.apache.maven.plugins</groupId> |
| 136 | <artifactId>maven-shade-plugin</artifactId> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 137 | <version>2.2</version> |
Guillaume Nodet | a6cb91a | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 138 | <executions> |
| 139 | <execution> |
| 140 | <phase>package</phase> |
| 141 | <goals> |
| 142 | <goal>shade</goal> |
| 143 | </goals> |
| 144 | <configuration> |
| 145 | <artifactSet> |
| 146 | <includes> |
| 147 | <include>org.apache.felix:org.apache.felix.configadmin</include> |
| 148 | <include>org.apache.felix:org.apache.felix.utils</include> |
| 149 | </includes> |
| 150 | </artifactSet> |
| 151 | <filters> |
| 152 | <filter> |
| 153 | <artifact>org.apache.felix:org.apache.felix.configadmin</artifact> |
| 154 | <includes> |
| 155 | <include>**/ConfigurationHandler.*</include> |
| 156 | </includes> |
| 157 | </filter> |
| 158 | <filter> |
| 159 | <artifact>org.apache.felix:org.apache.felix.utils</artifact> |
| 160 | <includes> |
Guillaume Nodet | 0aebbe9 | 2013-12-06 09:07:13 +0000 | [diff] [blame^] | 161 | <include>**/DictionaryAsMap*.*</include> |
Guillaume Nodet | 7b76c0a | 2013-12-05 23:01:03 +0000 | [diff] [blame] | 162 | <include>org/apache/felix/utils/manifest/**</include> |
| 163 | <include>org/apache/felix/utils/properties/**</include> |
| 164 | <include>org/apache/felix/utils/version/**</include> |
Guillaume Nodet | a6cb91a | 2012-09-03 13:08:02 +0000 | [diff] [blame] | 165 | </includes> |
| 166 | </filter> |
| 167 | </filters> |
| 168 | <createSourcesJar>true</createSourcesJar> |
| 169 | <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| 170 | <createDependencyReducedPom>true</createDependencyReducedPom> |
| 171 | </configuration> |
| 172 | </execution> |
| 173 | </executions> |
| 174 | </plugin> |
| 175 | <plugin> |
Richard S. Hall | 7bf7a4d | 2010-08-03 13:25:34 +0000 | [diff] [blame] | 176 | <groupId>org.codehaus.mojo</groupId> |
| 177 | <artifactId>rat-maven-plugin</artifactId> |
| 178 | <configuration> |
| 179 | <excludeSubProjects>false</excludeSubProjects> |
| 180 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 181 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 182 | <excludes> |
| 183 | <param>doc/*</param> |
| 184 | <param>maven-eclipse.xml</param> |
| 185 | <param>.checkstyle</param> |
| 186 | <param>.externalToolBuilders/*</param> |
| 187 | </excludes> |
| 188 | </configuration> |
| 189 | </plugin> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 190 | </plugins> |
| 191 | </build> |
Richard S. Hall | b63426f | 2008-03-05 20:03:55 +0000 | [diff] [blame] | 192 | </project> |