blob: 10be23cb15021d1e14927ab4d6051c3a20292345 [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>
52 </developers>
53 <dependencies>
54 <dependency>
55 <groupId>org.osgi</groupId>
56 <artifactId>org.osgi.core</artifactId>
57 <version>4.3.1</version>
58 </dependency>
59 <dependency>
60 <groupId>org.osgi</groupId>
61 <artifactId>org.osgi.compendium</artifactId>
62 <version>4.2.0</version>
63 </dependency>
64 </dependencies>
65 <repositories/>
66 <pluginRepositories/>
67 <build>
68 <plugins>
69 <plugin>
70 <groupId>org.apache.rat</groupId>
71 <artifactId>apache-rat-plugin</artifactId>
72 <executions>
73 <execution>
74 <phase>verify</phase>
75 <goals>
76 <goal>check</goal>
77 </goals>
78 </execution>
79 </executions>
80 <configuration>
81 <includes>
82 <include>src/**</include>
83 </includes>
84 <excludes>
85 <exclude>src/main/resources/META-INF/services/org.apache.felix.connect.launch.PojoServiceRegistryFactory</exclude>
86 <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude>
87 </excludes>
88 </configuration>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-compiler-plugin</artifactId>
93 <configuration>
94 <target>1.5</target>
95 <source>1.5</source>
96 </configuration>
97 </plugin>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-source-plugin</artifactId>
101 <version>2.1.2</version>
102 <executions>
103 <execution>
104 <id>attach-sources</id>
105 <phase>verify</phase>
106 <goals>
107 <goal>jar-no-fork</goal>
108 </goals>
109 </execution>
110 </executions>
111 </plugin>
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-javadoc-plugin</artifactId>
115 <version>2.8</version>
116 <executions>
117 <execution>
118 <id>attach-javadoc</id>
119 <phase>verify</phase>
120 <goals>
121 <goal>jar</goal>
122 </goals>
123 </execution>
124 </executions>
125 </plugin>
126 <plugin>
127 <groupId>org.apache.felix</groupId>
128 <artifactId>maven-bundle-plugin</artifactId>
129 <version>2.3.4</version>
130 <extensions>true</extensions>
131 <configuration>
132 <instructions>
133 <Bundle-SymbolicName>org.apache.felix.connect</Bundle-SymbolicName>
134 <Bundle-Name>Pojo Service Registry</Bundle-Name>
135 <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
136 <Private-Package>org.osgi.framework.*, org.osgi.service.url, org.osgi.service.packageadmin,
137 org.osgi.service.startlevel, org.osgi.util.tracker, org.apache.felix.connect.*
138 </Private-Package>
139 <Import-Package>!*</Import-Package>
140 <Include-Resource>
141 META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}
142 </Include-Resource>
143 <Main-Class>org.apache.felix.connect.PojoSR</Main-Class>
144 </instructions>
145 </configuration>
146 </plugin>
147 </plugins>
148 <resources>
149 <resource>
150 <directory>src/main/resources</directory>
151 <filtering>true</filtering>
152 </resource>
153 <resource>
154 <directory>.</directory>
155 <targetPath>META-INF</targetPath>
156 <includes>
157 <include>LICENSE*</include>
158 <include>NOTICE*</include>
159 <include>DEPENDENCIES*</include>
160 </includes>
161 </resource>
162 </resources>
163 </build>
164</project>