Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | |
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | contributor license agreements. See the NOTICE file distributed with |
| 5 | this work for additional information regarding copyright ownership. |
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 | (the "License"); you may not use this file except in compliance with |
| 8 | 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, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
Guillaume Nodet | 717ba91 | 2015-05-18 12:45:10 +0000 | [diff] [blame] | 18 | <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"> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 19 | <parent> |
| 20 | <groupId>org.apache.felix</groupId> |
| 21 | <artifactId>felix-parent</artifactId> |
| 22 | <version>2.1</version> |
| 23 | <relativePath>../pom/pom.xml</relativePath> |
| 24 | </parent> |
| 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <packaging>bundle</packaging> |
| 27 | <name>Apache Felix Connect</name> |
| 28 | <artifactId>org.apache.felix.connect</artifactId> |
Guillaume Nodet | be268c3 | 2015-05-22 07:28:59 +0000 | [diff] [blame] | 29 | <version>0.1.1-SNAPSHOT</version> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 30 | <description>A service registry that enables OSGi style service registry programs without using an OSGi framework. |
| 31 | </description> |
| 32 | <url>http://felix.apache.org/</url> |
| 33 | <licenses> |
| 34 | <license> |
| 35 | <name>The Apache Software License, Version 2.0</name> |
| 36 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 37 | <distribution>repo</distribution> |
| 38 | </license> |
| 39 | </licenses> |
| 40 | <scm> |
Guillaume Nodet | be268c3 | 2015-05-22 07:28:59 +0000 | [diff] [blame] | 41 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/connect</connection> |
| 42 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/connect</developerConnection> |
| 43 | <url>http://svn.apache.org/repos/asf/felix/connect</url> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 44 | </scm> |
| 45 | <developers> |
| 46 | <developer> |
| 47 | <id>karlpauls</id> |
| 48 | <name>Karl Pauls</name> |
| 49 | <email>karlpauls@gmail.com</email> |
| 50 | </developer> |
Guillaume Nodet | 0a47c44 | 2014-11-27 15:14:39 +0000 | [diff] [blame] | 51 | <developer> |
| 52 | <id>gnodet</id> |
| 53 | <name>Guillaume Nodet</name> |
| 54 | <email>gnodet@gmail.com</email> |
| 55 | </developer> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 56 | </developers> |
| 57 | <dependencies> |
| 58 | <dependency> |
| 59 | <groupId>org.osgi</groupId> |
| 60 | <artifactId>org.osgi.core</artifactId> |
Guillaume Nodet | 0a47c44 | 2014-11-27 15:14:39 +0000 | [diff] [blame] | 61 | <version>5.0.0</version> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.osgi</groupId> |
| 65 | <artifactId>org.osgi.compendium</artifactId> |
Guillaume Nodet | 0a47c44 | 2014-11-27 15:14:39 +0000 | [diff] [blame] | 66 | <version>5.0.0</version> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 67 | </dependency> |
| 68 | </dependencies> |
Guillaume Nodet | 717ba91 | 2015-05-18 12:45:10 +0000 | [diff] [blame] | 69 | <repositories /> |
| 70 | <pluginRepositories /> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 71 | <build> |
| 72 | <plugins> |
| 73 | <plugin> |
| 74 | <groupId>org.apache.rat</groupId> |
| 75 | <artifactId>apache-rat-plugin</artifactId> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <phase>verify</phase> |
| 79 | <goals> |
| 80 | <goal>check</goal> |
| 81 | </goals> |
| 82 | </execution> |
| 83 | </executions> |
| 84 | <configuration> |
| 85 | <includes> |
| 86 | <include>src/**</include> |
| 87 | </includes> |
| 88 | <excludes> |
| 89 | <exclude>src/main/resources/META-INF/services/org.apache.felix.connect.launch.PojoServiceRegistryFactory</exclude> |
| 90 | <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude> |
| 91 | </excludes> |
| 92 | </configuration> |
| 93 | </plugin> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-compiler-plugin</artifactId> |
| 97 | <configuration> |
Karl Pauls | 254454f | 2015-07-08 12:17:28 +0000 | [diff] [blame] | 98 | <target>1.5</target> |
| 99 | <source>1.5</source> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 100 | </configuration> |
| 101 | </plugin> |
| 102 | <plugin> |
Karl Pauls | 254454f | 2015-07-08 12:17:28 +0000 | [diff] [blame] | 103 | <groupId>org.codehaus.mojo</groupId> |
| 104 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 105 | <version>1.5</version> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <id>check-java-version</id> |
| 109 | <phase>verify</phase> |
| 110 | <goals> |
| 111 | <goal>check</goal> |
| 112 | </goals> |
| 113 | <configuration> |
| 114 | <signature> |
| 115 | <groupId>org.codehaus.mojo.signature</groupId> |
| 116 | <artifactId>java15</artifactId> |
| 117 | <version>1.0</version> |
| 118 | </signature> |
| 119 | </configuration> |
| 120 | </execution> |
| 121 | </executions> |
| 122 | </plugin> |
| 123 | <plugin> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 124 | <groupId>org.apache.maven.plugins</groupId> |
| 125 | <artifactId>maven-source-plugin</artifactId> |
| 126 | <version>2.1.2</version> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <id>attach-sources</id> |
| 130 | <phase>verify</phase> |
| 131 | <goals> |
| 132 | <goal>jar-no-fork</goal> |
| 133 | </goals> |
| 134 | </execution> |
| 135 | </executions> |
| 136 | </plugin> |
| 137 | <plugin> |
| 138 | <groupId>org.apache.maven.plugins</groupId> |
| 139 | <artifactId>maven-javadoc-plugin</artifactId> |
| 140 | <version>2.8</version> |
Karl Pauls | 254454f | 2015-07-08 12:17:28 +0000 | [diff] [blame] | 141 | <configuration> |
| 142 | <failOnError>false</failOnError> |
| 143 | </configuration> |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 144 | <executions> |
| 145 | <execution> |
| 146 | <id>attach-javadoc</id> |
| 147 | <phase>verify</phase> |
| 148 | <goals> |
| 149 | <goal>jar</goal> |
| 150 | </goals> |
| 151 | </execution> |
| 152 | </executions> |
| 153 | </plugin> |
| 154 | <plugin> |
| 155 | <groupId>org.apache.felix</groupId> |
| 156 | <artifactId>maven-bundle-plugin</artifactId> |
| 157 | <version>2.3.4</version> |
| 158 | <extensions>true</extensions> |
| 159 | <configuration> |
| 160 | <instructions> |
| 161 | <Bundle-SymbolicName>org.apache.felix.connect</Bundle-SymbolicName> |
| 162 | <Bundle-Name>Pojo Service Registry</Bundle-Name> |
| 163 | <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor> |
Guillaume Nodet | ff8b080 | 2015-05-22 07:23:04 +0000 | [diff] [blame] | 164 | <Private-Package> |
| 165 | org.osgi.framework.*, |
| 166 | org.osgi.resource, |
| 167 | org.osgi.service.url, |
| 168 | org.osgi.service.packageadmin, |
| 169 | org.osgi.service.startlevel, |
| 170 | org.osgi.util.tracker, |
| 171 | org.apache.felix.connect.* |
Guillaume Nodet | 47e6dd8 | 2014-03-31 16:38:59 +0000 | [diff] [blame] | 172 | </Private-Package> |
| 173 | <Import-Package>!*</Import-Package> |
| 174 | <Include-Resource> |
| 175 | META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/} |
| 176 | </Include-Resource> |
| 177 | <Main-Class>org.apache.felix.connect.PojoSR</Main-Class> |
| 178 | </instructions> |
| 179 | </configuration> |
| 180 | </plugin> |
| 181 | </plugins> |
| 182 | <resources> |
| 183 | <resource> |
| 184 | <directory>src/main/resources</directory> |
| 185 | <filtering>true</filtering> |
| 186 | </resource> |
| 187 | <resource> |
| 188 | <directory>.</directory> |
| 189 | <targetPath>META-INF</targetPath> |
| 190 | <includes> |
| 191 | <include>LICENSE*</include> |
| 192 | <include>NOTICE*</include> |
| 193 | <include>DEPENDENCIES*</include> |
| 194 | </includes> |
| 195 | </resource> |
| 196 | </resources> |
| 197 | </build> |
| 198 | </project> |