blob: 71e38d9c90fd29b6daa4f3479577c639b3a49675 [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<!--
Jian Lic6c76dc2016-01-26 14:22:51 -08009 ~ Copyright ${year} Open Networking Laboratory
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>
Brian O'Connor880dc20d2015-12-16 22:53:14 -080036 <onos.version>1.5.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>
39 <onos.app.origin>Foo, Inc.</onos.app.origin>
Jian Lied627a52016-01-19 14:29:18 -080040 <onos.app.category>UI</onos.app.category>
41 <onos.app.url>http://onosproject.org</onos.app.url>
42 <onos.app.readme>ONOS OSGi UI Topology-View bundle archetype.</onos.app.readme>
Simon Hunt1ee09852015-09-29 12:28:14 -070043 -->
44 </properties>
45
46 <dependencies>
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onos-api</artifactId>
50 <version>${onos.version}</version>
51 </dependency>
52
53 <dependency>
54 <groupId>org.onosproject</groupId>
55 <artifactId>onlab-osgi</artifactId>
56 <version>${onos.version}</version>
57 </dependency>
58
59 <dependency>
60 <groupId>junit</groupId>
61 <artifactId>junit</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080062 <version>4.12</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070063 <scope>test</scope>
64 </dependency>
65
66 <dependency>
67 <groupId>org.onosproject</groupId>
68 <artifactId>onos-api</artifactId>
69 <version>${onos.version}</version>
70 <scope>test</scope>
71 <classifier>tests</classifier>
72 </dependency>
73
74 <dependency>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>org.apache.felix.scr.annotations</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080077 <version>1.9.12</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070078 <scope>provided</scope>
79 </dependency>
80 </dependencies>
81
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.felix</groupId>
86 <artifactId>maven-bundle-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080087 <version>3.0.1</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070088 <extensions>true</extensions>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-compiler-plugin</artifactId>
93 <version>2.5.1</version>
94 <configuration>
95 <source>1.8</source>
96 <target>1.8</target>
97 </configuration>
98 </plugin>
99 <plugin>
100 <groupId>org.apache.felix</groupId>
101 <artifactId>maven-scr-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -0800102 <version>1.21.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -0700103 <executions>
104 <execution>
105 <id>generate-scr-srcdescriptor</id>
106 <goals>
107 <goal>scr</goal>
108 </goals>
109 </execution>
110 </executions>
111 <configuration>
112 <supportedProjectTypes>
113 <supportedProjectType>bundle</supportedProjectType>
114 <supportedProjectType>war</supportedProjectType>
115 </supportedProjectTypes>
116 </configuration>
117 </plugin>
118 <plugin>
119 <groupId>org.onosproject</groupId>
120 <artifactId>onos-maven-plugin</artifactId>
Jian Li11599162016-01-15 15:46:16 -0800121 <version>1.7</version>
Simon Hunt1ee09852015-09-29 12:28:14 -0700122 <executions>
123 <execution>
124 <id>cfg</id>
125 <phase>generate-resources</phase>
126 <goals>
127 <goal>cfg</goal>
128 </goals>
129 </execution>
130 <execution>
131 <id>swagger</id>
132 <phase>generate-sources</phase>
133 <goals>
134 <goal>swagger</goal>
135 </goals>
136 </execution>
137 <execution>
138 <id>app</id>
139 <phase>package</phase>
140 <goals>
141 <goal>app</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
147 </build>
148
149</project>