blob: beb755983c8c29e59e2afbffb2871ae1b8153985 [file] [log] [blame]
alshabib10f7fe82016-04-28 15:52:22 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connorf7cf45a2017-08-03 22:45:48 -07003 ~ Copyright 2015-present Open Networking Foundation
alshabib10f7fe82016-04-28 15:52:22 -07004 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.onosproject</groupId>
Charles Chan38f70292016-12-14 16:14:57 -080024 <artifactId>onos-dependencies</artifactId>
25 <version>1.8.0</version>
alshabib10f7fe82016-04-28 15:52:22 -070026 </parent>
27
Brian O'Connordd1ebd32016-06-24 17:00:42 -070028 <groupId>org.opencord</groupId>
Jonathan Hart92cc9652016-06-07 11:23:03 -070029 <artifactId>cord-config</artifactId>
David K. Bainbridge0f3d3ca2017-08-10 09:12:02 -070030 <version>1.2.0-SNAPSHOT</version>
alshabib10f7fe82016-04-28 15:52:22 -070031 <packaging>bundle</packaging>
32
Jonathan Hartc6681fb2016-05-23 20:50:49 -070033 <description>CORD configuration meta application</description>
alshabib10f7fe82016-04-28 15:52:22 -070034
35 <properties>
alshabibf2b1e0d2016-06-02 17:12:54 -070036 <onos.app.name>org.opencord.config</onos.app.name>
Charles Chan38f70292016-12-14 16:14:57 -080037 <onos.version>1.8.0</onos.version>
Jonathan Hart92cc9652016-06-07 11:23:03 -070038 <onos.app.title>CORD Configuration Meta Application</onos.app.title>
alshabib10f7fe82016-04-28 15:52:22 -070039 <onos.app.category>Utility</onos.app.category>
40 <onos.app.url>http://opencord.org</onos.app.url>
41 </properties>
42
43 <dependencies>
44 <dependency>
45 <groupId>org.onosproject</groupId>
46 <artifactId>onos-api</artifactId>
alshabibf2b1e0d2016-06-02 17:12:54 -070047 <version>${onos.version}</version>
alshabib10f7fe82016-04-28 15:52:22 -070048 </dependency>
49 </dependencies>
50
alshabibf2b1e0d2016-06-02 17:12:54 -070051 <build>
52 <plugins>
53 <plugin>
54 <groupId>org.apache.felix</groupId>
55 <artifactId>maven-bundle-plugin</artifactId>
56 <version>3.0.1</version>
57 <extensions>true</extensions>
Yuta HIGUCHIc4465772017-05-19 15:39:53 -070058 <configuration>
59 <niceManifest>true</niceManifest>
60 <instructions>
61 <!-- Any Guava version 19.0 or later-->
62 <Import-Package>
63 com.google.*;version=19.0,
64 *
65 </Import-Package>
66 </instructions>
67 </configuration>
alshabibf2b1e0d2016-06-02 17:12:54 -070068 </plugin>
69 <plugin>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-compiler-plugin</artifactId>
72 <version>2.5.1</version>
73 <configuration>
74 <source>1.8</source>
75 <target>1.8</target>
76 </configuration>
77 </plugin>
78 <plugin>
79 <groupId>org.apache.felix</groupId>
80 <artifactId>maven-scr-plugin</artifactId>
81 <version>1.21.0</version>
82 <executions>
83 <execution>
84 <id>generate-scr-srcdescriptor</id>
85 <goals>
86 <goal>scr</goal>
87 </goals>
88 </execution>
89 </executions>
90 <configuration>
91 <supportedProjectTypes>
92 <supportedProjectType>bundle</supportedProjectType>
93 <supportedProjectType>war</supportedProjectType>
94 </supportedProjectTypes>
95 </configuration>
96 </plugin>
Charles Chan38f70292016-12-14 16:14:57 -080097
alshabibf2b1e0d2016-06-02 17:12:54 -070098 <plugin>
99 <groupId>org.onosproject</groupId>
100 <artifactId>onos-maven-plugin</artifactId>
101 <version>1.7</version>
102 <executions>
103 <execution>
104 <id>cfg</id>
105 <phase>generate-resources</phase>
106 <goals>
107 <goal>cfg</goal>
108 </goals>
109 </execution>
110 <execution>
111 <id>swagger</id>
112 <phase>generate-sources</phase>
113 <goals>
114 <goal>swagger</goal>
115 </goals>
116 </execution>
117 <execution>
118 <id>app</id>
119 <phase>package</phase>
120 <goals>
121 <goal>app</goal>
122 </goals>
123 </execution>
124 </executions>
125 </plugin>
126 </plugins>
127 </build>
Jonathan Hart3dfe67b2017-08-15 16:35:57 -0700128
129 <repositories>
130 <repository>
131 <id>central</id>
132 <name>Central Repository</name>
133 <url>http://repo.maven.apache.org/maven2</url>
134 <layout>default</layout>
135 <snapshots>
136 <enabled>false</enabled>
137 </snapshots>
138 <releases>
139 <enabled>true</enabled>
140 <updatePolicy>always</updatePolicy>
141 <checksumPolicy>fail</checksumPolicy>
142 </releases>
143 </repository>
144
145 <repository>
146 <id>snapshots</id>
147 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
148 <snapshots>
149 <enabled>true</enabled>
150 <updatePolicy>always</updatePolicy>
151 <checksumPolicy>fail</checksumPolicy>
152 </snapshots>
153 </repository>
154 </repositories>
alshabib10f7fe82016-04-28 15:52:22 -0700155</project>