Enable Maven Site generation
[bgpcep.git] / bgp / parser-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 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
13     <modelVersion>4.0.0</modelVersion>
14     <scm>
15         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
16         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
17         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
18         <tag>HEAD</tag>
19     </scm>
20     <parent>
21         <groupId>org.opendaylight.bgpcep</groupId>
22         <artifactId>bgp-parent</artifactId>
23         <version>0.6.0-SNAPSHOT</version>
24     </parent>
25
26     <artifactId>bgp-parser-api</artifactId>
27     <description>BGP Parser API</description>
28     <packaging>bundle</packaging>
29     <name>${project.artifactId}</name>
30     <prerequisites>
31         <maven>3.0.4</maven>
32     </prerequisites>
33
34     <dependencies>
35         <dependency>
36             <groupId>${project.groupId}</groupId>
37             <artifactId>concepts</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>${project.groupId}</groupId>
41             <artifactId>util</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>${project.groupId}</groupId>
45             <artifactId>bgp-concepts</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>com.google.guava</groupId>
49             <artifactId>guava</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.slf4j</groupId>
53             <artifactId>slf4j-api</artifactId>
54         </dependency>
55
56         <dependency>
57             <groupId>org.opendaylight.mdsal</groupId>
58             <artifactId>yang-binding</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.yangtools</groupId>
62             <artifactId>yang-common</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>org.opendaylight.yangtools</groupId>
66             <artifactId>concepts</artifactId>
67         </dependency>
68
69         <dependency>
70             <groupId>org.opendaylight.mdsal.model</groupId>
71             <artifactId>ietf-inet-types</artifactId>
72         </dependency>
73         <dependency>
74             <groupId>org.opendaylight.mdsal.model</groupId>
75             <artifactId>yang-ext</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>junit</groupId>
79             <artifactId>junit</artifactId>
80         </dependency>
81     </dependencies>
82
83     <build>
84         <plugins>
85             <plugin>
86                 <groupId>org.opendaylight.yangtools</groupId>
87                 <artifactId>yang-maven-plugin</artifactId>
88             </plugin>
89             <plugin>
90                 <groupId>org.apache.felix</groupId>
91                 <artifactId>maven-bundle-plugin</artifactId>
92                 <extensions>true</extensions>
93                 <configuration>
94                     <instructions>
95                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
96                     </instructions>
97                 </configuration>
98             </plugin>
99         </plugins>
100     </build>
101
102
103   <!--
104       Maven Site Configuration
105
106       The following configuration is necessary for maven-site-plugin to
107       correctly identify the correct deployment path for OpenDaylight Maven
108       sites.
109   -->
110   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
111
112   <distributionManagement>
113     <site>
114       <id>opendaylight-site</id>
115       <url>${nexus.site.url}/${project.artifactId}/</url>
116     </site>
117   </distributionManagement>
118 </project>