blob: 892dbb440f5d5df24cc1b0fc8483f15a75c26904 [file] [log] [blame]
Pier Luigi Ventred1173a12016-03-30 15:51:03 +02001<?xml version="1.0" encoding="UTF-8"?>
Carolina Fernandezad893432016-07-18 11:11:34 +02002
Pier Luigi Ventred1173a12016-03-30 15:51:03 +02003<!--
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +02004 ~ Copyright 2016-present Open Networking Laboratory
Pier Luigi Ventred1173a12016-03-30 15:51:03 +02005 ~
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +020017 -->
18<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020019 <modelVersion>4.0.0</modelVersion>
20 <parent>
21 <artifactId>onos-app-samples</artifactId>
22 <groupId>org.onosproject</groupId>
Konstantinos Kanonakis35e9eb02016-06-06 16:38:53 -050023 <version>1.7.0-SNAPSHOT</version>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020024 </parent>
25
26 <groupId>org.onosproject</groupId>
27 <artifactId>onos-app-sdx-l2</artifactId>
Konstantinos Kanonakis35e9eb02016-06-06 16:38:53 -050028 <version>1.7.0-SNAPSHOT</version>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020029 <packaging>bundle</packaging>
30
31 <description>SDX-L2 application for ONOS project developed by GEANT</description>
32 <url>http://www.geant.org</url>
33
34 <properties>
Konstantinos Kanonakis35e9eb02016-06-06 16:38:53 -050035 <onos.version>1.7.0-SNAPSHOT</onos.version>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020036 <onos.app.name>org.onosproject.sdx-l2</onos.app.name>
37 <onos.app.origin>GN4 project</onos.app.origin>
38 </properties>
39
40 <dependencies>
41 <dependency>
42 <groupId>org.onosproject</groupId>
43 <artifactId>onos-api</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020044 </dependency>
45
46 <dependency>
47 <groupId>org.onosproject</groupId>
48 <artifactId>onos-core-dist</artifactId>
49 <version>${onos.version}</version>
50 </dependency>
51
52 <dependency>
53 <groupId>org.onosproject</groupId>
54 <artifactId>onlab-junit</artifactId>
55 <scope>test</scope>
56 </dependency>
57
58 <dependency>
59 <groupId>org.onosproject</groupId>
60 <artifactId>onos-api</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020061 <scope>test</scope>
62 <classifier>tests</classifier>
63 </dependency>
64
65 <dependency>
66 <groupId>org.onosproject</groupId>
67 <artifactId>onos-cli</artifactId>
68 <version>${onos.version}</version>
69 <scope>provided</scope>
70 </dependency>
71
72 <dependency>
73 <groupId>org.osgi</groupId>
74 <artifactId>org.osgi.core</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020075 <scope>provided</scope>
76 </dependency>
77
78 <dependency>
79 <groupId>org.apache.karaf.shell</groupId>
80 <artifactId>org.apache.karaf.shell.console</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020081 <scope>provided</scope>
82 </dependency>
83
84 <dependency>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020085 <groupId>org.osgi</groupId>
86 <artifactId>org.osgi.compendium</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +020087 </dependency>
88
89 </dependencies>
90
91 <build>
92 <plugins>
93 <plugin>
Carolina Fernandezad893432016-07-18 11:11:34 +020094 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
Carolina Fernandezad893432016-07-18 11:11:34 +020096 <configuration>
97 <useFile>false</useFile>
98 <redirectTestOutputToFile>false</redirectTestOutputToFile>
99 </configuration>
100 </plugin>
101 <plugin>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +0200102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-bundle-plugin</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +0200104 <extensions>true</extensions>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-compiler-plugin</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +0200109 <configuration>
110 <source>1.8</source>
111 <target>1.8</target>
112 </configuration>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.felix</groupId>
116 <artifactId>maven-scr-plugin</artifactId>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +0200117 <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>
Pier Luigi Ventred1173a12016-03-30 15:51:03 +0200135 <executions>
136 <execution>
137 <id>cfg</id>
138 <phase>generate-resources</phase>
139 <goals>
140 <goal>cfg</goal>
141 </goals>
142 </execution>
143 <execution>
144 <id>swagger</id>
145 <phase>generate-sources</phase>
146 <goals>
147 <goal>swagger</goal>
148 </goals>
149 </execution>
150 <execution>
151 <id>app</id>
152 <phase>package</phase>
153 <goals>
154 <goal>app</goal>
155 </goals>
156 </execution>
157 </executions>
158 </plugin>
159 </plugins>
160 </build>
161
162</project>