Enforce fail on maven-dependency-plugin warning
[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 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <modelVersion>4.0.0</modelVersion>
14     <parent>
15         <groupId>org.opendaylight.bgpcep</groupId>
16         <artifactId>testtool-parent</artifactId>
17         <version>0.10.0-SNAPSHOT</version>
18         <relativePath>../../testtool-parent</relativePath>
19     </parent>
20
21     <artifactId>pcep-pcc-mock</artifactId>
22     <version>0.10.0-SNAPSHOT</version>
23     <packaging>jar</packaging>
24
25     <dependencies>
26         <dependency>
27             <groupId>${project.groupId}</groupId>
28             <artifactId>util</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>${project.groupId}</groupId>
32             <artifactId>concepts</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>${project.groupId}</groupId>
36             <artifactId>pcep-api</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>${project.groupId}</groupId>
40             <artifactId>pcep-spi</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>${project.groupId}</groupId>
44             <artifactId>pcep-impl</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>${project.groupId}</groupId>
48             <artifactId>pcep-base-parser</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>${project.groupId}</groupId>
52             <artifactId>rsvp-api</artifactId>
53         </dependency>
54
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>pcep-ietf-stateful07</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>${project.groupId}</groupId>
61             <artifactId>testtool-util</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>com.google.guava</groupId>
65             <artifactId>guava</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>org.slf4j</groupId>
69             <artifactId>slf4j-api</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>io.netty</groupId>
73             <artifactId>netty-buffer</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>io.netty</groupId>
77             <artifactId>netty-common</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>io.netty</groupId>
81             <artifactId>netty-transport</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>io.netty</groupId>
85             <artifactId>netty-transport-native-epoll</artifactId>
86             <classifier>linux-x86_64</classifier>
87         </dependency>
88         <dependency>
89             <groupId>ch.qos.logback</groupId>
90             <artifactId>logback-classic</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.mdsal.model</groupId>
94             <artifactId>ietf-inet-types-2013-07-15</artifactId>
95         </dependency>
96
97         <!-- Testing dependencies -->
98         <dependency>
99             <groupId>org.mockito</groupId>
100             <artifactId>mockito-core</artifactId>
101         </dependency>
102     </dependencies>
103
104     <build>
105         <plugins>
106             <plugin>
107                 <groupId>org.apache.maven.plugins</groupId>
108                 <artifactId>maven-jar-plugin</artifactId>
109                 <configuration>
110                     <archive>
111                         <manifest>
112                             <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
113                         </manifest>
114                     </archive>
115                 </configuration>
116             </plugin>
117             <plugin>
118                 <groupId>org.apache.maven.plugins</groupId>
119                 <artifactId>maven-shade-plugin</artifactId>
120                 <configuration>
121                 </configuration>
122                 <executions>
123                     <execution>
124                         <phase>package</phase>
125                         <goals>
126                             <goal>shade</goal>
127                         </goals>
128                         <configuration>
129                             <filters>
130                                 <filter>
131                                     <artifact>*:*</artifact>
132                                     <excludes>
133                                         <exclude>META-INF/*.SF</exclude>
134                                         <exclude>META-INF/*.DSA</exclude>
135                                         <exclude>META-INF/*.RSA</exclude>
136                                     </excludes>
137                                 </filter>
138                             </filters>
139                             <transformers>
140                                 <transformer
141                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
142                                     <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
143                                 </transformer>
144                             </transformers>
145                             <shadedArtifactAttached>true</shadedArtifactAttached>
146                             <shadedClassifierName>executable</shadedClassifierName>
147                         </configuration>
148                     </execution>
149                 </executions>
150             </plugin>
151         </plugins>
152     </build>
153
154     <scm>
155         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
156         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
157         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
158         <tag>HEAD</tag>
159     </scm>
160 </project>