blob: 4f073cc8da33b4a8107bb3c765800834a9eb3d7d [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>
68 </dependencies>
Guillaume Nodet717ba912015-05-18 12:45:10 +000069 <repositories />
70 <pluginRepositories />
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000071 <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>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000098 <target>1.6</target>
99 <source>1.6</source>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +0000100 </configuration>
101 </plugin>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-source-plugin</artifactId>
105 <version>2.1.2</version>
106 <executions>
107 <execution>
108 <id>attach-sources</id>
109 <phase>verify</phase>
110 <goals>
111 <goal>jar-no-fork</goal>
112 </goals>
113 </execution>
114 </executions>
115 </plugin>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-javadoc-plugin</artifactId>
119 <version>2.8</version>
120 <executions>
121 <execution>
122 <id>attach-javadoc</id>
123 <phase>verify</phase>
124 <goals>
125 <goal>jar</goal>
126 </goals>
127 </execution>
128 </executions>
129 </plugin>
130 <plugin>
131 <groupId>org.apache.felix</groupId>
132 <artifactId>maven-bundle-plugin</artifactId>
133 <version>2.3.4</version>
134 <extensions>true</extensions>
135 <configuration>
136 <instructions>
137 <Bundle-SymbolicName>org.apache.felix.connect</Bundle-SymbolicName>
138 <Bundle-Name>Pojo Service Registry</Bundle-Name>
139 <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
Guillaume Nodetff8b0802015-05-22 07:23:04 +0000140 <Private-Package>
141 org.osgi.framework.*,
142 org.osgi.resource,
143 org.osgi.service.url,
144 org.osgi.service.packageadmin,
145 org.osgi.service.startlevel,
146 org.osgi.util.tracker,
147 org.apache.felix.connect.*
Guillaume Nodet47e6dd82014-03-31 16:38:59 +0000148 </Private-Package>
149 <Import-Package>!*</Import-Package>
150 <Include-Resource>
151 META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}
152 </Include-Resource>
153 <Main-Class>org.apache.felix.connect.PojoSR</Main-Class>
154 </instructions>
155 </configuration>
156 </plugin>
157 </plugins>
158 <resources>
159 <resource>
160 <directory>src/main/resources</directory>
161 <filtering>true</filtering>
162 </resource>
163 <resource>
164 <directory>.</directory>
165 <targetPath>META-INF</targetPath>
166 <includes>
167 <include>LICENSE*</include>
168 <include>NOTICE*</include>
169 <include>DEPENDENCIES*</include>
170 </includes>
171 </resource>
172 </resources>
173 </build>
174</project>