Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2016 Open Networking Laboratory |
| 4 | ~ |
| 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 |
| 8 | ~ |
| 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. |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 16 | --><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/xsd/maven-4.0.0.xsd"> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 17 | <modelVersion>4.0.0</modelVersion> |
| 18 | |
Yuta HIGUCHI | dbd2fec | 2017-02-01 16:34:38 -0800 | [diff] [blame] | 19 | <parent> |
| 20 | <groupId>org.onosproject</groupId> |
| 21 | <artifactId>onos-dependencies</artifactId> |
fra | bd6d83c | 2017-07-17 15:45:51 +0200 | [diff] [blame^] | 22 | <version>1.10.1</version> |
Yuta HIGUCHI | dbd2fec | 2017-02-01 16:34:38 -0800 | [diff] [blame] | 23 | <relativePath/><!-- parent is remote --> |
| 24 | </parent> |
| 25 | |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 26 | <artifactId>onos-app-carrierethernet</artifactId> |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 27 | <version>04.2017</version> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 28 | <packaging>bundle</packaging> |
| 29 | |
| 30 | <description>Application for installing MEF services in ONOS</description> |
| 31 | <url>http://onosproject.org</url> |
| 32 | |
| 33 | <properties> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
fra | bd6d83c | 2017-07-17 15:45:51 +0200 | [diff] [blame^] | 35 | <onos.version>1.10.1</onos.version> |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 36 | <api.version>1.0.0</api.version> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 37 | <onos.app.name>org.onosproject.ecord.carrierethernet</onos.app.name> |
Marc De Leenheer | 6dba433 | 2016-06-06 16:54:30 -0700 | [diff] [blame] | 38 | <onos.app.origin>ON.Lab</onos.app.origin> |
Konstantinos Kanonakis | b948694 | 2016-11-17 15:47:02 -0600 | [diff] [blame] | 39 | <onos.app.requires>org.onosproject.newoptical</onos.app.requires> |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 40 | <api.description>Carrier Ethernet REST APIs</api.description> |
Konstantinos Kanonakis | b948694 | 2016-11-17 15:47:02 -0600 | [diff] [blame] | 41 | <onos.app.category>Traffic Steering</onos.app.category> |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 42 | <web.context>/onos</web.context> |
| 43 | <api.title>Carrier Ethernet REST APIs</api.title> |
Konstantinos Kanonakis | b948694 | 2016-11-17 15:47:02 -0600 | [diff] [blame] | 44 | <onos.app.title>Carrier Ethernet</onos.app.title> |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 45 | <api.package>org.onosproject.ecord.carrierethernet.rest</api.package> |
Konstantinos Kanonakis | b948694 | 2016-11-17 15:47:02 -0600 | [diff] [blame] | 46 | <onos.app.url>https://wiki.onosproject.org/display/ONOS/Carrier+Ethernet+Application</onos.app.url> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 47 | </properties> |
| 48 | |
| 49 | <dependencies> |
| 50 | <dependency> |
| 51 | <groupId>org.onosproject</groupId> |
| 52 | <artifactId>onos-api</artifactId> |
| 53 | <version>${onos.version}</version> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.onosproject</groupId> |
| 57 | <artifactId>onos-cli</artifactId> |
| 58 | <version>${onos.version}</version> |
| 59 | </dependency> |
Yuta HIGUCHI | 4d47407 | 2016-12-13 18:17:45 -0800 | [diff] [blame] | 60 | |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 61 | <dependency> |
| 62 | <groupId>org.onosproject</groupId> |
Yuta HIGUCHI | 4d47407 | 2016-12-13 18:17:45 -0800 | [diff] [blame] | 63 | <artifactId>onos-protocols-openflow-api</artifactId> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 64 | <version>${onos.version}</version> |
| 65 | </dependency> |
Yuta HIGUCHI | 4d47407 | 2016-12-13 18:17:45 -0800 | [diff] [blame] | 66 | |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 67 | <dependency> |
| 68 | <groupId>org.onosproject</groupId> |
Yuta HIGUCHI | 4d47407 | 2016-12-13 18:17:45 -0800 | [diff] [blame] | 69 | <artifactId>onos-apps-newoptical</artifactId> |
fra | bd6d83c | 2017-07-17 15:45:51 +0200 | [diff] [blame^] | 70 | <version>${onos.version}</version> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 71 | </dependency> |
Yuta HIGUCHI | 4d47407 | 2016-12-13 18:17:45 -0800 | [diff] [blame] | 72 | |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 73 | <dependency> |
Yuta HIGUCHI | 00da891 | 2016-07-06 11:34:29 -0700 | [diff] [blame] | 74 | <groupId>org.slf4j</groupId> |
| 75 | <artifactId>slf4j-api</artifactId> |
| 76 | <version>1.7.21</version> |
| 77 | <scope>provided</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 80 | <groupId>org.apache.karaf.shell</groupId> |
| 81 | <artifactId>org.apache.karaf.shell.console</artifactId> |
Yuta HIGUCHI | 00da891 | 2016-07-06 11:34:29 -0700 | [diff] [blame] | 82 | <version>3.0.5</version> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 83 | <scope>provided</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.onosproject</groupId> |
| 87 | <artifactId>onlab-osgi</artifactId> |
| 88 | <version>${onos.version}</version> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>junit</groupId> |
| 92 | <artifactId>junit</artifactId> |
| 93 | <version>4.12</version> |
| 94 | <scope>test</scope> |
| 95 | </dependency> |
| 96 | <dependency> |
| 97 | <groupId>org.onosproject</groupId> |
| 98 | <artifactId>onos-api</artifactId> |
| 99 | <version>${onos.version}</version> |
| 100 | <scope>test</scope> |
| 101 | <classifier>tests</classifier> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.apache.felix</groupId> |
| 105 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 106 | <version>1.9.12</version> |
| 107 | <scope>provided</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.osgi</groupId> |
| 111 | <artifactId>org.osgi.compendium</artifactId> |
Yuta HIGUCHI | 00da891 | 2016-07-06 11:34:29 -0700 | [diff] [blame] | 112 | <version>5.0.0</version> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 113 | <scope>provided</scope> |
| 114 | </dependency> |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 115 | <dependency> |
| 116 | <groupId>javax.ws.rs</groupId> |
| 117 | <artifactId>javax.ws.rs-api</artifactId> |
| 118 | <version>2.0.1</version> |
| 119 | <scope>provided</scope> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>com.fasterxml.jackson.core</groupId> |
| 123 | <artifactId>jackson-databind</artifactId> |
| 124 | <version>2.8.6</version> |
| 125 | <scope>provided</scope> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>org.onosproject</groupId> |
| 129 | <artifactId>onos-rest</artifactId> |
| 130 | <version>${onos.version}</version> |
| 131 | <scope>provided</scope> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>com.fasterxml.jackson.core</groupId> |
| 135 | <artifactId>jackson-annotations</artifactId> |
| 136 | <version>2.8.6</version> |
| 137 | <scope>provided</scope> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.glassfish.jersey.containers</groupId> |
| 141 | <artifactId>jersey-container-servlet</artifactId> |
| 142 | <version>2.25</version> |
| 143 | <scope>provided</scope> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>org.osgi</groupId> |
| 147 | <artifactId>org.osgi.core</artifactId> |
| 148 | <version>5.0.0</version> |
| 149 | <scope>provided</scope> |
| 150 | </dependency> |
| 151 | <dependency> |
| 152 | <groupId>org.onosproject</groupId> |
| 153 | <artifactId>onlab-rest</artifactId> |
| 154 | <version>${onos.version}</version> |
| 155 | <scope>provided</scope> |
| 156 | </dependency> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 157 | </dependencies> |
| 158 | |
| 159 | <build> |
| 160 | <pluginManagement> |
| 161 | <plugins> |
| 162 | <plugin> |
| 163 | <groupId>org.apache.karaf.tooling</groupId> |
| 164 | <artifactId>karaf-maven-plugin</artifactId> |
| 165 | <version>3.0.5</version> |
| 166 | <extensions>true</extensions> |
| 167 | </plugin> |
| 168 | </plugins> |
| 169 | </pluginManagement> |
| 170 | <plugins> |
| 171 | <plugin> |
| 172 | <groupId>org.apache.felix</groupId> |
| 173 | <artifactId>maven-bundle-plugin</artifactId> |
| 174 | <version>2.5.3</version> |
| 175 | <extensions>true</extensions> |
Andrea Campanella | 72d333b | 2017-03-23 21:26:07 +0100 | [diff] [blame] | 176 | <configuration> |
| 177 | <instructions> |
| 178 | <_wab>src/main/webapp/</_wab> |
| 179 | <Include-Resource>WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 180 | {maven-resources}</Include-Resource> |
| 181 | <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> |
| 182 | <Import-Package>*,org.glassfish.jersey.servlet</Import-Package> |
| 183 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 184 | </instructions> |
| 185 | </configuration> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 186 | </plugin> |
| 187 | <plugin> |
| 188 | <groupId>org.apache.maven.plugins</groupId> |
| 189 | <artifactId>maven-compiler-plugin</artifactId> |
| 190 | <version>2.5.1</version> |
| 191 | <configuration> |
| 192 | <source>1.8</source> |
| 193 | <target>1.8</target> |
| 194 | </configuration> |
| 195 | </plugin> |
| 196 | <plugin> |
| 197 | <groupId>org.apache.felix</groupId> |
| 198 | <artifactId>maven-scr-plugin</artifactId> |
Yuta HIGUCHI | 00da891 | 2016-07-06 11:34:29 -0700 | [diff] [blame] | 199 | <version>1.21.0</version> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 200 | <executions> |
| 201 | <execution> |
| 202 | <id>generate-scr-srcdescriptor</id> |
| 203 | <goals> |
| 204 | <goal>scr</goal> |
| 205 | </goals> |
| 206 | </execution> |
| 207 | </executions> |
| 208 | <configuration> |
| 209 | <supportedProjectTypes> |
| 210 | <supportedProjectType>bundle</supportedProjectType> |
| 211 | <supportedProjectType>war</supportedProjectType> |
| 212 | </supportedProjectTypes> |
| 213 | </configuration> |
| 214 | </plugin> |
| 215 | <plugin> |
| 216 | <groupId>org.onosproject</groupId> |
| 217 | <artifactId>onos-maven-plugin</artifactId> |
Yuta HIGUCHI | 00da891 | 2016-07-06 11:34:29 -0700 | [diff] [blame] | 218 | <version>1.9</version> |
Konstantinos Kanonakis | d9e0623 | 2016-03-02 16:14:31 -0600 | [diff] [blame] | 219 | <executions> |
| 220 | <execution> |
| 221 | <id>cfg</id> |
| 222 | <phase>generate-resources</phase> |
| 223 | <goals> |
| 224 | <goal>cfg</goal> |
| 225 | </goals> |
| 226 | </execution> |
| 227 | <execution> |
| 228 | <id>swagger</id> |
| 229 | <phase>generate-sources</phase> |
| 230 | <goals> |
| 231 | <goal>swagger</goal> |
| 232 | </goals> |
| 233 | </execution> |
| 234 | <execution> |
| 235 | <id>app</id> |
| 236 | <phase>package</phase> |
| 237 | <goals> |
| 238 | <goal>app</goal> |
| 239 | </goals> |
| 240 | </execution> |
| 241 | </executions> |
| 242 | </plugin> |
| 243 | </plugins> |
| 244 | </build> |
| 245 | |
| 246 | </project> |