Applying the Helium SR4 release patch
[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.5-Helium-SR4</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-buffer</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>io.netty</groupId>
58       <artifactId>netty-transport</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>com.google.guava</groupId>
62       <artifactId>guava</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.slf4j</groupId>
66       <artifactId>slf4j-api</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>ch.qos.logback</groupId>
70       <artifactId>logback-classic</artifactId>
71     </dependency>
72     <dependency>
73        <groupId>org.opendaylight.yangtools.model</groupId>
74        <artifactId>ietf-inet-types</artifactId>
75     </dependency>
76
77     <!-- Testing dependencies -->
78     <dependency>
79       <groupId>junit</groupId>
80       <artifactId>junit</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.mockito</groupId>
84       <artifactId>mockito-core</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>${project.groupId}</groupId>
88       <artifactId>pcep-testtool</artifactId>
89       <scope>test</scope>
90     </dependency>
91   </dependencies>
92
93   <build>
94     <plugins>
95       <plugin>
96         <groupId>org.apache.maven.plugins</groupId>
97         <artifactId>maven-jar-plugin</artifactId>
98         <configuration>
99           <archive>
100             <manifest>
101               <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
102             </manifest>
103           </archive>
104         </configuration>
105       </plugin>
106       <plugin>
107         <groupId>org.apache.maven.plugins</groupId>
108         <artifactId>maven-shade-plugin</artifactId>
109         <version>${maven.shade.version}</version>
110         <configuration>
111         </configuration>
112         <executions>
113           <execution>
114             <phase>package</phase>
115             <goals>
116               <goal>shade</goal>
117             </goals>
118             <configuration>
119               <transformers>
120                 <transformer
121                   implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
122                   <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
123                 </transformer>
124               </transformers>
125               <shadedArtifactAttached>true</shadedArtifactAttached>
126               <shadedClassifierName>executable</shadedClassifierName>
127             </configuration>
128           </execution>
129         </executions>
130       </plugin>
131     </plugins>
132   </build>
133 </project>