blob: 1ed13aad773e9db934d07b8a118387827d53ae62 [file] [log] [blame]
Stefano Lenzi1d7cec52008-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 Lenzia042e762009-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 Lenzie7f82ba2008-06-03 13:22:12 +000013 <version>0.9.0-SNAPSHOT</version>
Stefano Lenzi03420302007-12-19 16:55:57 +000014
Stefano Lenzib65768f2008-09-10 20:48:02 +000015 <profiles>
16 <profile>
17 <id>cyberlink</id>
18 <activation>
19 <property>
20 <name>cyberlink</name><value>true</value>
21 </property>
22 </activation>
23
24 <repositories>
25 <repository>
26 <id>release.cgupnpjava.sourceforge.net</id>
27 <name>CyberLink for Java Repository</name>
28 <url>http://cgupnpjava.sourceforge.net/repository/</url>
29 <snapshots><enabled>false</enabled></snapshots>
30 </repository>
31 <repository>
32 <id>snapshot.cgupnpjava.sourceforge.net</id>
33 <name>CyberLink for Java Development Repository</name>
34 <url>http://cgupnpjava.sourceforge.net/snapshots-repository/</url>
35 <releases><enabled>false</enabled></releases>
36 </repository>
37 </repositories>
38
39 <build>
40 <plugins>
41 <plugin>
42 <groupId>org.apache.felix</groupId>
43 <artifactId>maven-bundle-plugin</artifactId>
Stefano Lenzib65768f2008-09-10 20:48:02 +000044 <executions>
45 <execution>
46 <id>cyberlink</id>
47 <goals><goal>bundle</goal></goals>
48 <configuration>
49 <classifier>cyberlink</classifier>
50 <manifestLocation>${project.build.outputDirectory}/META-INF-cyberlink</manifestLocation>
51 <excludeDependencies>it.cnr.isti.domoware.cyberdomo:upnp-stack,it.cnr.isti.domoware.cyberdomo:upnp-stack-jdk13</excludeDependencies>
52 <instructions>
53 <Export-Package>
54 org.apache.felix.upnp.basedriver.controller;version=0.1.0,
55 org.apache.felix.upnp.basedriver.util;version=0.3.0,
56 org.apache.felix.upnp.basedriver.resources;version=0.3.0
57 </Export-Package>
58 <Import-Package>
59 org.osgi.*, javax.xml.parsers, org.w3c.dom, org.xml.sax,
60 !org.kxml2.io, !org.xmlpull.v1, !org.apache.xerces.parsers
61 </Import-Package>
62 <Private-Package>
63 org.apache.felix.upnp.basedriver.*;-split-package:=merge-first,
64 org.cybergarage.*,
65 org.apache.xerces.impl.dv.util
66 </Private-Package>
67 </instructions>
68 </configuration>
69 </execution>
70 </executions>
71 </plugin>
72 </plugins>
73 </build>
74
75 <dependencies>
76 <dependency>
77 <groupId>org.cybergarage.cyberlink</groupId>
78 <artifactId>upnp-stack</artifactId>
Stuart McCulloch76182e22009-08-14 16:42:07 +000079 <version>1.8.0</version>
Stefano Lenzib65768f2008-09-10 20:48:02 +000080 <optional>true</optional>
81 <exclusions>
82 <exclusion>
83 <groupId>xerces</groupId>
84 <artifactId>xercesImpl</artifactId>
85 </exclusion>
86 </exclusions>
87 </dependency>
88 </dependencies>
89
90 </profile>
91 </profiles>
92
Stefano Lenzida87be72008-02-20 22:12:06 +000093 <build>
94 <plugins>
95 <plugin>
96 <groupId>org.apache.felix</groupId>
97 <artifactId>maven-bundle-plugin</artifactId>
Stefano Lenzida87be72008-02-20 22:12:06 +000098 <extensions>true</extensions>
99 <configuration>
Stefano Lenzib65768f2008-09-10 20:48:02 +0000100 <excludeDependencies>org.cybergarage.cyberlink:upnp-stack,upnp-stack-jdk13</excludeDependencies>
Stefano Lenzida87be72008-02-20 22:12:06 +0000101 <instructions>
102 <Bundle-Name>${pom.name}</Bundle-Name>
103 <Bundle-Activator>
104 org.apache.felix.upnp.basedriver.Activator
105 </Bundle-Activator>
Carsten Ziegeler90f0b9f2008-04-17 06:33:59 +0000106 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Stefano Lenzida87be72008-02-20 22:12:06 +0000107 <Bundle-Author>
108 <![CDATA[Matteo Demuru <demuru@apache.org>,Francesco Furfari <furfari@apache.org>,Stefano "Kismet" Lenzi <lenzi@apache.org>]]>
109 </Bundle-Author>
110 <Bundle-Description>
111 A Bundle implementation of the UPnP Service
112 Specification R4
113 </Bundle-Description>
114 <Bundle-SymbolicName>
115 org.apache.felix.upnp.basedriver
116 </Bundle-SymbolicName>
117 <Export-Package>
118 org.apache.felix.upnp.basedriver.controller;version=0.1.0,
119 org.apache.felix.upnp.basedriver.util;version=0.3.0,
120 org.apache.felix.upnp.basedriver.resources;version=0.3.0
121 </Export-Package>
122 <Import-Package>
123 org.osgi.*, javax.xml.parsers, org.w3c.dom, org.xml.sax
124 </Import-Package>
125 <Private-Package>
126 org.apache.felix.upnp.basedriver.*;-split-package:=merge-first,
127 org.cybergarage.*,
128 org.apache.xerces.impl.dv.util
129 </Private-Package>
130 </instructions>
Stefano Lenzida87be72008-02-20 22:12:06 +0000131 </configuration>
132 <executions>
133 <execution>
134 <id>jdk13</id>
135 <goals><goal>bundle</goal></goals>
136 <configuration>
137 <classifier>jdk13</classifier>
Stuart McCulloch9294bf12008-02-21 15:58:26 +0000138 <manifestLocation>${project.build.outputDirectory}/META-INF-jdk13</manifestLocation>
Stefano Lenzida87be72008-02-20 22:12:06 +0000139 <excludeDependencies>upnp-stack</excludeDependencies>
Francesco Furfari917c5e22008-01-02 15:30:40 +0000140 <instructions>
Francesco Furfari917c5e22008-01-02 15:30:40 +0000141 <Export-Package>
Stefano Lenzi75dbfc92008-02-11 17:42:26 +0000142 org.apache.felix.upnp.basedriver.controller;version=0.1.0,
143 org.apache.felix.upnp.basedriver.util;version=0.3.0,
144 org.apache.felix.upnp.basedriver.resources;version=0.3.0
Francesco Furfari917c5e22008-01-02 15:30:40 +0000145 </Export-Package>
146 <Import-Package>
Stefano Lenzida87be72008-02-20 22:12:06 +0000147 org.osgi.*
Francesco Furfari917c5e22008-01-02 15:30:40 +0000148 </Import-Package>
149 <Private-Package>
Stefano Lenzida87be72008-02-20 22:12:06 +0000150 org.apache.felix.upnp.basedriver.*;-split-package:=merge-first,
Stefano Lenzi8390c4a2008-01-07 19:12:14 +0000151 org.cybergarage.*,
Stefano Lenzi7c2a3ee2008-06-03 13:05:24 +0000152 org.kxml2.io, org.xmlpull.v1,
Stefano Lenzi8390c4a2008-01-07 19:12:14 +0000153 org.apache.xerces.impl.dv.util
Francesco Furfari917c5e22008-01-02 15:30:40 +0000154 </Private-Package>
155 </instructions>
Stefano Lenzida87be72008-02-20 22:12:06 +0000156 </configuration>
157 </execution>
158 </executions>
159 </plugin>
Stefano Lenzi9189c712009-05-22 16:01:40 +0000160 <plugin>
161 <groupId>org.ops4j</groupId>
162 <artifactId>maven-pax-plugin</artifactId>
163 <configuration>
164 <provision>
165 <provision>mvn:org.apache.felix/org.apache.felix.upnp.basedriver</provision>
166 <provision>mvn:org.apache.felix/javax.servlet</provision>
167 </provision>
168 </configuration>
169 </plugin>
Stefano Lenzida87be72008-02-20 22:12:06 +0000170 </plugins>
171 </build>
Stefano Lenzi03420302007-12-19 16:55:57 +0000172
Stuart McCulloch76182e22009-08-14 16:42:07 +0000173<!-- !!! UNABLE TO ACCESS THESE REPOS !!!
Stefano Lenzia3b46832009-05-25 13:20:32 +0000174 <repositories>
175 <repository>
176 <id>release.domoware.isti.cnr.it</id>
177 <name>Domoware Java Repository</name>
178 <url>http://domoware.isti.cnr.it/maven2/</url>
179 <snapshots><enabled>false</enabled></snapshots>
180 </repository>
181 <repository>
182 <id>snapshot.domoware.isti.cnr.it</id>
183 <name>Domoware Java Snapshot Repository</name>
184 <url>http://domoware.isti.cnr.it/maven2-snap/</url>
185 <releases><enabled>false</enabled></releases>
186 </repository>
187 </repositories>
Stuart McCulloch76182e22009-08-14 16:42:07 +0000188-->
Stefano Lenzi03420302007-12-19 16:55:57 +0000189
190 <dependencies>
191 <dependency>
Stefano Lenzib65768f2008-09-10 20:48:02 +0000192 <groupId>org.apache.felix</groupId>
Stefano Lenzi03420302007-12-19 16:55:57 +0000193 <artifactId>org.osgi.core</artifactId>
Stefano Lenzi75dbfc92008-02-11 17:42:26 +0000194 <version>1.0.0</version>
Stefano Lenzi03420302007-12-19 16:55:57 +0000195 <scope>provided</scope>
196 </dependency>
197 <dependency>
Stefano Lenzib65768f2008-09-10 20:48:02 +0000198 <groupId>org.apache.felix</groupId>
Stefano Lenzi03420302007-12-19 16:55:57 +0000199 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc340ecf2008-01-28 07:21:59 +0000200 <version>1.0.0</version>
Stefano Lenzi03420302007-12-19 16:55:57 +0000201 </dependency>
Stefano Lenzida87be72008-02-20 22:12:06 +0000202 <dependency>
203 <groupId>it.cnr.isti.domoware.cyberdomo</groupId>
204 <artifactId>upnp-stack</artifactId>
Stuart McCulloch76182e22009-08-14 16:42:07 +0000205 <version>1.8.0</version>
Stefano Lenzida87be72008-02-20 22:12:06 +0000206 <optional>true</optional>
207 </dependency>
208 <dependency>
209 <groupId>it.cnr.isti.domoware.cyberdomo</groupId>
210 <artifactId>upnp-stack-jdk13</artifactId>
Stuart McCulloch76182e22009-08-14 16:42:07 +0000211 <version>1.8.0</version>
Stefano Lenzida87be72008-02-20 22:12:06 +0000212 <optional>true</optional>
213 </dependency>
Stefano Lenzi03420302007-12-19 16:55:57 +0000214 </dependencies>
Stefano Lenzib65768f2008-09-10 20:48:02 +0000215</project>