c93c424776993cc408cef3cdfaa8e48f7641f86d
[bgpcep.git] / bgp / path-selection-mode / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10
11 <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">
12     <modelVersion>4.0.0</modelVersion>
13     <scm>
14         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
15         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
16         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
17         <tag>HEAD</tag>
18     </scm>
19     <parent>
20         <groupId>org.opendaylight.bgpcep</groupId>
21         <artifactId>bgp-parent</artifactId>
22         <version>0.6.0-SNAPSHOT</version>
23     </parent>
24     <artifactId>bgp-path-selection-mode</artifactId>
25     <description>BGP Path Selection Mode</description>
26     <packaging>bundle</packaging>
27     <name>${project.artifactId}</name>
28     <prerequisites>
29         <maven>3.0.4</maven>
30     </prerequisites>
31
32
33     <dependencies>
34         <dependency>
35             <groupId>org.opendaylight.controller</groupId>
36             <artifactId>config-api</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>${project.groupId}</groupId>
40             <artifactId>bgp-parser-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>${project.groupId}</groupId>
44             <artifactId>bgp-rib-api</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>${project.groupId}</groupId>
48             <artifactId>bgp-rib-spi</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.yangtools</groupId>
52             <artifactId>yang-data-api</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.yangtools</groupId>
56             <artifactId>yang-data-impl</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>com.google.guava</groupId>
60             <artifactId>guava</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.controller</groupId>
64             <artifactId>sal-broker-impl</artifactId>
65         </dependency>
66         <!-- test scope dependencies -->
67         <dependency>
68             <groupId>org.mockito</groupId>
69             <artifactId>mockito-core</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>org.opendaylight.yangtools</groupId>
73             <artifactId>mockito-configuration</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>junit</groupId>
77             <artifactId>junit</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>org.opendaylight.controller</groupId>
81             <artifactId>config-manager</artifactId>
82             <scope>test</scope>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.controller</groupId>
86             <artifactId>config-manager</artifactId>
87             <type>test-jar</type>
88             <scope>test</scope>
89         </dependency>
90         <dependency>
91             <groupId>org.opendaylight.controller</groupId>
92             <artifactId>config-util</artifactId>
93             <scope>test</scope>
94         </dependency>
95     </dependencies>
96
97     <build>
98         <plugins>
99             <plugin>
100                 <groupId>org.apache.maven.plugins</groupId>
101                 <artifactId>maven-jar-plugin</artifactId>
102                 <executions>
103                     <execution>
104                         <phase>package</phase>
105                         <goals>
106                             <goal>test-jar</goal>
107                         </goals>
108                     </execution>
109                 </executions>
110             </plugin>
111             <plugin>
112                 <groupId>org.apache.felix</groupId>
113                 <artifactId>maven-bundle-plugin</artifactId>
114                 <extensions>true</extensions>
115                 <configuration>
116                     <instructions>
117                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
118                         <Export-Package>
119                             org.opendaylight.protocol.bgp.mode.*,
120                             org.opendaylight.controller.config.yang.bgp.path.selection.mode.*,
121                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.*
122                         </Export-Package>
123                     </instructions>
124                 </configuration>
125             </plugin>
126             <plugin>
127                 <groupId>org.opendaylight.yangtools</groupId>
128                 <artifactId>yang-maven-plugin</artifactId>
129             </plugin>
130         </plugins>
131     </build>
132
133   <!--
134       Maven Site Configuration
135
136       The following configuration is necessary for maven-site-plugin to
137       correctly identify the correct deployment path for OpenDaylight Maven
138       sites.
139   -->
140   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
141
142   <distributionManagement>
143     <site>
144       <id>opendaylight-site</id>
145       <url>${nexus.site.url}/${project.artifactId}/</url>
146     </site>
147   </distributionManagement>
148 </project>