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 | <!-- |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 3 | ~ Copyright 2014-present 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> |
Ray Milkey | 58c6af2 | 2016-11-22 17:26:52 -0800 | [diff] [blame] | 25 | <version>1.8.0-SNAPSHOT</version> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 26 | </parent> |
| 27 | |
| 28 | <artifactId>onos-rest</artifactId> |
| 29 | <packaging>bundle</packaging> |
| 30 | |
Thomas Vachuska | 0fa2aa1 | 2015-08-18 12:53:04 -0700 | [diff] [blame] | 31 | <description>ONOS Core REST API</description> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 32 | |
| 33 | <dependencies> |
| 34 | <dependency> |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 35 | <groupId>org.onosproject</groupId> |
HIGUCHI Yuta | 3c994f7 | 2015-03-18 16:32:49 -0700 | [diff] [blame] | 36 | <artifactId>onos-core-common</artifactId> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.onosproject</groupId> |
| 40 | <artifactId>onos-core-common</artifactId> |
| 41 | <classifier>tests</classifier> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 42 | <scope>test</scope> |
| 43 | </dependency> |
Ray Milkey | 1f95bd3 | 2014-12-10 11:11:00 -0800 | [diff] [blame] | 44 | <dependency> |
| 45 | <groupId>org.easymock</groupId> |
| 46 | <artifactId>easymock</artifactId> |
Ray Milkey | 4f5de00 | 2014-12-17 19:26:11 -0800 | [diff] [blame] | 47 | <scope>test</scope> |
Ray Milkey | 1f95bd3 | 2014-12-10 11:11:00 -0800 | [diff] [blame] | 48 | </dependency> |
Ray Milkey | db35808 | 2015-01-13 16:34:38 -0800 | [diff] [blame] | 49 | <dependency> |
| 50 | <groupId>org.onosproject</groupId> |
| 51 | <artifactId>onos-api</artifactId> |
Ray Milkey | db35808 | 2015-01-13 16:34:38 -0800 | [diff] [blame] | 52 | <scope>test</scope> |
| 53 | <classifier>tests</classifier> |
| 54 | </dependency> |
Jian Li | 4fb7177 | 2016-04-20 09:41:56 -0700 | [diff] [blame] | 55 | <dependency> |
| 56 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 57 | <artifactId>jersey-test-framework-provider-jetty</artifactId> |
| 58 | <scope>test</scope> |
| 59 | </dependency> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 60 | </dependencies> |
| 61 | |
| 62 | <properties> |
| 63 | <web.context>/onos/v1</web.context> |
Thomas Vachuska | 0fa2aa1 | 2015-08-18 12:53:04 -0700 | [diff] [blame] | 64 | <api.version>1.0.0</api.version> |
| 65 | <api.title>${project.description}</api.title> |
| 66 | <api.description> |
| 67 | Core APIs for external interactions with various ONOS subsystems. |
| 68 | </api.description> |
| 69 | <api.package>org.onosproject.rest.impl</api.package> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 70 | </properties> |
| 71 | |
Sahil Lele | 372d1f3 | 2015-07-31 15:01:41 -0700 | [diff] [blame] | 72 | <build> |
| 73 | <plugins> |
| 74 | <plugin> |
| 75 | <groupId>org.onosproject</groupId> |
| 76 | <artifactId>onos-maven-plugin</artifactId> |
| 77 | </plugin> |
Thomas Vachuska | 0fa2aa1 | 2015-08-18 12:53:04 -0700 | [diff] [blame] | 78 | |
| 79 | <plugin> |
| 80 | <groupId>org.apache.felix</groupId> |
| 81 | <artifactId>maven-bundle-plugin</artifactId> |
| 82 | <extensions>true</extensions> |
| 83 | <configuration> |
| 84 | <instructions> |
| 85 | <_wab>src/main/webapp/</_wab> |
| 86 | <Include-Resource> |
| 87 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 88 | {maven-resources} |
| 89 | </Include-Resource> |
| 90 | <Bundle-SymbolicName> |
| 91 | ${project.groupId}.${project.artifactId} |
| 92 | </Bundle-SymbolicName> |
| 93 | <Import-Package> |
Brian O'Connor | a450bd0 | 2016-04-04 14:00:37 -0700 | [diff] [blame] | 94 | *,org.glassfish.jersey.servlet |
Thomas Vachuska | 0fa2aa1 | 2015-08-18 12:53:04 -0700 | [diff] [blame] | 95 | </Import-Package> |
| 96 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 97 | </instructions> |
| 98 | </configuration> |
| 99 | </plugin> |
Sahil Lele | 372d1f3 | 2015-07-31 15:01:41 -0700 | [diff] [blame] | 100 | </plugins> |
| 101 | </build> |
| 102 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 103 | </project> |