Stefano Lenzi | 1d7cec5 | 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 | a042e76 | 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 | e7f82ba | 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 | b65768f | 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 | b65768f | 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 | b65768f | 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 | 90f0b9f | 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 | 7c2a3ee | 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 | b65768f | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 160 | <!--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 Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 178 | </plugins> |
| 179 | </build> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 180 | |
| 181 | |
| 182 | <dependencies> |
| 183 | <dependency> |
Stefano Lenzi | b65768f | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 184 | <groupId>org.apache.felix</groupId> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 185 | <artifactId>org.osgi.core</artifactId> |
Stefano Lenzi | 75dbfc9 | 2008-02-11 17:42:26 +0000 | [diff] [blame] | 186 | <version>1.0.0</version> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 187 | <scope>provided</scope> |
| 188 | </dependency> |
| 189 | <dependency> |
Stefano Lenzi | b65768f | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 190 | <groupId>org.apache.felix</groupId> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 191 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | c340ecf | 2008-01-28 07:21:59 +0000 | [diff] [blame] | 192 | <version>1.0.0</version> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 193 | </dependency> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 194 | <dependency> |
| 195 | <groupId>it.cnr.isti.domoware.cyberdomo</groupId> |
| 196 | <artifactId>upnp-stack</artifactId> |
Stefano Lenzi | 7c2a3ee | 2008-06-03 13:05:24 +0000 | [diff] [blame] | 197 | <version>1.8.0</version> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 198 | <optional>true</optional> |
| 199 | </dependency> |
| 200 | <dependency> |
| 201 | <groupId>it.cnr.isti.domoware.cyberdomo</groupId> |
| 202 | <artifactId>upnp-stack-jdk13</artifactId> |
Stefano Lenzi | 7c2a3ee | 2008-06-03 13:05:24 +0000 | [diff] [blame] | 203 | <version>1.8.0</version> |
Stefano Lenzi | da87be7 | 2008-02-20 22:12:06 +0000 | [diff] [blame] | 204 | <optional>true</optional> |
| 205 | </dependency> |
Stefano Lenzi | 0342030 | 2007-12-19 16:55:57 +0000 | [diff] [blame] | 206 | </dependencies> |
Stefano Lenzi | b65768f | 2008-09-10 20:48:02 +0000 | [diff] [blame] | 207 | </project> |