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 | dde85d5 | 2018-08-30 23:34:20 +0000 | [diff] [blame^] | 36 | <onos.version>1.14.0-rc6</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> |
| 76 | <groupId>org.apache.felix</groupId> |
| 77 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
HIGUCHI Yuta | 9caa3a0 | 2016-01-09 23:17:54 -0800 | [diff] [blame] | 78 | <version>1.9.12</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> |
Yuta HIGUCHI | 6735683 | 2018-02-02 14:22:03 -0800 | [diff] [blame] | 88 | <version>3.3.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> |
Yuta HIGUCHI | 6735683 | 2018-02-02 14:22:03 -0800 | [diff] [blame] | 94 | <version>3.7.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> |
Yuta HIGUCHI | 6735683 | 2018-02-02 14:22:03 -0800 | [diff] [blame] | 103 | <version>1.24.0</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 104 | <executions> |
| 105 | <execution> |
| 106 | <id>generate-scr-srcdescriptor</id> |
| 107 | <goals> |
| 108 | <goal>scr</goal> |
| 109 | </goals> |
| 110 | </execution> |
| 111 | </executions> |
| 112 | <configuration> |
| 113 | <supportedProjectTypes> |
| 114 | <supportedProjectType>bundle</supportedProjectType> |
| 115 | <supportedProjectType>war</supportedProjectType> |
| 116 | </supportedProjectTypes> |
| 117 | </configuration> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <groupId>org.onosproject</groupId> |
| 121 | <artifactId>onos-maven-plugin</artifactId> |
Yuta HIGUCHI | 6735683 | 2018-02-02 14:22:03 -0800 | [diff] [blame] | 122 | <version>1.11</version> |
Simon Hunt | 1ee0985 | 2015-09-29 12:28:14 -0700 | [diff] [blame] | 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> |