blob: 49aba48093ada2ba4039724cb404ca9c35132d32 [file] [log] [blame]
Jian Lic6c76dc2016-01-26 14:22:51 -08001#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 Hunt1ee09852015-09-29 12:28:14 -07006<?xml version="1.0" encoding="UTF-8"?>
7
8<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07009 ~ Copyright ${year} Open Networking Foundation
Simon Hunt1ee09852015-09-29 12:28:14 -070010 ~
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 Yuta9caa3a02016-01-09 23:17:54 -080035 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Thomas Vachuskae17756d2018-10-31 15:23:55 -070036 <onos.version>2.0.0-SNAPSHOT</onos.version>
Simon Hunt1ee09852015-09-29 12:28:14 -070037 <!-- Uncomment to generate ONOS app from this module.
38 <onos.app.name>org.foo.app</onos.app.name>
Simon Huntafae2f72016-03-04 21:18:23 -080039 <onos.app.title>Foo App</onos.app.title>
Simon Hunt1ee09852015-09-29 12:28:14 -070040 <onos.app.origin>Foo, Inc.</onos.app.origin>
Jian Lied627a52016-01-19 14:29:18 -080041 <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 Hunt1ee09852015-09-29 12:28:14 -070044 -->
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 Yuta9caa3a02016-01-09 23:17:54 -080063 <version>4.12</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070064 <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 Vachuska64b0ade2018-11-01 15:26:26 -070076 <groupId>org.osgi</groupId>
77 <artifactId>org.osgi.service.component.annotations</artifactId>
78 <version>1.4.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070079 <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 Vachuska64b0ade2018-11-01 15:26:26 -070088 <version>3.5.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070089 <extensions>true</extensions>
90 </plugin>
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-compiler-plugin</artifactId>
Thomas Vachuska64b0ade2018-11-01 15:26:26 -070094 <version>3.8.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070095 <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 Vachuska64b0ade2018-11-01 15:26:26 -0700103 <version>1.26.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -0700104 <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 Vachuska98d760d2018-11-07 13:56:21 -0800114 <version>2.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -0700115 <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>