blob: c48d8879224cab636eb7450a07eb71eed3b4d95d [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-->
18<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>2.1</version>
24 <relativePath>../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix Connect</name>
29 <artifactId>org.apache.felix.connect</artifactId>
30 <version>0.1.0-SNAPSHOT</version>
31 <description>A service registry that enables OSGi style service registry programs without using an OSGi framework.
32 </description>
33 <url>http://felix.apache.org/</url>
34 <licenses>
35 <license>
36 <name>The Apache Software License, Version 2.0</name>
37 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
38 <distribution>repo</distribution>
39 </license>
40 </licenses>
41 <scm>
42 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/connect</connection>
43 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/connect</developerConnection>
44 <url>http://svn.apache.org/repos/asf/felix/connect</url>
45 </scm>
46 <developers>
47 <developer>
48 <id>karlpauls</id>
49 <name>Karl Pauls</name>
50 <email>karlpauls@gmail.com</email>
51 </developer>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000052 <developer>
53 <id>gnodet</id>
54 <name>Guillaume Nodet</name>
55 <email>gnodet@gmail.com</email>
56 </developer>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000057 </developers>
58 <dependencies>
59 <dependency>
60 <groupId>org.osgi</groupId>
61 <artifactId>org.osgi.core</artifactId>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000062 <version>5.0.0</version>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000063 </dependency>
64 <dependency>
65 <groupId>org.osgi</groupId>
66 <artifactId>org.osgi.compendium</artifactId>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000067 <version>5.0.0</version>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +000068 </dependency>
69 </dependencies>
70 <repositories/>
71 <pluginRepositories/>
72 <build>
73 <plugins>
74 <plugin>
75 <groupId>org.apache.rat</groupId>
76 <artifactId>apache-rat-plugin</artifactId>
77 <executions>
78 <execution>
79 <phase>verify</phase>
80 <goals>
81 <goal>check</goal>
82 </goals>
83 </execution>
84 </executions>
85 <configuration>
86 <includes>
87 <include>src/**</include>
88 </includes>
89 <excludes>
90 <exclude>src/main/resources/META-INF/services/org.apache.felix.connect.launch.PojoServiceRegistryFactory</exclude>
91 <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude>
92 </excludes>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-compiler-plugin</artifactId>
98 <configuration>
Guillaume Nodet0a47c442014-11-27 15:14:39 +000099 <target>1.6</target>
100 <source>1.6</source>
Guillaume Nodet47e6dd82014-03-31 16:38:59 +0000101 </configuration>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-source-plugin</artifactId>
106 <version>2.1.2</version>
107 <executions>
108 <execution>
109 <id>attach-sources</id>
110 <phase>verify</phase>
111 <goals>
112 <goal>jar-no-fork</goal>
113 </goals>
114 </execution>
115 </executions>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-javadoc-plugin</artifactId>
120 <version>2.8</version>
121 <executions>
122 <execution>
123 <id>attach-javadoc</id>
124 <phase>verify</phase>
125 <goals>
126 <goal>jar</goal>
127 </goals>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.felix</groupId>
133 <artifactId>maven-bundle-plugin</artifactId>
134 <version>2.3.4</version>
135 <extensions>true</extensions>
136 <configuration>
137 <instructions>
138 <Bundle-SymbolicName>org.apache.felix.connect</Bundle-SymbolicName>
139 <Bundle-Name>Pojo Service Registry</Bundle-Name>
140 <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
141 <Private-Package>org.osgi.framework.*, org.osgi.service.url, org.osgi.service.packageadmin,
142 org.osgi.service.startlevel, org.osgi.util.tracker, org.apache.felix.connect.*
143 </Private-Package>
144 <Import-Package>!*</Import-Package>
145 <Include-Resource>
146 META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}
147 </Include-Resource>
148 <Main-Class>org.apache.felix.connect.PojoSR</Main-Class>
149 </instructions>
150 </configuration>
151 </plugin>
152 </plugins>
153 <resources>
154 <resource>
155 <directory>src/main/resources</directory>
156 <filtering>true</filtering>
157 </resource>
158 <resource>
159 <directory>.</directory>
160 <targetPath>META-INF</targetPath>
161 <includes>
162 <include>LICENSE*</include>
163 <include>NOTICE*</include>
164 <include>DEPENDENCIES*</include>
165 </includes>
166 </resource>
167 </resources>
168 </build>
169</project>