blob: 667f21f3ed8ea25906c8b77949f704d03bb3370f [file] [log] [blame]
Stefano Lenzi9d292542008-06-03 13:22:01 +00001<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">
Stefano Lenzi03420302007-12-19 16:55:57 +00002 <parent>
3 <groupId>org.apache.felix</groupId>
Stefano Lenzi3897e472009-05-17 16:04:39 +00004 <artifactId>felix-parent</artifactId>
5 <version>1.2.0</version>
Stefano Lenzi03420302007-12-19 16:55:57 +00006 <relativePath>../../pom/pom.xml</relativePath>
7 </parent>
8 <modelVersion>4.0.0</modelVersion>
9 <packaging>bundle</packaging>
10 <groupId>org.apache.felix</groupId>
11 <name>Apache Felix UPnP Base Driver</name>
12 <artifactId>org.apache.felix.upnp.basedriver</artifactId>
Stefano Lenzi179d5852008-06-03 13:22:12 +000013 <version>0.9.0-SNAPSHOT</version>
Stefano Lenzi03420302007-12-19 16:55:57 +000014
Stefano Lenzib7d5e712010-09-09 12:33:51 +000015 <properties>
16 <cyberdomo.jdk14.version>1.8.0</cyberdomo.jdk14.version>
17 <cyberdomo.jdk13.version>1.8.0</cyberdomo.jdk13.version>
18 <cyberlink.jdk14.version>1.7.0</cyberlink.jdk14.version>
19 </properties>
20
Stefano Lenzif6c6d702008-09-10 20:48:02 +000021 <profiles>
22 <profile>
Stefano Lenzib7d5e712010-09-09 12:33:51 +000023 <id>LATEST</id>
24 <repositories>
25 <repository>
26 <id>release.domoware.isti.cnr.it</id>
27 <name>Domoware Java Repository</name>
28 <url>http://domoware.isti.cnr.it/maven2/</url>
29 <snapshots><enabled>false</enabled></snapshots>
30 </repository>
31 <repository>
32 <id>snapshot.domoware.isti.cnr.it</id>
33 <name>Domoware Java Snapshot Repository</name>
34 <url>http://domoware.isti.cnr.it/maven2-snap/</url>
35 <releases><enabled>false</enabled></releases>
36 </repository>
37 </repositories>
38 <properties>
39 <cyberdomo.jdk14.version>1.9.0-SNAPSHOT</cyberdomo.jdk14.version>
40 <cyberdomo.jdk13.version>1.8.1-SNAPSHOT</cyberdomo.jdk13.version>
41 <cyberlink.jdk14.version>1.8.0-SNAPSHOT</cyberlink.jdk14.version>
42 </properties>
43 </profile>
44
45 <profile>
Stefano Lenzif6c6d702008-09-10 20:48:02 +000046 <id>cyberlink</id>
47 <activation>
48 <property>
Stefano Lenzib7d5e712010-09-09 12:33:51 +000049 <name>cyberlink</name><value>true</value>
50 </property>
Stefano Lenzif6c6d702008-09-10 20:48:02 +000051 </activation>
52
53 <repositories>
54 <repository>
55 <id>release.cgupnpjava.sourceforge.net</id>
56 <name>CyberLink for Java Repository</name>
57 <url>http://cgupnpjava.sourceforge.net/repository/</url>
58 <snapshots><enabled>false</enabled></snapshots>
59 </repository>
60 <repository>
61 <id>snapshot.cgupnpjava.sourceforge.net</id>
62 <name>CyberLink for Java Development Repository</name>
63 <url>http://cgupnpjava.sourceforge.net/snapshots-repository/</url>
64 <releases><enabled>false</enabled></releases>
65 </repository>
66 </repositories>
67
68 <build>
69 <plugins>
70 <plugin>
71 <groupId>org.apache.felix</groupId>
72 <artifactId>maven-bundle-plugin</artifactId>
Stefano Lenzif6c6d702008-09-10 20:48:02 +000073 <executions>
74 <execution>
75 <id>cyberlink</id>
76 <goals><goal>bundle</goal></goals>
77 <configuration>
78 <classifier>cyberlink</classifier>
79 <manifestLocation>${project.build.outputDirectory}/META-INF-cyberlink</manifestLocation>
80 <excludeDependencies>it.cnr.isti.domoware.cyberdomo:upnp-stack,it.cnr.isti.domoware.cyberdomo:upnp-stack-jdk13</excludeDependencies>
81 <instructions>
82 <Export-Package>
83 org.apache.felix.upnp.basedriver.controller;version=0.1.0,
84 org.apache.felix.upnp.basedriver.util;version=0.3.0,
Stefano Lenzib7d5e712010-09-09 12:33:51 +000085 org.apache.felix.upnp.basedriver.resources;version=0.3.0,
86 org.osgi.service.upnp;version=1.1.0
Stefano Lenzif6c6d702008-09-10 20:48:02 +000087 </Export-Package>
88 <Import-Package>
89 org.osgi.*, javax.xml.parsers, org.w3c.dom, org.xml.sax,
90 !org.kxml2.io, !org.xmlpull.v1, !org.apache.xerces.parsers
91 </Import-Package>
92 <Private-Package>
93 org.apache.felix.upnp.basedriver.*;-split-package:=merge-first,
94 org.cybergarage.*,
95 org.apache.xerces.impl.dv.util
96 </Private-Package>
97 </instructions>
98 </configuration>
99 </execution>
100 </executions>
101 </plugin>
102 </plugins>
103 </build>
104
105 <dependencies>
106 <dependency>
107 <groupId>org.cybergarage.cyberlink</groupId>
108 <artifactId>upnp-stack</artifactId>
Stuart McCullochc1245242009-08-14 16:42:07 +0000109 <version>1.8.0</version>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000110 <optional>true</optional>
111 <exclusions>
112 <exclusion>
113 <groupId>xerces</groupId>
114 <artifactId>xercesImpl</artifactId>
115 </exclusion>
116 </exclusions>
117 </dependency>
118 </dependencies>
119
120 </profile>
121 </profiles>
122
Stefano Lenzida87be72008-02-20 22:12:06 +0000123 <build>
124 <plugins>
125 <plugin>
126 <groupId>org.apache.felix</groupId>
127 <artifactId>maven-bundle-plugin</artifactId>
Stefano Lenzida87be72008-02-20 22:12:06 +0000128 <extensions>true</extensions>
129 <configuration>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000130 <excludeDependencies>org.cybergarage.cyberlink:upnp-stack,upnp-stack-jdk13</excludeDependencies>
Stefano Lenzida87be72008-02-20 22:12:06 +0000131 <instructions>
132 <Bundle-Name>${pom.name}</Bundle-Name>
133 <Bundle-Activator>
134 org.apache.felix.upnp.basedriver.Activator
135 </Bundle-Activator>
Carsten Ziegelercf6e51b2008-04-17 06:33:59 +0000136 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Stefano Lenzida87be72008-02-20 22:12:06 +0000137 <Bundle-Author>
138 <![CDATA[Matteo Demuru <demuru@apache.org>,Francesco Furfari <furfari@apache.org>,Stefano "Kismet" Lenzi <lenzi@apache.org>]]>
139 </Bundle-Author>
140 <Bundle-Description>
141 A Bundle implementation of the UPnP Service
142 Specification R4
143 </Bundle-Description>
144 <Bundle-SymbolicName>
145 org.apache.felix.upnp.basedriver
146 </Bundle-SymbolicName>
147 <Export-Package>
148 org.apache.felix.upnp.basedriver.controller;version=0.1.0,
149 org.apache.felix.upnp.basedriver.util;version=0.3.0,
Stefano Lenzib7d5e712010-09-09 12:33:51 +0000150 org.apache.felix.upnp.basedriver.resources;version=0.3.0,
151 org.osgi.service.upnp;version=1.1.0
Stefano Lenzida87be72008-02-20 22:12:06 +0000152 </Export-Package>
153 <Import-Package>
154 org.osgi.*, javax.xml.parsers, org.w3c.dom, org.xml.sax
155 </Import-Package>
156 <Private-Package>
157 org.apache.felix.upnp.basedriver.*;-split-package:=merge-first,
158 org.cybergarage.*,
159 org.apache.xerces.impl.dv.util
160 </Private-Package>
161 </instructions>
Stefano Lenzida87be72008-02-20 22:12:06 +0000162 </configuration>
163 <executions>
164 <execution>
165 <id>jdk13</id>
166 <goals><goal>bundle</goal></goals>
167 <configuration>
168 <classifier>jdk13</classifier>
Stuart McCulloch9294bf12008-02-21 15:58:26 +0000169 <manifestLocation>${project.build.outputDirectory}/META-INF-jdk13</manifestLocation>
Stefano Lenzida87be72008-02-20 22:12:06 +0000170 <excludeDependencies>upnp-stack</excludeDependencies>
Francesco Furfari917c5e22008-01-02 15:30:40 +0000171 <instructions>
Francesco Furfari917c5e22008-01-02 15:30:40 +0000172 <Export-Package>
Stefano Lenzi75dbfc92008-02-11 17:42:26 +0000173 org.apache.felix.upnp.basedriver.controller;version=0.1.0,
174 org.apache.felix.upnp.basedriver.util;version=0.3.0,
Stefano Lenzib7d5e712010-09-09 12:33:51 +0000175 org.apache.felix.upnp.basedriver.resources;version=0.3.0,
176 org.osgi.service.upnp;version=1.1.0
Francesco Furfari917c5e22008-01-02 15:30:40 +0000177 </Export-Package>
178 <Import-Package>
Stefano Lenzida87be72008-02-20 22:12:06 +0000179 org.osgi.*
Francesco Furfari917c5e22008-01-02 15:30:40 +0000180 </Import-Package>
181 <Private-Package>
Stefano Lenzida87be72008-02-20 22:12:06 +0000182 org.apache.felix.upnp.basedriver.*;-split-package:=merge-first,
Stefano Lenzi8390c4a2008-01-07 19:12:14 +0000183 org.cybergarage.*,
Stefano Lenzi1a1f50e2008-06-03 13:05:24 +0000184 org.kxml2.io, org.xmlpull.v1,
Stefano Lenzi8390c4a2008-01-07 19:12:14 +0000185 org.apache.xerces.impl.dv.util
Francesco Furfari917c5e22008-01-02 15:30:40 +0000186 </Private-Package>
187 </instructions>
Stefano Lenzida87be72008-02-20 22:12:06 +0000188 </configuration>
189 </execution>
190 </executions>
191 </plugin>
Stefano Lenzi3872d742009-05-22 16:01:40 +0000192 <plugin>
193 <groupId>org.ops4j</groupId>
194 <artifactId>maven-pax-plugin</artifactId>
195 <configuration>
196 <provision>
197 <provision>mvn:org.apache.felix/org.apache.felix.upnp.basedriver</provision>
198 <provision>mvn:org.apache.felix/javax.servlet</provision>
199 </provision>
200 </configuration>
201 </plugin>
Stefano Lenzida87be72008-02-20 22:12:06 +0000202 </plugins>
203 </build>
Stefano Lenzi03420302007-12-19 16:55:57 +0000204
Stuart McCullochc1245242009-08-14 16:42:07 +0000205<!-- !!! UNABLE TO ACCESS THESE REPOS !!!
Stefano Lenzi29f72ec2009-05-25 13:20:32 +0000206 <repositories>
207 <repository>
208 <id>release.domoware.isti.cnr.it</id>
209 <name>Domoware Java Repository</name>
210 <url>http://domoware.isti.cnr.it/maven2/</url>
211 <snapshots><enabled>false</enabled></snapshots>
212 </repository>
213 <repository>
214 <id>snapshot.domoware.isti.cnr.it</id>
215 <name>Domoware Java Snapshot Repository</name>
216 <url>http://domoware.isti.cnr.it/maven2-snap/</url>
217 <releases><enabled>false</enabled></releases>
218 </repository>
219 </repositories>
Stuart McCullochc1245242009-08-14 16:42:07 +0000220-->
Stefano Lenzi03420302007-12-19 16:55:57 +0000221
222 <dependencies>
223 <dependency>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000224 <groupId>org.apache.felix</groupId>
Stefano Lenzi03420302007-12-19 16:55:57 +0000225 <artifactId>org.osgi.core</artifactId>
Stefano Lenzi75dbfc92008-02-11 17:42:26 +0000226 <version>1.0.0</version>
Stefano Lenzi03420302007-12-19 16:55:57 +0000227 <scope>provided</scope>
228 </dependency>
229 <dependency>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000230 <groupId>org.apache.felix</groupId>
Stefano Lenzi03420302007-12-19 16:55:57 +0000231 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc340ecf2008-01-28 07:21:59 +0000232 <version>1.0.0</version>
Stefano Lenzi03420302007-12-19 16:55:57 +0000233 </dependency>
Stefano Lenzida87be72008-02-20 22:12:06 +0000234 <dependency>
235 <groupId>it.cnr.isti.domoware.cyberdomo</groupId>
236 <artifactId>upnp-stack</artifactId>
Stefano Lenzib7d5e712010-09-09 12:33:51 +0000237 <version>${cyberdomo.jdk14.version}</version>
Stefano Lenzida87be72008-02-20 22:12:06 +0000238 <optional>true</optional>
239 </dependency>
240 <dependency>
241 <groupId>it.cnr.isti.domoware.cyberdomo</groupId>
242 <artifactId>upnp-stack-jdk13</artifactId>
Stefano Lenzib7d5e712010-09-09 12:33:51 +0000243 <version>${cyberdomo.jdk13.version}</version>
Stefano Lenzida87be72008-02-20 22:12:06 +0000244 <optional>true</optional>
245 </dependency>
Stefano Lenzi03420302007-12-19 16:55:57 +0000246 </dependencies>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000247</project>