Stefano Lenzi | 9d29254 | 2008-06-03 13:22:01 +0000 | [diff] [blame] | 1 | <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 Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 2 | <parent> |
| 3 | <groupId>org.apache.felix</groupId> |
Stefano Lenzi | 3897e47 | 2009-05-17 16:04:39 +0000 | [diff] [blame] | 4 | <artifactId>felix-parent</artifactId> |
| 5 | <version>1.2.0</version> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 6 | <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 Lenzi | 179d585 | 2008-06-03 13:22:12 +0000 | [diff] [blame] | 13 | <version>0.9.0-SNAPSHOT</version> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 14 | |
Stefano Lenzi | f6c6d70 | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 15 | <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 Lenzi | f6c6d70 | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 44 | <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 Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 93 | <build> |
| 94 | <plugins> |
| 95 | <plugin> |
| 96 | <groupId>org.apache.felix</groupId> |
| 97 | <artifactId>maven-bundle-plugin</artifactId> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 98 | <extensions>true</extensions> |
| 99 | <configuration> |
Stefano Lenzi | f6c6d70 | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 100 | <excludeDependencies>org.cybergarage.cyberlink:upnp-stack,upnp-stack-jdk13</excludeDependencies> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 101 | <instructions> |
| 102 | <Bundle-Name>${pom.name}</Bundle-Name> |
| 103 | <Bundle-Activator> |
| 104 | org.apache.felix.upnp.basedriver.Activator |
| 105 | </Bundle-Activator> |
Carsten Ziegeler | cf6e51b | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 106 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 107 | <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 Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 131 | </configuration> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <id>jdk13</id> |
| 135 | <goals><goal>bundle</goal></goals> |
| 136 | <configuration> |
| 137 | <classifier>jdk13</classifier> |
Stuart McCulloch | 9294bf1 | 2008-02-21 15:58:26 +0000 | [diff] [blame] | 138 | <manifestLocation>${project.build.outputDirectory}/META-INF-jdk13</manifestLocation> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 139 | <excludeDependencies>upnp-stack</excludeDependencies> |
Francesco Furfari | 917c5e2 | 2008-01-02 15:30:40 +0000 | [diff] [blame] | 140 | <instructions> |
Francesco Furfari | 917c5e2 | 2008-01-02 15:30:40 +0000 | [diff] [blame] | 141 | <Export-Package> |
Stefano Lenzi | 75dbfc9 | 2008-02-11 17:42:26 +0000 | [diff] [blame] | 142 | 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 Furfari | 917c5e2 | 2008-01-02 15:30:40 +0000 | [diff] [blame] | 145 | </Export-Package> |
| 146 | <Import-Package> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 147 | org.osgi.* |
Francesco Furfari | 917c5e2 | 2008-01-02 15:30:40 +0000 | [diff] [blame] | 148 | </Import-Package> |
| 149 | <Private-Package> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 150 | org.apache.felix.upnp.basedriver.*;-split-package:=merge-first, |
Stefano Lenzi | 8390c4a | 2008-01-07 19:12:14 +0000 | [diff] [blame] | 151 | org.cybergarage.*, |
Stefano Lenzi | 1a1f50e | 2008-06-03 13:05:24 +0000 | [diff] [blame] | 152 | org.kxml2.io, org.xmlpull.v1, |
Stefano Lenzi | 8390c4a | 2008-01-07 19:12:14 +0000 | [diff] [blame] | 153 | org.apache.xerces.impl.dv.util |
Francesco Furfari | 917c5e2 | 2008-01-02 15:30:40 +0000 | [diff] [blame] | 154 | </Private-Package> |
| 155 | </instructions> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 156 | </configuration> |
| 157 | </execution> |
| 158 | </executions> |
| 159 | </plugin> |
Stefano Lenzi | 3872d74 | 2009-05-22 16:01:40 +0000 | [diff] [blame^] | 160 | <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 Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 170 | </plugins> |
| 171 | </build> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 172 | |
| 173 | |
| 174 | <dependencies> |
| 175 | <dependency> |
Stefano Lenzi | f6c6d70 | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 176 | <groupId>org.apache.felix</groupId> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 177 | <artifactId>org.osgi.core</artifactId> |
Stefano Lenzi | 75dbfc9 | 2008-02-11 17:42:26 +0000 | [diff] [blame] | 178 | <version>1.0.0</version> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 179 | <scope>provided</scope> |
| 180 | </dependency> |
| 181 | <dependency> |
Stefano Lenzi | f6c6d70 | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 182 | <groupId>org.apache.felix</groupId> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 183 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | c340ecf | 2008-01-28 07:21:59 +0000 | [diff] [blame] | 184 | <version>1.0.0</version> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 185 | </dependency> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 186 | <dependency> |
| 187 | <groupId>it.cnr.isti.domoware.cyberdomo</groupId> |
| 188 | <artifactId>upnp-stack</artifactId> |
Stefano Lenzi | 1a1f50e | 2008-06-03 13:05:24 +0000 | [diff] [blame] | 189 | <version>1.8.0</version> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 190 | <optional>true</optional> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>it.cnr.isti.domoware.cyberdomo</groupId> |
| 194 | <artifactId>upnp-stack-jdk13</artifactId> |
Stefano Lenzi | 1a1f50e | 2008-06-03 13:05:24 +0000 | [diff] [blame] | 195 | <version>1.8.0</version> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 196 | <optional>true</optional> |
| 197 | </dependency> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 198 | </dependencies> |
Stefano Lenzi | f6c6d70 | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 199 | </project> |