blob: 4cf34e0746ad0ac2b448476857e6bc245f69ed80 [file] [log] [blame]
alshabib10f7fe82016-04-28 15:52:22 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2015-present Open Networking Laboratory
4 ~
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>
alshabibf2b1e0d2016-06-02 17:12:54 -070024 <artifactId>onos</artifactId>
alshabib8b46ddf2016-08-18 14:41:18 -070025 <version>1.7.0-SNAPSHOT</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>
alshabib36bc0fb2016-08-03 14:06:00 -070030 <version>1.1-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>
alshabib8b46ddf2016-08-18 14:41:18 -070037 <onos.version>1.7.0-SNAPSHOT</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>
alshabibf2b1e0d2016-06-02 17:12:54 -070049
50 <dependency>
51 <groupId>org.apache.felix</groupId>
52 <artifactId>org.apache.felix.scr.annotations</artifactId>
53 </dependency>
Jonathan Hart92cc9652016-06-07 11:23:03 -070054
55 <!-- TODO FIX ONOS ROOT POM to split thirdparty and onos dependencies -->
alshabibf2b1e0d2016-06-02 17:12:54 -070056 <dependency>
57 <groupId>org.onosproject</groupId>
58 <artifactId>onlab-misc</artifactId>
59 <version>${onos.version}</version>
60 </dependency>
61 <dependency>
62 <groupId>org.onosproject</groupId>
63 <artifactId>onlab-osgi</artifactId>
64 <version>${onos.version}</version>
65 </dependency>
66
alshabib10f7fe82016-04-28 15:52:22 -070067 </dependencies>
68
alshabibee65b2a2016-08-26 10:57:11 -070069 <repositories>
70 <repository>
71 <id>central</id>
72 <name>Central Repository</name>
73 <url>http://repo.maven.apache.org/maven2</url>
74 <layout>default</layout>
75 <snapshots>
76 <enabled>true</enabled>
77 </snapshots>
78 <releases>
79 <enabled>true</enabled>
80 <updatePolicy>never</updatePolicy>
81 <checksumPolicy>fail</checksumPolicy>
82 </releases>
83 </repository>
84
85 <repository>
86 <id>snapshots</id>
87 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
88 <snapshots>
89 <enabled>true</enabled>
90 <updatePolicy>never</updatePolicy>
91 <checksumPolicy>fail</checksumPolicy>
92 </snapshots>
93 </repository>
94 </repositories>
95
alshabibf2b1e0d2016-06-02 17:12:54 -070096 <build>
97 <plugins>
98 <plugin>
99 <groupId>org.apache.felix</groupId>
100 <artifactId>maven-bundle-plugin</artifactId>
101 <version>3.0.1</version>
102 <extensions>true</extensions>
103 </plugin>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-compiler-plugin</artifactId>
107 <version>2.5.1</version>
108 <configuration>
109 <source>1.8</source>
110 <target>1.8</target>
111 </configuration>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.felix</groupId>
115 <artifactId>maven-scr-plugin</artifactId>
116 <version>1.21.0</version>
117 <executions>
118 <execution>
119 <id>generate-scr-srcdescriptor</id>
120 <goals>
121 <goal>scr</goal>
122 </goals>
123 </execution>
124 </executions>
125 <configuration>
126 <supportedProjectTypes>
127 <supportedProjectType>bundle</supportedProjectType>
128 <supportedProjectType>war</supportedProjectType>
129 </supportedProjectTypes>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.onosproject</groupId>
134 <artifactId>onos-maven-plugin</artifactId>
135 <version>1.7</version>
136 <executions>
137 <execution>
138 <id>cfg</id>
139 <phase>generate-resources</phase>
140 <goals>
141 <goal>cfg</goal>
142 </goals>
143 </execution>
144 <execution>
145 <id>swagger</id>
146 <phase>generate-sources</phase>
147 <goals>
148 <goal>swagger</goal>
149 </goals>
150 </execution>
151 <execution>
152 <id>app</id>
153 <phase>package</phase>
154 <goals>
155 <goal>app</goal>
156 </goals>
157 </execution>
158 </executions>
159 </plugin>
160 </plugins>
161 </build>
alshabib10f7fe82016-04-28 15:52:22 -0700162</project>