blob: ed8c345be2c00e133f1635884288e576c1dee602 [file] [log] [blame]
A.R Karthickb145da82017-04-20 14:45:43 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017 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" 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">
18 <modelVersion>4.0.0</modelVersion>
19
20 <groupId>org.ciena.xconnect</groupId>
21 <artifactId>xconnect</artifactId>
22 <version>1.0-SNAPSHOT</version>
23 <packaging>bundle</packaging>
24
25 <description>ONOS OSGi bundle archetype</description>
26 <url>http://onosproject.org</url>
27
28 <properties>
29 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30 <onos.version>1.8.0</onos.version>
31
32 <onos.app.name>org.ciena.xconnect</onos.app.name>
33 <onos.app.title>ciena xconnect</onos.app.title>
34 <onos.app.origin>ciena</onos.app.origin>
35 <onos.app.category>default</onos.app.category>
36 <onos.app.url>http://onosproject.org</onos.app.url>
37 <onos.app.readme>ONOS OSGi bundle archetype.</onos.app.readme>
38
39 </properties>
40
41 <dependencies>
42 <dependency>
43 <groupId>org.onosproject</groupId>
44 <artifactId>onos-api</artifactId>
45 <version>${onos.version}</version>
46 </dependency>
47
48 <dependency>
49 <groupId>org.onosproject</groupId>
50 <artifactId>onlab-osgi</artifactId>
51 <version>${onos.version}</version>
52 </dependency>
53
54 <dependency>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onos-core-serializers</artifactId>
57 <version>${onos.version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
63 <version>4.12</version>
64 <scope>test</scope>
65 </dependency>
66
67 <dependency>
68 <groupId>org.onosproject</groupId>
69 <artifactId>onos-api</artifactId>
70 <version>${onos.version}</version>
71 <scope>test</scope>
72 <classifier>tests</classifier>
73 </dependency>
74
75 <dependency>
76 <groupId>org.apache.felix</groupId>
77 <artifactId>org.apache.felix.scr.annotations</artifactId>
78 <version>1.9.12</version>
79 <scope>provided</scope>
80 </dependency>
81 </dependencies>
82
83 <build>
84 <plugins>
85 <plugin>
86 <groupId>org.apache.felix</groupId>
87 <artifactId>maven-bundle-plugin</artifactId>
88 <version>3.0.1</version>
89 <extensions>true</extensions>
90 </plugin>
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-compiler-plugin</artifactId>
94 <version>2.5.1</version>
95 <configuration>
96 <source>1.8</source>
97 <target>1.8</target>
98 </configuration>
99 </plugin>
100 <plugin>
101 <groupId>org.apache.felix</groupId>
102 <artifactId>maven-scr-plugin</artifactId>
103 <version>1.21.0</version>
104 <executions>
105 <execution>
106 <id>generate-scr-srcdescriptor</id>
107 <goals>
108 <goal>scr</goal>
109 </goals>
110 </execution>
111 </executions>
112 <configuration>
113 <supportedProjectTypes>
114 <supportedProjectType>bundle</supportedProjectType>
115 <supportedProjectType>war</supportedProjectType>
116 </supportedProjectTypes>
117 </configuration>
118 </plugin>
119 <plugin>
120 <groupId>org.onosproject</groupId>
121 <artifactId>onos-maven-plugin</artifactId>
122 <version>1.10</version>
123 <executions>
124 <execution>
125 <id>cfg</id>
126 <phase>generate-resources</phase>
127 <goals>
128 <goal>cfg</goal>
129 </goals>
130 </execution>
131 <execution>
132 <id>swagger</id>
133 <phase>generate-sources</phase>
134 <goals>
135 <goal>swagger</goal>
136 </goals>
137 </execution>
138 <execution>
139 <id>app</id>
140 <phase>package</phase>
141 <goals>
142 <goal>app</goal>
143 </goals>
144 </execution>
145 </executions>
146 </plugin>
147 </plugins>
148 </build>
149
150</project>