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