Bug-730: More tests for testing tools.
[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     <dependency>
71       <groupId>${project.groupId}</groupId>
72       <artifactId>pcep-testtool</artifactId>
73       <scope>test</scope>
74     </dependency>
75
76     <!-- Testing dependencies -->
77     <dependency>
78       <groupId>junit</groupId>
79       <artifactId>junit</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.mockito</groupId>
83       <artifactId>mockito-core</artifactId>
84     </dependency>
85   </dependencies>
86
87   <build>
88     <plugins>
89       <plugin>
90         <groupId>org.apache.maven.plugins</groupId>
91         <artifactId>maven-jar-plugin</artifactId>
92         <configuration>
93           <archive>
94             <manifest>
95               <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
96             </manifest>
97           </archive>
98         </configuration>
99       </plugin>
100       <plugin>
101         <groupId>org.apache.maven.plugins</groupId>
102         <artifactId>maven-shade-plugin</artifactId>
103         <version>${maven.shade.version}</version>
104         <configuration>
105         </configuration>
106         <executions>
107           <execution>
108             <phase>package</phase>
109             <goals>
110               <goal>shade</goal>
111             </goals>
112             <configuration>
113               <transformers>
114                 <transformer
115                   implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
116                   <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
117                 </transformer>
118               </transformers>
119               <shadedArtifactAttached>true</shadedArtifactAttached>
120               <shadedClassifierName>executable</shadedClassifierName>
121             </configuration>
122           </execution>
123         </executions>
124       </plugin>
125     </plugins>
126   </build>
127 </project>