blob: e7bf11249f825be3625038a546174fc5301674d0 [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 Lenzif6c6d702008-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 Lenzif6c6d702008-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>
79 <version>1.8.0-SNAPSHOT</version>
80 <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 Lenzif6c6d702008-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 Ziegelercf6e51b2008-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 Lenzi1a1f50e2008-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 Lenzif6c6d702008-09-10 20:48:02 +0000160 <!--plugin>
161 <groupId>org.codehaus.mojo</groupId>
162 <artifactId>minijar-maven-plugin</artifactId>
163 <version>1.0-alpha-3</version>
164 <executions>
165 <execution>
166 <id>ueberjar</id>
167 <phase>package</phase>
168 <goals><goal>ueberjar</goal></goals>
169 <configuration>
170 <stripUnusedClasses>true</stripUnusedClasses>
171 <includeDependencies>
172 <param>none:dependency</param>
173 </includeDependencies>
174 </configuration>
175 </execution>
176 </executions>
177 </plugin-->
Stefano Lenzida87be72008-02-20 22:12:06 +0000178 </plugins>
179 </build>
Stefano Lenzi03420302007-12-19 16:55:57 +0000180
181
182 <dependencies>
183 <dependency>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000184 <groupId>org.apache.felix</groupId>
Stefano Lenzi03420302007-12-19 16:55:57 +0000185 <artifactId>org.osgi.core</artifactId>
Stefano Lenzi75dbfc92008-02-11 17:42:26 +0000186 <version>1.0.0</version>
Stefano Lenzi03420302007-12-19 16:55:57 +0000187 <scope>provided</scope>
188 </dependency>
189 <dependency>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000190 <groupId>org.apache.felix</groupId>
Stefano Lenzi03420302007-12-19 16:55:57 +0000191 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc340ecf2008-01-28 07:21:59 +0000192 <version>1.0.0</version>
Stefano Lenzi03420302007-12-19 16:55:57 +0000193 </dependency>
Stefano Lenzida87be72008-02-20 22:12:06 +0000194 <dependency>
195 <groupId>it.cnr.isti.domoware.cyberdomo</groupId>
196 <artifactId>upnp-stack</artifactId>
Stefano Lenzi1a1f50e2008-06-03 13:05:24 +0000197 <version>1.8.0</version>
Stefano Lenzida87be72008-02-20 22:12:06 +0000198 <optional>true</optional>
199 </dependency>
200 <dependency>
201 <groupId>it.cnr.isti.domoware.cyberdomo</groupId>
202 <artifactId>upnp-stack-jdk13</artifactId>
Stefano Lenzi1a1f50e2008-06-03 13:05:24 +0000203 <version>1.8.0</version>
Stefano Lenzida87be72008-02-20 22:12:06 +0000204 <optional>true</optional>
205 </dependency>
Stefano Lenzi03420302007-12-19 16:55:57 +0000206 </dependencies>
Stefano Lenzif6c6d702008-09-10 20:48:02 +0000207</project>