tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 2 | <!-- |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 3 | ~ Copyright 2014 Open Networking Laboratory |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 4 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 8 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 16 | --> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
| 22 | <parent> |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 23 | <groupId>org.onosproject</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 24 | <artifactId>onos-web</artifactId> |
Brian O'Connor | e8bcb70 | 2015-09-04 23:55:47 -0700 | [diff] [blame] | 25 | <version>1.3.0-SNAPSHOT</version> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 26 | <relativePath>../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onos-rest</artifactId> |
| 30 | <packaging>bundle</packaging> |
| 31 | |
Thomas Vachuska | 0fa2aa1 | 2015-08-18 12:53:04 -0700 | [diff] [blame] | 32 | <description>ONOS Core REST API</description> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 36 | <groupId>org.onosproject</groupId> |
HIGUCHI Yuta | 3c994f7 | 2015-03-18 16:32:49 -0700 | [diff] [blame] | 37 | <artifactId>onos-core-common</artifactId> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.onosproject</groupId> |
| 41 | <artifactId>onos-core-common</artifactId> |
| 42 | <classifier>tests</classifier> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 43 | <scope>test</scope> |
| 44 | </dependency> |
Ray Milkey | 1f95bd3 | 2014-12-10 11:11:00 -0800 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>org.easymock</groupId> |
| 47 | <artifactId>easymock</artifactId> |
Ray Milkey | 4f5de00 | 2014-12-17 19:26:11 -0800 | [diff] [blame] | 48 | <scope>test</scope> |
Ray Milkey | 1f95bd3 | 2014-12-10 11:11:00 -0800 | [diff] [blame] | 49 | </dependency> |
Ray Milkey | db35808 | 2015-01-13 16:34:38 -0800 | [diff] [blame] | 50 | <dependency> |
| 51 | <groupId>org.onosproject</groupId> |
| 52 | <artifactId>onos-api</artifactId> |
Ray Milkey | db35808 | 2015-01-13 16:34:38 -0800 | [diff] [blame] | 53 | <scope>test</scope> |
| 54 | <classifier>tests</classifier> |
| 55 | </dependency> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 56 | </dependencies> |
| 57 | |
| 58 | <properties> |
| 59 | <web.context>/onos/v1</web.context> |
Thomas Vachuska | 0fa2aa1 | 2015-08-18 12:53:04 -0700 | [diff] [blame] | 60 | <api.version>1.0.0</api.version> |
| 61 | <api.title>${project.description}</api.title> |
| 62 | <api.description> |
| 63 | Core APIs for external interactions with various ONOS subsystems. |
| 64 | </api.description> |
| 65 | <api.package>org.onosproject.rest.impl</api.package> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 66 | </properties> |
| 67 | |
Sahil Lele | 372d1f3 | 2015-07-31 15:01:41 -0700 | [diff] [blame] | 68 | <build> |
| 69 | <plugins> |
| 70 | <plugin> |
| 71 | <groupId>org.onosproject</groupId> |
| 72 | <artifactId>onos-maven-plugin</artifactId> |
| 73 | </plugin> |
Thomas Vachuska | 0fa2aa1 | 2015-08-18 12:53:04 -0700 | [diff] [blame] | 74 | |
| 75 | <plugin> |
| 76 | <groupId>org.apache.felix</groupId> |
| 77 | <artifactId>maven-bundle-plugin</artifactId> |
| 78 | <extensions>true</extensions> |
| 79 | <configuration> |
| 80 | <instructions> |
| 81 | <_wab>src/main/webapp/</_wab> |
| 82 | <Include-Resource> |
| 83 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 84 | {maven-resources} |
| 85 | </Include-Resource> |
| 86 | <Bundle-SymbolicName> |
| 87 | ${project.groupId}.${project.artifactId} |
| 88 | </Bundle-SymbolicName> |
| 89 | <Import-Package> |
| 90 | org.slf4j, |
| 91 | org.osgi.framework, |
| 92 | javax.ws.rs,javax.ws.rs.core,javax.ws.rs.ext, |
| 93 | com.sun.jersey.api, |
| 94 | com.sun.jersey.spi.container.servlet, |
| 95 | com.sun.jersey.server.impl.container.servlet, |
| 96 | com.fasterxml.jackson.databind, |
| 97 | com.fasterxml.jackson.databind.node, |
| 98 | com.google.common.base.*, |
| 99 | com.google.common.collect.*, |
| 100 | com.google.common.io.*, |
| 101 | org.onlab.util.*, |
| 102 | org.onlab.osgi.*, |
| 103 | org.onlab.packet.*, |
| 104 | org.onlab.rest.*, |
| 105 | org.onosproject.* |
| 106 | </Import-Package> |
| 107 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 108 | </instructions> |
| 109 | </configuration> |
| 110 | </plugin> |
Sahil Lele | 372d1f3 | 2015-07-31 15:01:41 -0700 | [diff] [blame] | 111 | </plugins> |
| 112 | </build> |
| 113 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 114 | </project> |