Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [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) ) |
| 6 | #set ($artifactId = "${artifactId}") |
| 7 | #set ($appNameCap = $artifactId.substring(0,1).toUpperCase()) |
| 8 | #set ($appNameEnd = $artifactId.substring(1).replace("-","").toLowerCase()) |
Sean Condon | 27f06da | 2019-05-25 17:02:14 +0100 | [diff] [blame] | 9 | #set ($appNameAllCaps = $artifactId.replace("-","_").toUpperCase()) |
| 10 | #set( $symbol_h2 = '##' ) |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 11 | |
| 12 | <?xml version="1.0" encoding="UTF-8"?> |
| 13 | <!-- |
| 14 | ~ Copyright ${year} Open Networking Foundation |
| 15 | ~ |
| 16 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 17 | ~ you may not use this file except in compliance with the License. |
| 18 | ~ You may obtain a copy of the License at |
| 19 | ~ |
| 20 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 21 | ~ |
| 22 | ~ Unless required by applicable law or agreed to in writing, software |
| 23 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 24 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 25 | ~ See the License for the specific language governing permissions and |
| 26 | ~ limitations under the License. |
| 27 | --> |
| 28 | <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"> |
| 29 | <modelVersion>4.0.0</modelVersion> |
| 30 | |
| 31 | <groupId>${groupId}</groupId> |
| 32 | <artifactId>${artifactId}</artifactId> |
| 33 | <version>${version}</version> |
| 34 | <packaging>pom</packaging> |
| 35 | |
| 36 | <description>ONOS OSGi GUI2 Custom-View bundle archetype</description> |
| 37 | <url>http://onosproject.org</url> |
| 38 | |
| 39 | <properties> |
| 40 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Sean Condon | 4b7818d | 2019-05-23 07:45:14 +0100 | [diff] [blame] | 41 | <onos.version>2.2.0-SNAPSHOT</onos.version> |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 42 | </properties> |
| 43 | |
| 44 | <modules> |
| 45 | <module>app</module> |
| 46 | <module>web/${artifactId}-gui</module> |
| 47 | </modules> |
| 48 | |
| 49 | </project> |