| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| --> | |
| <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"> | |
| <parent> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>felix-parent</artifactId> | |
| <version>5</version> | |
| <relativePath>../pom/pom.xml</relativePath> | |
| </parent> | |
| <modelVersion>4.0.0</modelVersion> | |
| <packaging>bundle</packaging> | |
| <name>Apache Felix Connect</name> | |
| <artifactId>org.apache.felix.connect</artifactId> | |
| <version>0.2.1-SNAPSHOT</version> | |
| <description>A service registry that enables OSGi style service registry programs without using an OSGi framework. | |
| </description> | |
| <url>http://felix.apache.org/</url> | |
| <licenses> | |
| <license> | |
| <name>The Apache Software License, Version 2.0</name> | |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| <distribution>repo</distribution> | |
| </license> | |
| </licenses> | |
| <scm> | |
| <connection>scm:git:https://github.com/apache/felix-dev.git</connection> | |
| <developerConnection>scm:git:https://github.com/apache/felix-dev.git</developerConnection> | |
| <url>https://gitbox.apache.org/repos/asf?p=felix-dev.git</url> | |
| </scm> | |
| <developers> | |
| <developer> | |
| <id>karlpauls</id> | |
| <name>Karl Pauls</name> | |
| <email>karlpauls@gmail.com</email> | |
| </developer> | |
| <developer> | |
| <id>gnodet</id> | |
| <name>Guillaume Nodet</name> | |
| <email>gnodet@gmail.com</email> | |
| </developer> | |
| </developers> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.osgi</groupId> | |
| <artifactId>osgi.core</artifactId> | |
| <version>7.0.0</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jboss</groupId> | |
| <artifactId>jboss-vfs</artifactId> | |
| <version>3.2.11.Final</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| </dependencies> | |
| <repositories /> | |
| <pluginRepositories /> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.rat</groupId> | |
| <artifactId>apache-rat-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <phase>verify</phase> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| <configuration> | |
| <includes> | |
| <include>src/**</include> | |
| </includes> | |
| <excludes> | |
| <exclude>src/main/resources/META-INF/services/org.apache.felix.connect.launch.PojoServiceRegistryFactory</exclude> | |
| <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <target>1.6</target> | |
| <source>1.6</source> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>animal-sniffer-maven-plugin</artifactId> | |
| <version>1.5</version> | |
| <executions> | |
| <execution> | |
| <id>check-java-version</id> | |
| <phase>verify</phase> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| <configuration> | |
| <signature> | |
| <groupId>org.codehaus.mojo.signature</groupId> | |
| <artifactId>java16</artifactId> | |
| <version>1.0</version> | |
| </signature> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <version>2.1.2</version> | |
| <executions> | |
| <execution> | |
| <id>attach-sources</id> | |
| <phase>verify</phase> | |
| <goals> | |
| <goal>jar-no-fork</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>2.8</version> | |
| <configuration> | |
| <failOnError>false</failOnError> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>attach-javadoc</id> | |
| <phase>verify</phase> | |
| <goals> | |
| <goal>jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <version>2.3.4</version> | |
| <extensions>true</extensions> | |
| <configuration> | |
| <instructions> | |
| <Bundle-SymbolicName>org.apache.felix.connect</Bundle-SymbolicName> | |
| <Bundle-Name>Pojo Service Registry</Bundle-Name> | |
| <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor> | |
| <Export-Package> | |
| org.osgi.framework.*, | |
| org.osgi.resource, | |
| org.osgi.dto, | |
| org.osgi.resource.dto, | |
| org.osgi.service.url, | |
| org.osgi.service.packageadmin, | |
| org.osgi.service.startlevel, | |
| org.osgi.util.tracker, | |
| org.apache.felix.connect.*;version=${project.version} | |
| </Export-Package> | |
| <Import-Package>!*</Import-Package> | |
| <Include-Resource> | |
| META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/} | |
| </Include-Resource> | |
| <Main-Class>org.apache.felix.connect.PojoSR</Main-Class> | |
| </instructions> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| <resources> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| <filtering>true</filtering> | |
| </resource> | |
| <resource> | |
| <directory>.</directory> | |
| <targetPath>META-INF</targetPath> | |
| <includes> | |
| <include>LICENSE*</include> | |
| <include>NOTICE*</include> | |
| <include>DEPENDENCIES*</include> | |
| </includes> | |
| </resource> | |
| </resources> | |
| </build> | |
| </project> |