Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 3 | ~ Copyright 2016 Open Networking Laboratory |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 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 | --> |
| 17 | <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"> |
| 18 | <modelVersion>4.0.0</modelVersion> |
| 19 | |
| 20 | <groupId>${groupId}</groupId> |
| 21 | <artifactId>${artifactId}</artifactId> |
| 22 | <version>${version}</version> |
| 23 | <packaging>bundle</packaging> |
| 24 | |
Simon Hunt | 84f4c2a | 2015-09-23 17:52:45 -0700 | [diff] [blame] | 25 | <description>ONOS OSGi UI Custom-View bundle archetype</description> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 26 | <url>http://onosproject.org</url> |
| 27 | |
| 28 | <properties> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 29 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Brian O'Connor | 880dc20d | 2015-12-16 22:53:14 -0800 | [diff] [blame] | 30 | <onos.version>1.5.0-SNAPSHOT</onos.version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 31 | <!-- Uncomment to generate ONOS app from this module. |
| 32 | <onos.app.name>org.foo.app</onos.app.name> |
| 33 | <onos.app.origin>Foo, Inc.</onos.app.origin> |
Jian Li | ed627a5 | 2016-01-19 14:29:18 -0800 | [diff] [blame] | 34 | <onos.app.category>UI</onos.app.category> |
| 35 | <onos.app.url>http://onosproject.org</onos.app.url> |
| 36 | <onos.app.readme>ONOS OSGi UI Custom-View bundle archetype.</onos.app.readme> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 37 | --> |
| 38 | </properties> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.onosproject</groupId> |
| 43 | <artifactId>onos-api</artifactId> |
| 44 | <version>${onos.version}</version> |
| 45 | </dependency> |
| 46 | |
| 47 | <dependency> |
| 48 | <groupId>org.onosproject</groupId> |
| 49 | <artifactId>onlab-osgi</artifactId> |
| 50 | <version>${onos.version}</version> |
| 51 | </dependency> |
| 52 | |
| 53 | <dependency> |
| 54 | <groupId>junit</groupId> |
| 55 | <artifactId>junit</artifactId> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 56 | <version>4.12</version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 57 | <scope>test</scope> |
| 58 | </dependency> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>org.onosproject</groupId> |
| 62 | <artifactId>onos-api</artifactId> |
| 63 | <version>${onos.version}</version> |
| 64 | <scope>test</scope> |
| 65 | <classifier>tests</classifier> |
| 66 | </dependency> |
| 67 | |
| 68 | <dependency> |
| 69 | <groupId>org.apache.felix</groupId> |
| 70 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 71 | <version>1.9.12</version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 72 | <scope>provided</scope> |
| 73 | </dependency> |
| 74 | </dependencies> |
| 75 | |
| 76 | <build> |
| 77 | <plugins> |
| 78 | <plugin> |
| 79 | <groupId>org.apache.felix</groupId> |
| 80 | <artifactId>maven-bundle-plugin</artifactId> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 81 | <version>3.0.1</version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 82 | <extensions>true</extensions> |
| 83 | </plugin> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.maven.plugins</groupId> |
| 86 | <artifactId>maven-compiler-plugin</artifactId> |
| 87 | <version>2.5.1</version> |
| 88 | <configuration> |
| 89 | <source>1.8</source> |
| 90 | <target>1.8</target> |
| 91 | </configuration> |
| 92 | </plugin> |
| 93 | <plugin> |
| 94 | <groupId>org.apache.felix</groupId> |
| 95 | <artifactId>maven-scr-plugin</artifactId> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 96 | <version>1.21.0</version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 97 | <executions> |
| 98 | <execution> |
| 99 | <id>generate-scr-srcdescriptor</id> |
| 100 | <goals> |
| 101 | <goal>scr</goal> |
| 102 | </goals> |
| 103 | </execution> |
| 104 | </executions> |
| 105 | <configuration> |
| 106 | <supportedProjectTypes> |
| 107 | <supportedProjectType>bundle</supportedProjectType> |
| 108 | <supportedProjectType>war</supportedProjectType> |
| 109 | </supportedProjectTypes> |
| 110 | </configuration> |
| 111 | </plugin> |
| 112 | <plugin> |
| 113 | <groupId>org.onosproject</groupId> |
| 114 | <artifactId>onos-maven-plugin</artifactId> |
Brian O'Connor | bd60cfd | 2015-09-05 00:06:28 -0700 | [diff] [blame] | 115 | <version>1.5</version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 116 | <executions> |
| 117 | <execution> |
| 118 | <id>cfg</id> |
| 119 | <phase>generate-resources</phase> |
| 120 | <goals> |
| 121 | <goal>cfg</goal> |
| 122 | </goals> |
| 123 | </execution> |
| 124 | <execution> |
Thomas Vachuska | 8f2d6e0 | 2015-08-28 10:29:15 -0700 | [diff] [blame] | 125 | <id>swagger</id> |
| 126 | <phase>generate-sources</phase> |
| 127 | <goals> |
| 128 | <goal>swagger</goal> |
| 129 | </goals> |
| 130 | </execution> |
| 131 | <execution> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 132 | <id>app</id> |
| 133 | <phase>package</phase> |
| 134 | <goals> |
| 135 | <goal>app</goal> |
| 136 | </goals> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | </plugins> |
| 141 | </build> |
| 142 | |
| 143 | </project> |