45ccbac534a4c7b5dc294a61296bd7de7a75c2a0
[bgpcep.git] / bgp / benchmark-app / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4  This program and the accompanying materials are made available under the
5  terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  and is available at http://www.eclipse.org/legal/epl-v10.html -->
7 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9     <modelVersion>4.0.0</modelVersion>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
14         <tag>HEAD</tag>
15     </scm>
16     <parent>
17         <groupId>org.opendaylight.bgpcep</groupId>
18         <artifactId>bgp-parent</artifactId>
19         <version>0.6.4-SNAPSHOT</version>
20     </parent>
21     <packaging>bundle</packaging>
22     <artifactId>bgp-benchmark-app</artifactId>
23
24     <dependencies>
25         <dependency>
26             <groupId>com.google.guava</groupId>
27             <artifactId>guava</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.osgi</groupId>
31             <artifactId>org.osgi.core</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.slf4j</groupId>
35             <artifactId>slf4j-api</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.mdsal</groupId>
39             <artifactId>yang-binding</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>yang-common</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.yangtools</groupId>
47             <artifactId>concepts</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>org.opendaylight.mdsal.model</groupId>
51             <artifactId>ietf-inet-types-2013-07-15</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>${project.groupId}</groupId>
55             <artifactId>bgp-rib-api</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>${project.groupId}</groupId>
59             <artifactId>bgp-parser-api</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>${project.groupId}</groupId>
63             <artifactId>bgp-concepts</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>${project.groupId}</groupId>
67             <artifactId>bgp-inet</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.opendaylight.controller</groupId>
71             <artifactId>config-api</artifactId>
72          </dependency>
73          <dependency>
74              <groupId>org.opendaylight.controller</groupId>
75              <artifactId>sal-binding-api</artifactId>
76          </dependency>
77          <dependency>
78              <groupId>org.opendaylight.controller</groupId>
79             <artifactId>sal-common-api</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>org.opendaylight.controller</groupId>
83             <artifactId>sal-binding-config</artifactId>
84         </dependency>
85         <!-- test dependencies -->
86         <dependency>
87             <groupId>${project.groupId}</groupId>
88             <artifactId>testtool-util</artifactId>
89             <scope>test</scope>
90         </dependency>
91         <dependency>
92             <groupId>junit</groupId>
93             <artifactId>junit</artifactId>
94         </dependency>
95         <dependency>
96             <groupId>org.mockito</groupId>
97             <artifactId>mockito-core</artifactId>
98         </dependency>
99         <dependency>
100             <groupId>org.opendaylight.controller</groupId>
101             <artifactId>sal-binding-broker-impl</artifactId>
102             <scope>test</scope>
103             <type>test-jar</type>
104         </dependency>
105     </dependencies>
106     <build>
107         <plugins>
108             <plugin>
109                 <groupId>org.opendaylight.yangtools</groupId>
110                 <artifactId>yang-maven-plugin</artifactId>
111             </plugin>
112             <plugin>
113                 <groupId>org.apache.felix</groupId>
114                 <artifactId>maven-bundle-plugin</artifactId>
115                 <extensions>true</extensions>
116                 <configuration>
117                     <instructions>
118                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
119                     </instructions>
120                 </configuration>
121             </plugin>
122             <plugin>
123                 <groupId>org.codehaus.mojo</groupId>
124                 <artifactId>build-helper-maven-plugin</artifactId>
125                 <executions>
126                     <execution>
127                         <id>attach-artifacts</id>
128                         <goals>
129                             <goal>attach-artifact</goal>
130                         </goals>
131                         <phase>package</phase>
132                         <configuration>
133                             <artifacts>
134                                 <artifact>
135                                     <file>${project.build.directory}/classes/initial/bgp-app-peer-benchmark.xml</file>
136                                     <type>xml</type>
137                                     <classifier>app-peer-benchmark-config</classifier>
138                                 </artifact>
139                             </artifacts>
140                         </configuration>
141                     </execution>
142                 </executions>
143             </plugin>
144         </plugins>
145     </build>
146
147   <!--
148       Maven Site Configuration
149
150       The following configuration is necessary for maven-site-plugin to
151       correctly identify the correct deployment path for OpenDaylight Maven
152       sites.
153   -->
154   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
155
156   <distributionManagement>
157     <site>
158       <id>opendaylight-site</id>
159       <url>${nexus.site.url}/${project.artifactId}/</url>
160     </site>
161   </distributionManagement>
162 </project>