Bug-2250: pcc-mock support TCP MD5
[bgpcep.git] / pcep / pcc-mock / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 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"
12   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13   <modelVersion>4.0.0</modelVersion>
14   <parent>
15     <groupId>org.opendaylight.bgpcep</groupId>
16     <artifactId>pcep-parent</artifactId>
17     <version>0.4.0-SNAPSHOT</version>
18   </parent>
19   <artifactId>pcep-pcc-mock</artifactId>
20
21   <dependencies>
22     <dependency>
23       <groupId>${project.groupId}</groupId>
24       <artifactId>pcep-api</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>pcep-spi</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>${project.groupId}</groupId>
32       <artifactId>pcep-impl</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>${project.groupId}</groupId>
36       <artifactId>rsvp-api</artifactId>
37     </dependency>
38
39     <dependency>
40       <groupId>org.opendaylight.controller</groupId>
41       <artifactId>protocol-framework</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>${project.groupId}</groupId>
45       <artifactId>pcep-ietf-stateful07</artifactId>
46     </dependency>
47
48     <dependency>
49       <groupId>io.netty</groupId>
50       <artifactId>netty-common</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>io.netty</groupId>
54       <artifactId>netty-transport</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>com.google.guava</groupId>
58       <artifactId>guava</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.slf4j</groupId>
62       <artifactId>slf4j-api</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>ch.qos.logback</groupId>
66       <artifactId>logback-classic</artifactId>
67     </dependency>
68     <dependency>
69        <groupId>org.opendaylight.yangtools.model</groupId>
70        <artifactId>ietf-inet-types</artifactId>
71     </dependency>
72     <dependency>
73         <groupId>org.opendaylight.tcpmd5</groupId>
74         <artifactId>tcpmd5-jni</artifactId>
75     </dependency>
76     <dependency>
77         <groupId>org.opendaylight.tcpmd5</groupId>
78         <artifactId>tcpmd5-netty</artifactId>
79     </dependency>
80     <dependency>
81         <groupId>org.opendaylight.tcpmd5</groupId>
82         <artifactId>tcpmd5-api</artifactId>
83     </dependency>
84
85     <!-- Testing dependencies -->
86     <dependency>
87       <groupId>junit</groupId>
88       <artifactId>junit</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.mockito</groupId>
92       <artifactId>mockito-core</artifactId>
93     </dependency>
94   </dependencies>
95
96   <build>
97     <plugins>
98       <plugin>
99         <groupId>org.apache.maven.plugins</groupId>
100         <artifactId>maven-jar-plugin</artifactId>
101         <configuration>
102           <archive>
103             <manifest>
104               <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
105             </manifest>
106           </archive>
107         </configuration>
108       </plugin>
109       <plugin>
110         <groupId>org.apache.maven.plugins</groupId>
111         <artifactId>maven-shade-plugin</artifactId>
112         <configuration>
113         </configuration>
114         <executions>
115           <execution>
116             <phase>package</phase>
117             <goals>
118               <goal>shade</goal>
119             </goals>
120             <configuration>
121               <transformers>
122                 <transformer
123                   implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
124                   <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
125                 </transformer>
126               </transformers>
127               <shadedArtifactAttached>true</shadedArtifactAttached>
128               <shadedClassifierName>executable</shadedClassifierName>
129             </configuration>
130           </execution>
131         </executions>
132       </plugin>
133     </plugins>
134   </build>
135 </project>