blob: 2d38724baa5ec77ed4a6736e729a78a5f0101094 [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>
David K. Bainbridge3caa4b42017-09-07 14:00:30 -070025 <version>1.10.6</version>
Marc De Leenheer287c49d2017-09-05 17:17:55 -070026 <relativePath></relativePath>
alshabib10f7fe82016-04-28 15:52:22 -070027 </parent>
28
Brian O'Connordd1ebd32016-06-24 17:00:42 -070029 <groupId>org.opencord</groupId>
Jonathan Hart92cc9652016-06-07 11:23:03 -070030 <artifactId>cord-config</artifactId>
David K. Bainbridge1df887a2017-08-17 09:54:40 -070031 <version>1.3.0-SNAPSHOT</version>
alshabib10f7fe82016-04-28 15:52:22 -070032 <packaging>bundle</packaging>
33
Jonathan Hartc6681fb2016-05-23 20:50:49 -070034 <description>CORD configuration meta application</description>
alshabib10f7fe82016-04-28 15:52:22 -070035
36 <properties>
alshabibf2b1e0d2016-06-02 17:12:54 -070037 <onos.app.name>org.opencord.config</onos.app.name>
David K. Bainbridge3caa4b42017-09-07 14:00:30 -070038 <onos.version>1.10.6</onos.version>
Jonathan Hart92cc9652016-06-07 11:23:03 -070039 <onos.app.title>CORD Configuration Meta Application</onos.app.title>
alshabib10f7fe82016-04-28 15:52:22 -070040 <onos.app.category>Utility</onos.app.category>
41 <onos.app.url>http://opencord.org</onos.app.url>
David K. Bainbridge1df887a2017-08-17 09:54:40 -070042 <!-- TODO onos-build-conf.version can be dropped when onos.version > 1.10.3 -->
43 <onos-build-conf.version>1.10.3-onf</onos-build-conf.version>
alshabib10f7fe82016-04-28 15:52:22 -070044 </properties>
45
46 <dependencies>
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onos-api</artifactId>
alshabibf2b1e0d2016-06-02 17:12:54 -070050 <version>${onos.version}</version>
alshabib10f7fe82016-04-28 15:52:22 -070051 </dependency>
52 </dependencies>
53
alshabibf2b1e0d2016-06-02 17:12:54 -070054 <build>
55 <plugins>
56 <plugin>
57 <groupId>org.apache.felix</groupId>
58 <artifactId>maven-bundle-plugin</artifactId>
59 <version>3.0.1</version>
60 <extensions>true</extensions>
Yuta HIGUCHIc4465772017-05-19 15:39:53 -070061 <configuration>
62 <niceManifest>true</niceManifest>
63 <instructions>
64 <!-- Any Guava version 19.0 or later-->
65 <Import-Package>
66 com.google.*;version=19.0,
67 *
68 </Import-Package>
69 </instructions>
70 </configuration>
alshabibf2b1e0d2016-06-02 17:12:54 -070071 </plugin>
72 <plugin>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-compiler-plugin</artifactId>
75 <version>2.5.1</version>
76 <configuration>
77 <source>1.8</source>
78 <target>1.8</target>
79 </configuration>
80 </plugin>
81 <plugin>
82 <groupId>org.apache.felix</groupId>
83 <artifactId>maven-scr-plugin</artifactId>
84 <version>1.21.0</version>
85 <executions>
86 <execution>
87 <id>generate-scr-srcdescriptor</id>
88 <goals>
89 <goal>scr</goal>
90 </goals>
91 </execution>
92 </executions>
93 <configuration>
94 <supportedProjectTypes>
95 <supportedProjectType>bundle</supportedProjectType>
96 <supportedProjectType>war</supportedProjectType>
97 </supportedProjectTypes>
98 </configuration>
99 </plugin>
Charles Chan38f70292016-12-14 16:14:57 -0800100
alshabibf2b1e0d2016-06-02 17:12:54 -0700101 <plugin>
102 <groupId>org.onosproject</groupId>
103 <artifactId>onos-maven-plugin</artifactId>
104 <version>1.7</version>
105 <executions>
106 <execution>
107 <id>cfg</id>
108 <phase>generate-resources</phase>
109 <goals>
110 <goal>cfg</goal>
111 </goals>
112 </execution>
113 <execution>
114 <id>swagger</id>
115 <phase>generate-sources</phase>
116 <goals>
117 <goal>swagger</goal>
118 </goals>
119 </execution>
120 <execution>
121 <id>app</id>
122 <phase>package</phase>
123 <goals>
124 <goal>app</goal>
125 </goals>
126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130 </build>
Jonathan Hartbcd4e292017-08-15 16:35:57 -0700131
132 <repositories>
133 <repository>
134 <id>central</id>
135 <name>Central Repository</name>
136 <url>http://repo.maven.apache.org/maven2</url>
137 <layout>default</layout>
138 <snapshots>
139 <enabled>false</enabled>
140 </snapshots>
141 <releases>
142 <enabled>true</enabled>
143 <updatePolicy>always</updatePolicy>
144 <checksumPolicy>fail</checksumPolicy>
145 </releases>
146 </repository>
147
148 <repository>
149 <id>snapshots</id>
150 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
151 <snapshots>
152 <enabled>true</enabled>
153 <updatePolicy>always</updatePolicy>
154 <checksumPolicy>fail</checksumPolicy>
155 </snapshots>
156 </repository>
157 </repositories>
alshabib10f7fe82016-04-28 15:52:22 -0700158</project>