blob: 3ef5f8eddaf22de72f9b2acf93d1418aeb2ebd90 [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) )
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -07006<?xml version="1.0" encoding="UTF-8"?>
7<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07008 ~ Copyright ${year} Open Networking Foundation
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -07009 ~
10 ~ Licensed under the Apache License, Version 2.0 (the "License");
11 ~ you may not use this file except in compliance with the License.
12 ~ You may obtain a copy of the License at
13 ~
14 ~ http://www.apache.org/licenses/LICENSE-2.0
15 ~
16 ~ Unless required by applicable law or agreed to in writing, software
17 ~ distributed under the License is distributed on an "AS IS" BASIS,
18 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 ~ See the License for the specific language governing permissions and
20 ~ limitations under the License.
21 -->
22<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">
23 <modelVersion>4.0.0</modelVersion>
24
25 <groupId>${groupId}</groupId>
26 <artifactId>${artifactId}</artifactId>
27 <version>${version}</version>
28 <packaging>bundle</packaging>
29
Simon Hunt84f4c2a2015-09-23 17:52:45 -070030 <description>ONOS OSGi UI Custom-View bundle archetype</description>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070031 <url>http://onosproject.org</url>
32
33 <properties>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080034 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Thomas Vachuskae17756d2018-10-31 15:23:55 -070035 <onos.version>2.0.0-SNAPSHOT</onos.version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070036 <!-- Uncomment to generate ONOS app from this module.
37 <onos.app.name>org.foo.app</onos.app.name>
Simon Huntafae2f72016-03-04 21:18:23 -080038 <onos.app.title>Foo App</onos.app.title>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070039 <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 Custom-View bundle archetype.</onos.app.readme>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -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>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -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>
Thomas Vachuska64b0ade2018-11-01 15:26:26 -070075 <groupId>org.osgi</groupId>
76 <artifactId>org.osgi.service.component.annotations</artifactId>
77 <version>1.4.0</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -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>
Thomas Vachuska64b0ade2018-11-01 15:26:26 -070087 <version>3.5.0</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070088 <extensions>true</extensions>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-compiler-plugin</artifactId>
Thomas Vachuska64b0ade2018-11-01 15:26:26 -070093 <version>3.8.0</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070094 <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>
Thomas Vachuska64b0ade2018-11-01 15:26:26 -0700102 <version>1.26.0</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -0700103 <configuration>
104 <supportedProjectTypes>
105 <supportedProjectType>bundle</supportedProjectType>
106 <supportedProjectType>war</supportedProjectType>
107 </supportedProjectTypes>
108 </configuration>
109 </plugin>
110 <plugin>
111 <groupId>org.onosproject</groupId>
112 <artifactId>onos-maven-plugin</artifactId>
Thomas Vachuska64b0ade2018-11-01 15:26:26 -0700113 <version>2.0-SNAPSHOT</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -0700114 <executions>
115 <execution>
116 <id>cfg</id>
117 <phase>generate-resources</phase>
118 <goals>
119 <goal>cfg</goal>
120 </goals>
121 </execution>
122 <execution>
Thomas Vachuska8f2d6e02015-08-28 10:29:15 -0700123 <id>swagger</id>
124 <phase>generate-sources</phase>
125 <goals>
126 <goal>swagger</goal>
127 </goals>
128 </execution>
129 <execution>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -0700130 <id>app</id>
131 <phase>package</phase>
132 <goals>
133 <goal>app</goal>
134 </goals>
135 </execution>
136 </executions>
137 </plugin>
138 </plugins>
139 </build>
140
141</project>