Enable Maven Site generation
[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>junit</groupId>
69             <artifactId>junit</artifactId>
70         </dependency>
71     </dependencies>
72
73     <build>
74         <plugins>
75             <plugin>
76                 <groupId>org.apache.maven.plugins</groupId>
77                 <artifactId>maven-jar-plugin</artifactId>
78                 <executions>
79                     <execution>
80                         <phase>package</phase>
81                         <goals>
82                             <goal>test-jar</goal>
83                         </goals>
84                     </execution>
85                 </executions>
86             </plugin>
87             <plugin>
88                 <groupId>org.apache.felix</groupId>
89                 <artifactId>maven-bundle-plugin</artifactId>
90                 <extensions>true</extensions>
91                 <configuration>
92                     <instructions>
93                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
94                         <Export-Package>
95                             org.opendaylight.protocol.bgp.mode.*,
96                             org.opendaylight.controller.config.yang.bgp.path.selection.mode.*,
97                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.path.selection.mode.*
98                         </Export-Package>
99                     </instructions>
100                 </configuration>
101             </plugin>
102             <plugin>
103                 <groupId>org.opendaylight.yangtools</groupId>
104                 <artifactId>yang-maven-plugin</artifactId>
105             </plugin>
106         </plugins>
107     </build>
108
109   <!--
110       Maven Site Configuration
111
112       The following configuration is necessary for maven-site-plugin to
113       correctly identify the correct deployment path for OpenDaylight Maven
114       sites.
115   -->
116   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
117
118   <distributionManagement>
119     <site>
120       <id>opendaylight-site</id>
121       <url>${nexus.site.url}/${project.artifactId}/</url>
122     </site>
123   </distributionManagement>
124 </project>