blob: 8d85b80592ffbb2e67f083fbc3237fdc0f4f72b6 [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. Bainbridge1df887a2017-08-17 09:54:40 -070025 <version>1.10.3</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. Bainbridge1df887a2017-08-17 09:54:40 -070030 <version>1.3.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>
David K. Bainbridge1df887a2017-08-17 09:54:40 -070037 <onos.version>1.10.3</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>
David K. Bainbridge1df887a2017-08-17 09:54:40 -070041 <!-- TODO onos-build-conf.version can be dropped when onos.version > 1.10.3 -->
42 <onos-build-conf.version>1.10.3-onf</onos-build-conf.version>
alshabib10f7fe82016-04-28 15:52:22 -070043 </properties>
44
45 <dependencies>
46 <dependency>
47 <groupId>org.onosproject</groupId>
48 <artifactId>onos-api</artifactId>
alshabibf2b1e0d2016-06-02 17:12:54 -070049 <version>${onos.version}</version>
alshabib10f7fe82016-04-28 15:52:22 -070050 </dependency>
51 </dependencies>
52
alshabibf2b1e0d2016-06-02 17:12:54 -070053 <build>
54 <plugins>
55 <plugin>
56 <groupId>org.apache.felix</groupId>
57 <artifactId>maven-bundle-plugin</artifactId>
58 <version>3.0.1</version>
59 <extensions>true</extensions>
Yuta HIGUCHIc4465772017-05-19 15:39:53 -070060 <configuration>
61 <niceManifest>true</niceManifest>
62 <instructions>
63 <!-- Any Guava version 19.0 or later-->
64 <Import-Package>
65 com.google.*;version=19.0,
66 *
67 </Import-Package>
68 </instructions>
69 </configuration>
alshabibf2b1e0d2016-06-02 17:12:54 -070070 </plugin>
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-compiler-plugin</artifactId>
74 <version>2.5.1</version>
75 <configuration>
76 <source>1.8</source>
77 <target>1.8</target>
78 </configuration>
79 </plugin>
80 <plugin>
81 <groupId>org.apache.felix</groupId>
82 <artifactId>maven-scr-plugin</artifactId>
83 <version>1.21.0</version>
84 <executions>
85 <execution>
86 <id>generate-scr-srcdescriptor</id>
87 <goals>
88 <goal>scr</goal>
89 </goals>
90 </execution>
91 </executions>
92 <configuration>
93 <supportedProjectTypes>
94 <supportedProjectType>bundle</supportedProjectType>
95 <supportedProjectType>war</supportedProjectType>
96 </supportedProjectTypes>
97 </configuration>
98 </plugin>
Charles Chan38f70292016-12-14 16:14:57 -080099
alshabibf2b1e0d2016-06-02 17:12:54 -0700100 <plugin>
101 <groupId>org.onosproject</groupId>
102 <artifactId>onos-maven-plugin</artifactId>
103 <version>1.7</version>
104 <executions>
105 <execution>
106 <id>cfg</id>
107 <phase>generate-resources</phase>
108 <goals>
109 <goal>cfg</goal>
110 </goals>
111 </execution>
112 <execution>
113 <id>swagger</id>
114 <phase>generate-sources</phase>
115 <goals>
116 <goal>swagger</goal>
117 </goals>
118 </execution>
119 <execution>
120 <id>app</id>
121 <phase>package</phase>
122 <goals>
123 <goal>app</goal>
124 </goals>
125 </execution>
126 </executions>
127 </plugin>
128 </plugins>
129 </build>
Jonathan Hartbcd4e292017-08-15 16:35:57 -0700130
131 <repositories>
132 <repository>
133 <id>central</id>
134 <name>Central Repository</name>
135 <url>http://repo.maven.apache.org/maven2</url>
136 <layout>default</layout>
137 <snapshots>
138 <enabled>false</enabled>
139 </snapshots>
140 <releases>
141 <enabled>true</enabled>
142 <updatePolicy>always</updatePolicy>
143 <checksumPolicy>fail</checksumPolicy>
144 </releases>
145 </repository>
146
147 <repository>
148 <id>snapshots</id>
149 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
150 <snapshots>
151 <enabled>true</enabled>
152 <updatePolicy>always</updatePolicy>
153 <checksumPolicy>fail</checksumPolicy>
154 </snapshots>
155 </repository>
156 </repositories>
alshabib10f7fe82016-04-28 15:52:22 -0700157</project>