Bug-1516: Introduce PCC mock.
[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.3.1-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-impl</artifactId>
29     </dependency>
30
31     <dependency>
32       <groupId>${project.groupId}</groupId>
33       <artifactId>concepts</artifactId>
34     </dependency>
35
36     <dependency>
37       <groupId>org.opendaylight.controller</groupId>
38       <artifactId>protocol-framework</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>${project.groupId}</groupId>
42       <artifactId>pcep-ietf-stateful07</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>${project.groupId}</groupId>
46       <artifactId>pcep-ietf-stateful02</artifactId>
47     </dependency>
48
49     <dependency>
50       <groupId>io.netty</groupId>
51       <artifactId>netty-common</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>io.netty</groupId>
55       <artifactId>netty-transport</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>com.google.guava</groupId>
59       <artifactId>guava</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.slf4j</groupId>
63       <artifactId>slf4j-api</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>ch.qos.logback</groupId>
67       <artifactId>logback-classic</artifactId>
68       <scope>runtime</scope>
69     </dependency>
70
71     <!-- Testing dependencies -->
72     <dependency>
73       <groupId>junit</groupId>
74       <artifactId>junit</artifactId>
75     </dependency>
76     <dependency>
77       <groupId>org.mockito</groupId>
78       <artifactId>mockito-core</artifactId>
79     </dependency>
80   </dependencies>
81
82   <build>
83     <plugins>
84       <plugin>
85         <groupId>org.apache.maven.plugins</groupId>
86         <artifactId>maven-jar-plugin</artifactId>
87         <configuration>
88           <archive>
89             <manifest>
90               <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
91             </manifest>
92           </archive>
93         </configuration>
94       </plugin>
95       <plugin>
96         <groupId>org.apache.maven.plugins</groupId>
97         <artifactId>maven-shade-plugin</artifactId>
98         <version>${maven.shade.version}</version>
99         <configuration>
100         </configuration>
101         <executions>
102           <execution>
103             <phase>package</phase>
104             <goals>
105               <goal>shade</goal>
106             </goals>
107             <configuration>
108               <transformers>
109                 <transformer
110                   implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
111                   <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
112                 </transformer>
113               </transformers>
114               <shadedArtifactAttached>true</shadedArtifactAttached>
115               <shadedClassifierName>executable</shadedClassifierName>
116             </configuration>
117           </execution>
118         </executions>
119       </plugin>
120     </plugins>
121   </build>
122 </project>