Jian Li | c6c76dc | 2016-01-26 14:22:51 -0800 | [diff] [blame] | 1 | #set( $dummy = "" ) |
| 2 | #set( $date = $dummy.getClass().forName("java.util.Date").newInstance() ) |
| 3 | #set( $format = $dummy.getClass().forName("java.text.SimpleDateFormat").newInstance() ) |
| 4 | #set( $pattern = $format.applyPattern("yyyy") ) |
| 5 | #set( $year = $format.format($date) ) |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 6 | <?xml version="1.0" encoding="UTF-8"?> |
| 7 | |
| 8 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 9 | ~ Copyright ${year} Open Networking Foundation |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 10 | ~ |
| 11 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 12 | ~ you may not use this file except in compliance with the License. |
| 13 | ~ You may obtain a copy of the License at |
| 14 | ~ |
| 15 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 16 | ~ |
| 17 | ~ Unless required by applicable law or agreed to in writing, software |
| 18 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 19 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 20 | ~ See the License for the specific language governing permissions and |
| 21 | ~ limitations under the License. |
| 22 | --> |
| 23 | <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"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <groupId>${groupId}</groupId> |
| 27 | <artifactId>${artifactId}</artifactId> |
| 28 | <version>${version}</version> |
| 29 | <packaging>bundle</packaging> |
| 30 | |
| 31 | <description>ONOS OSGi UI Topology-Overlay bundle archetype</description> |
| 32 | <url>http://onosproject.org</url> |
| 33 | |
| 34 | <properties> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 35 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
ONOS Jenkins User | 9092907 | 2019-01-18 20:15:40 +0000 | [diff] [blame^] | 36 | <onos.version>2.0.1-SNAPSHOT</onos.version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 37 | <!-- Uncomment to generate ONOS app from this module. |
| 38 | <onos.app.name>org.foo.app</onos.app.name> |
Simon Hunt | afae2f7 | 2016-03-04 21:18:23 -0800 | [diff] [blame] | 39 | <onos.app.title>Foo App</onos.app.title> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 40 | <onos.app.origin>Foo, Inc.</onos.app.origin> |
Jian Li | ed627a5 | 2016-01-19 14:29:18 -0800 | [diff] [blame] | 41 | <onos.app.category>UI</onos.app.category> |
| 42 | <onos.app.url>http://onosproject.org</onos.app.url> |
| 43 | <onos.app.readme>ONOS OSGi UI Topology-View bundle archetype.</onos.app.readme> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 44 | --> |
| 45 | </properties> |
| 46 | |
| 47 | <dependencies> |
| 48 | <dependency> |
| 49 | <groupId>org.onosproject</groupId> |
| 50 | <artifactId>onos-api</artifactId> |
| 51 | <version>${onos.version}</version> |
| 52 | </dependency> |
| 53 | |
| 54 | <dependency> |
| 55 | <groupId>org.onosproject</groupId> |
| 56 | <artifactId>onlab-osgi</artifactId> |
| 57 | <version>${onos.version}</version> |
| 58 | </dependency> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>junit</groupId> |
| 62 | <artifactId>junit</artifactId> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 63 | <version>4.12</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 64 | <scope>test</scope> |
| 65 | </dependency> |
| 66 | |
| 67 | <dependency> |
| 68 | <groupId>org.onosproject</groupId> |
| 69 | <artifactId>onos-api</artifactId> |
| 70 | <version>${onos.version}</version> |
| 71 | <scope>test</scope> |
| 72 | <classifier>tests</classifier> |
| 73 | </dependency> |
| 74 | |
| 75 | <dependency> |
Thomas Vachuska | 64b0ade | 2018-11-01 15:26:26 -0700 | [diff] [blame] | 76 | <groupId>org.osgi</groupId> |
| 77 | <artifactId>org.osgi.service.component.annotations</artifactId> |
| 78 | <version>1.4.0</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 79 | <scope>provided</scope> |
| 80 | </dependency> |
| 81 | </dependencies> |
| 82 | |
| 83 | <build> |
| 84 | <plugins> |
| 85 | <plugin> |
| 86 | <groupId>org.apache.felix</groupId> |
| 87 | <artifactId>maven-bundle-plugin</artifactId> |
Thomas Vachuska | 64b0ade | 2018-11-01 15:26:26 -0700 | [diff] [blame] | 88 | <version>3.5.0</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 89 | <extensions>true</extensions> |
| 90 | </plugin> |
| 91 | <plugin> |
| 92 | <groupId>org.apache.maven.plugins</groupId> |
| 93 | <artifactId>maven-compiler-plugin</artifactId> |
Thomas Vachuska | 64b0ade | 2018-11-01 15:26:26 -0700 | [diff] [blame] | 94 | <version>3.8.0</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 95 | <configuration> |
| 96 | <source>1.8</source> |
| 97 | <target>1.8</target> |
| 98 | </configuration> |
| 99 | </plugin> |
| 100 | <plugin> |
| 101 | <groupId>org.apache.felix</groupId> |
| 102 | <artifactId>maven-scr-plugin</artifactId> |
Thomas Vachuska | 64b0ade | 2018-11-01 15:26:26 -0700 | [diff] [blame] | 103 | <version>1.26.0</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 104 | <configuration> |
| 105 | <supportedProjectTypes> |
| 106 | <supportedProjectType>bundle</supportedProjectType> |
| 107 | <supportedProjectType>war</supportedProjectType> |
| 108 | </supportedProjectTypes> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | <plugin> |
| 112 | <groupId>org.onosproject</groupId> |
| 113 | <artifactId>onos-maven-plugin</artifactId> |
Thomas Vachuska | 98d760d | 2018-11-07 13:56:21 -0800 | [diff] [blame] | 114 | <version>2.0</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 115 | <executions> |
| 116 | <execution> |
| 117 | <id>cfg</id> |
| 118 | <phase>generate-resources</phase> |
| 119 | <goals> |
| 120 | <goal>cfg</goal> |
| 121 | </goals> |
| 122 | </execution> |
| 123 | <execution> |
| 124 | <id>swagger</id> |
| 125 | <phase>generate-sources</phase> |
| 126 | <goals> |
| 127 | <goal>swagger</goal> |
| 128 | </goals> |
| 129 | </execution> |
| 130 | <execution> |
| 131 | <id>app</id> |
| 132 | <phase>package</phase> |
| 133 | <goals> |
| 134 | <goal>app</goal> |
| 135 | </goals> |
| 136 | </execution> |
| 137 | </executions> |
| 138 | </plugin> |
| 139 | </plugins> |
| 140 | </build> |
| 141 | |
| 142 | </project> |