blob: bbf4a1224d7a8e8710a7ee5f9d6494aeff240133 [file] [log] [blame]
Jonathan Hart2b5ceec2017-12-04 13:57:19 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2015-present Open Networking Foundation
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>
24 <artifactId>onos-dependencies</artifactId>
25 <version>1.10.9</version>
26 <relativePath></relativePath>
27 </parent>
28
29 <groupId>org.opencord</groupId>
30 <artifactId>foo-app</artifactId>
31 <version>1.0.0-SNAPSHOT</version>
32 <packaging>bundle</packaging>
33
34 <description>CORD configuration meta application</description>
35
36 <properties>
37 <onos.app.name>org.opencord.fooapp</onos.app.name>
38 <onos.version>1.10.9</onos.version>
39 <onos.app.title>CORD Configuration Meta Application</onos.app.title>
40 <onos.app.category>Utility</onos.app.category>
41 <onos.app.url>http://opencord.org</onos.app.url>
42 </properties>
43
44 <dependencies>
45 <dependency>
46 <groupId>org.onosproject</groupId>
47 <artifactId>onos-api</artifactId>
48 <version>${onos.version}</version>
49 </dependency>
50 </dependencies>
51
52 <build>
53 <plugins>
54 <plugin>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>maven-bundle-plugin</artifactId>
57 <version>3.0.1</version>
58 <extensions>true</extensions>
59 <configuration>
60 <niceManifest>true</niceManifest>
61 <instructions>
62 <!-- Any Guava version 19.0 or later-->
63 <Import-Package>
64 com.google.*;version=19.0,
65 *
66 </Import-Package>
67 </instructions>
68 </configuration>
69 </plugin>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-compiler-plugin</artifactId>
73 <version>2.5.1</version>
74 <configuration>
75 <source>1.8</source>
76 <target>1.8</target>
77 </configuration>
78 </plugin>
79 <plugin>
80 <groupId>org.apache.felix</groupId>
81 <artifactId>maven-scr-plugin</artifactId>
82 <version>1.21.0</version>
83 <executions>
84 <execution>
85 <id>generate-scr-srcdescriptor</id>
86 <goals>
87 <goal>scr</goal>
88 </goals>
89 </execution>
90 </executions>
91 <configuration>
92 <supportedProjectTypes>
93 <supportedProjectType>bundle</supportedProjectType>
94 <supportedProjectType>war</supportedProjectType>
95 </supportedProjectTypes>
96 </configuration>
97 </plugin>
98
99 <plugin>
100 <groupId>org.onosproject</groupId>
101 <artifactId>onos-maven-plugin</artifactId>
102 <version>1.7</version>
103 <executions>
104 <execution>
105 <id>cfg</id>
106 <phase>generate-resources</phase>
107 <goals>
108 <goal>cfg</goal>
109 </goals>
110 </execution>
111 <execution>
112 <id>swagger</id>
113 <phase>generate-sources</phase>
114 <goals>
115 <goal>swagger</goal>
116 </goals>
117 </execution>
118 <execution>
119 <id>app</id>
120 <phase>package</phase>
121 <goals>
122 <goal>app</goal>
123 </goals>
124 </execution>
125 </executions>
126 </plugin>
127 </plugins>
128 </build>
129
130 <repositories>
131 <repository>
132 <id>central</id>
133 <name>Central Repository</name>
134 <url>http://repo.maven.apache.org/maven2</url>
135 <layout>default</layout>
136 <snapshots>
137 <enabled>false</enabled>
138 </snapshots>
139 <releases>
140 <enabled>true</enabled>
141 <updatePolicy>always</updatePolicy>
142 <checksumPolicy>fail</checksumPolicy>
143 </releases>
144 </repository>
145
146 <repository>
147 <id>snapshots</id>
148 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
149 <snapshots>
150 <enabled>true</enabled>
151 <updatePolicy>always</updatePolicy>
152 <checksumPolicy>fail</checksumPolicy>
153 </snapshots>
154 </repository>
155 </repositories>
156</project>