blob: 65f61d72afcf732475067a6a2d8597112f438297 [file] [log] [blame]
Guillaume Nodet47e6dd82014-03-31 16:38:59 +00001<!--
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 Nodet717ba912015-05-18 12:45:10 +000018<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 Nodet47e6dd82014-03-31 16:38:59 +000019 <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 Nodetbe268c32015-05-22 07:28:59 +000029 <version>0.1.1-SNAPSHOT</version>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000030 <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 Nodetbe268c32015-05-22 07:28:59 +000041 <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 Nodet47e6dd82014-03-31 16:38:59 +000044 </scm>
45 <developers>
46 <developer>
47 <id>karlpauls</id>
48 <name>Karl Pauls</name>
49 <email>karlpauls@gmail.com</email>
50 </developer>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000051 <developer>
52 <id>gnodet</id>
53 <name>Guillaume Nodet</name>
54 <email>gnodet@gmail.com</email>
55 </developer>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000056 </developers>
57 <dependencies>
58 <dependency>
59 <groupId>org.osgi</groupId>
60 <artifactId>org.osgi.core</artifactId>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000061 <version>5.0.0</version>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000062 </dependency>
63 <dependency>
64 <groupId>org.osgi</groupId>
65 <artifactId>org.osgi.compendium</artifactId>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000066 <version>5.0.0</version>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000067 </dependency>
Pierre De Ropdde5df02016-03-21 20:01:34 +000068 <dependency>
69 <groupId>org.jboss</groupId>
70 <artifactId>jboss-vfs</artifactId>
71 <version>3.2.11.Final</version>
72 </dependency>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000073 </dependencies>
Guillaume Nodet717ba912015-05-18 12:45:10 +000074 <repositories />
75 <pluginRepositories />
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000076 <build>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.rat</groupId>
80 <artifactId>apache-rat-plugin</artifactId>
81 <executions>
82 <execution>
83 <phase>verify</phase>
84 <goals>
85 <goal>check</goal>
86 </goals>
87 </execution>
88 </executions>
89 <configuration>
90 <includes>
91 <include>src/**</include>
92 </includes>
93 <excludes>
94 <exclude>src/main/resources/META-INF/services/org.apache.felix.connect.launch.PojoServiceRegistryFactory</exclude>
95 <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude>
96 </excludes>
97 </configuration>
98 </plugin>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-compiler-plugin</artifactId>
102 <configuration>
Karl Pauls254454f2015-07-08 12:17:28 +0000103 <target>1.5</target>
104 <source>1.5</source>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +0000105 </configuration>
106 </plugin>
107 <plugin>
Karl Pauls254454f2015-07-08 12:17:28 +0000108 <groupId>org.codehaus.mojo</groupId>
109 <artifactId>animal-sniffer-maven-plugin</artifactId>
110 <version>1.5</version>
111 <executions>
112 <execution>
113 <id>check-java-version</id>
114 <phase>verify</phase>
115 <goals>
116 <goal>check</goal>
117 </goals>
118 <configuration>
119 <signature>
120 <groupId>org.codehaus.mojo.signature</groupId>
121 <artifactId>java15</artifactId>
122 <version>1.0</version>
123 </signature>
124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
128 <plugin>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +0000129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-source-plugin</artifactId>
131 <version>2.1.2</version>
132 <executions>
133 <execution>
134 <id>attach-sources</id>
135 <phase>verify</phase>
136 <goals>
137 <goal>jar-no-fork</goal>
138 </goals>
139 </execution>
140 </executions>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-javadoc-plugin</artifactId>
145 <version>2.8</version>
Karl Pauls254454f2015-07-08 12:17:28 +0000146 <configuration>
147 <failOnError>false</failOnError>
148 </configuration>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +0000149 <executions>
150 <execution>
151 <id>attach-javadoc</id>
152 <phase>verify</phase>
153 <goals>
154 <goal>jar</goal>
155 </goals>
156 </execution>
157 </executions>
158 </plugin>
159 <plugin>
160 <groupId>org.apache.felix</groupId>
161 <artifactId>maven-bundle-plugin</artifactId>
162 <version>2.3.4</version>
163 <extensions>true</extensions>
164 <configuration>
165 <instructions>
166 <Bundle-SymbolicName>org.apache.felix.connect</Bundle-SymbolicName>
167 <Bundle-Name>Pojo Service Registry</Bundle-Name>
168 <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
Guillaume Nodetff8b0802015-05-22 07:23:04 +0000169 <Private-Package>
170 org.osgi.framework.*,
171 org.osgi.resource,
172 org.osgi.service.url,
173 org.osgi.service.packageadmin,
174 org.osgi.service.startlevel,
175 org.osgi.util.tracker,
176 org.apache.felix.connect.*
Guillaume Nodet47e6dd82014-03-31 16:38:59 +0000177 </Private-Package>
178 <Import-Package>!*</Import-Package>
179 <Include-Resource>
180 META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}
181 </Include-Resource>
182 <Main-Class>org.apache.felix.connect.PojoSR</Main-Class>
183 </instructions>
184 </configuration>
185 </plugin>
186 </plugins>
187 <resources>
188 <resource>
189 <directory>src/main/resources</directory>
190 <filtering>true</filtering>
191 </resource>
192 <resource>
193 <directory>.</directory>
194 <targetPath>META-INF</targetPath>
195 <includes>
196 <include>LICENSE*</include>
197 <include>NOTICE*</include>
198 <include>DEPENDENCIES*</include>
199 </includes>
200 </resource>
201 </resources>
202 </build>
203</project>