Jimmy Yan | da878fc | 2016-09-02 16:32:01 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2016-present 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. |
| 16 | --><project xmlns="http://maven.apache.org/POM/4.0.0" |
| 17 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | |
| 21 | <parent> |
| 22 | <groupId>org.onosproject</groupId> |
| 23 | <artifactId>onos-apps</artifactId> |
| 24 | <version>1.9.0-SNAPSHOT</version> |
| 25 | </parent> |
| 26 | |
| 27 | <artifactId>onos-apps-roadm</artifactId> |
| 28 | <packaging>bundle</packaging> |
| 29 | |
| 30 | <description>Application for ROADM device management</description> |
| 31 | <url>http://onosproject.org</url> |
| 32 | |
| 33 | <properties> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | <onos.version>1.9.0-SNAPSHOT</onos.version> |
| 36 | <onos.app.name>org.onosproject.roadm</onos.app.name> |
| 37 | <onos.app.title>ROADM Application</onos.app.title> |
| 38 | <onos.app.category>Utility</onos.app.category> |
| 39 | <onos.app.readme> |
| 40 | This application provides an interface and web GUI for monitoring |
| 41 | and configuring power on ROADM devices. |
| 42 | </onos.app.readme> |
| 43 | </properties> |
| 44 | |
| 45 | <dependencies> |
| 46 | <dependency> |
| 47 | <groupId>org.onosproject</groupId> |
| 48 | <artifactId>onos-api</artifactId> |
| 49 | <version>${onos.version}</version> |
| 50 | </dependency> |
| 51 | |
| 52 | <dependency> |
| 53 | <groupId>org.onosproject</groupId> |
| 54 | <artifactId>onos-core-serializers</artifactId> |
| 55 | <version>${onos.version}</version> |
| 56 | </dependency> |
| 57 | |
| 58 | <dependency> |
| 59 | <groupId>org.onosproject</groupId> |
| 60 | <artifactId>onlab-osgi</artifactId> |
| 61 | <version>${onos.version}</version> |
| 62 | </dependency> |
| 63 | |
| 64 | <dependency> |
| 65 | <groupId>org.onosproject</groupId> |
| 66 | <artifactId>onos-optical-model</artifactId> |
| 67 | <version>${onos.version}</version> |
| 68 | </dependency> |
| 69 | |
| 70 | <dependency> |
| 71 | <groupId>junit</groupId> |
| 72 | <artifactId>junit</artifactId> |
| 73 | <scope>test</scope> |
| 74 | </dependency> |
| 75 | |
| 76 | <dependency> |
| 77 | <groupId>org.onosproject</groupId> |
| 78 | <artifactId>onos-api</artifactId> |
| 79 | <version>${onos.version}</version> |
| 80 | <scope>test</scope> |
| 81 | <classifier>tests</classifier> |
| 82 | </dependency> |
| 83 | |
| 84 | <dependency> |
| 85 | <groupId>org.apache.felix</groupId> |
| 86 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 87 | <scope>provided</scope> |
| 88 | </dependency> |
| 89 | </dependencies> |
| 90 | |
| 91 | <build> |
| 92 | <plugins> |
| 93 | <plugin> |
| 94 | <groupId>org.apache.felix</groupId> |
| 95 | <artifactId>maven-bundle-plugin</artifactId> |
| 96 | <extensions>true</extensions> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-compiler-plugin</artifactId> |
| 101 | </plugin> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.felix</groupId> |
| 104 | <artifactId>maven-scr-plugin</artifactId> |
| 105 | <executions> |
| 106 | <execution> |
| 107 | <id>generate-scr-srcdescriptor</id> |
| 108 | <goals> |
| 109 | <goal>scr</goal> |
| 110 | </goals> |
| 111 | </execution> |
| 112 | </executions> |
| 113 | <configuration> |
| 114 | <supportedProjectTypes> |
| 115 | <supportedProjectType>bundle</supportedProjectType> |
| 116 | <supportedProjectType>war</supportedProjectType> |
| 117 | </supportedProjectTypes> |
| 118 | </configuration> |
| 119 | </plugin> |
| 120 | <plugin> |
| 121 | <groupId>org.onosproject</groupId> |
| 122 | <artifactId>onos-maven-plugin</artifactId> |
| 123 | <executions> |
| 124 | <execution> |
| 125 | <id>cfg</id> |
| 126 | <phase>generate-resources</phase> |
| 127 | <goals> |
| 128 | <goal>cfg</goal> |
| 129 | </goals> |
| 130 | </execution> |
| 131 | <execution> |
| 132 | <id>swagger</id> |
| 133 | <phase>generate-sources</phase> |
| 134 | <goals> |
| 135 | <goal>swagger</goal> |
| 136 | </goals> |
| 137 | </execution> |
| 138 | <execution> |
| 139 | <id>app</id> |
| 140 | <phase>package</phase> |
| 141 | <goals> |
| 142 | <goal>app</goal> |
| 143 | </goals> |
| 144 | </execution> |
| 145 | </executions> |
| 146 | </plugin> |
| 147 | </plugins> |
| 148 | </build> |
| 149 | |
| 150 | </project> |