tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | |
| 7 | <parent> |
| 8 | <groupId>org.onlab.onos</groupId> |
| 9 | <artifactId>onos</artifactId> |
| 10 | <version>1.0.0-SNAPSHOT</version> |
| 11 | <relativePath>../pom.xml</relativePath> |
| 12 | </parent> |
| 13 | |
| 14 | <artifactId>onos-web</artifactId> |
| 15 | <packaging>pom</packaging> |
| 16 | |
| 17 | <description>ONOS web root project</description> |
| 18 | |
| 19 | <modules> |
| 20 | <module>gui</module> |
| 21 | <module>api</module> |
| 22 | </modules> |
| 23 | |
| 24 | <properties> |
| 25 | <web.context>default</web.context> |
| 26 | </properties> |
| 27 | |
| 28 | <dependencies> |
| 29 | <dependency> |
| 30 | <groupId>org.onlab.onos</groupId> |
| 31 | <artifactId>onos-api</artifactId> |
| 32 | </dependency> |
| 33 | |
| 34 | <dependency> |
| 35 | <groupId>org.onlab.onos</groupId> |
tom | 94bb4a4 | 2014-08-27 22:12:02 -0700 | [diff] [blame] | 36 | <artifactId>onlab-osgi</artifactId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 37 | <version>${project.version}</version> |
| 38 | </dependency> |
| 39 | |
| 40 | <dependency> |
| 41 | <groupId>org.onlab.onos</groupId> |
tom | 94bb4a4 | 2014-08-27 22:12:02 -0700 | [diff] [blame] | 42 | <artifactId>onlab-rest</artifactId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 43 | <version>${project.version}</version> |
| 44 | </dependency> |
| 45 | |
| 46 | <dependency> |
| 47 | <groupId>com.sun.jersey</groupId> |
| 48 | <artifactId>jersey-servlet</artifactId> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 52 | <artifactId>jersey-test-framework-core</artifactId> |
| 53 | <version>1.18.1</version> |
| 54 | <scope>test</scope> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 58 | <artifactId>jersey-test-framework-grizzly2</artifactId> |
| 59 | <version>1.18.1</version> |
| 60 | <scope>test</scope> |
| 61 | </dependency> |
| 62 | |
| 63 | <dependency> |
| 64 | <groupId>com.fasterxml.jackson.core</groupId> |
| 65 | <artifactId>jackson-databind</artifactId> |
| 66 | </dependency> |
| 67 | |
| 68 | <dependency> |
| 69 | <groupId>com.fasterxml.jackson.core</groupId> |
| 70 | <artifactId>jackson-annotations</artifactId> |
| 71 | </dependency> |
| 72 | |
| 73 | <dependency> |
| 74 | <groupId>org.osgi</groupId> |
| 75 | <artifactId>org.osgi.core</artifactId> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.apache.felix</groupId> |
| 79 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 80 | </dependency> |
| 81 | </dependencies> |
| 82 | |
| 83 | <build> |
| 84 | <plugins> |
| 85 | <plugin> |
| 86 | <groupId>org.apache.felix</groupId> |
| 87 | <artifactId>maven-bundle-plugin</artifactId> |
| 88 | <extensions>true</extensions> |
| 89 | <configuration> |
| 90 | <instructions> |
| 91 | <_wab>src/main/webapp/</_wab> |
| 92 | <Bundle-SymbolicName> |
| 93 | ${project.groupId}.${project.artifactId} |
| 94 | </Bundle-SymbolicName> |
| 95 | <Import-Package> |
| 96 | org.osgi.framework, |
| 97 | javax.ws.rs,javax.ws.rs.core, |
| 98 | com.sun.jersey.api.core, |
| 99 | com.sun.jersey.spi.container.servlet, |
| 100 | com.sun.jersey.server.impl.container.servlet, |
| 101 | com.fasterxml.jackson.databind, |
| 102 | com.fasterxml.jackson.databind.node, |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 103 | org.onlab.rest.*, |
tom | 5ac5188 | 2014-08-27 18:10:33 -0700 | [diff] [blame] | 104 | org.onlab.onos.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 105 | </Import-Package> |
| 106 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 107 | </instructions> |
| 108 | </configuration> |
| 109 | </plugin> |
| 110 | </plugins> |
| 111 | </build> |
| 112 | |
| 113 | </project> |