Bump versions by x.y.(z+1)
[bgpcep.git] / bmp / bmp-mock / pom.xml
1 <?xml version="1.0"?>
2 <!--
3  Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project
10         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
11         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <groupId>org.opendaylight.bgpcep</groupId>
15         <artifactId>testtool-parent</artifactId>
16         <version>0.10.4-SNAPSHOT</version>
17         <relativePath>../../testtool-parent</relativePath>
18     </parent>
19
20     <artifactId>bgp-bmp-mock</artifactId>
21     <version>0.10.4-SNAPSHOT</version>
22     <name>bmp-mock</name>
23
24     <dependencies>
25         <dependency>
26             <groupId>${project.groupId}</groupId>
27             <artifactId>concepts</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>${project.groupId}</groupId>
31             <artifactId>bgp-bmp-api</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>${project.groupId}</groupId>
35             <artifactId>bgp-bmp-spi</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>${project.groupId}</groupId>
39             <artifactId>bgp-bmp-impl</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>${project.groupId}</groupId>
43             <artifactId>bgp-bmp-parser-impl</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>${project.groupId}</groupId>
47             <artifactId>bgp-parser-api</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>${project.groupId}</groupId>
51             <artifactId>bgp-parser-spi</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>${project.groupId}</groupId>
55             <artifactId>bgp-parser-impl</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>${project.groupId}</groupId>
59             <artifactId>bgp-concepts</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>${project.groupId}</groupId>
63             <artifactId>util</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>org.opendaylight.mdsal.model</groupId>
67             <artifactId>ietf-inet-types-2013-07-15</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.opendaylight.mdsal</groupId>
71             <artifactId>yang-binding</artifactId>
72         </dependency>
73         <dependency>
74             <groupId>io.netty</groupId>
75             <artifactId>netty-transport</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>io.netty</groupId>
79             <artifactId>netty-common</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>org.slf4j</groupId>
83             <artifactId>slf4j-api</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>ch.qos.logback</groupId>
87             <artifactId>logback-classic</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>com.google.guava</groupId>
91             <artifactId>guava</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>net.sourceforge.argparse4j</groupId>
95             <artifactId>argparse4j</artifactId>
96             <version>0.7.0</version>
97         </dependency>
98         <dependency>
99             <groupId>${project.groupId}</groupId>
100             <artifactId>testtool-util</artifactId>
101         </dependency>
102         <!-- test-scope dependencies -->
103         <dependency>
104             <groupId>org.mockito</groupId>
105             <artifactId>mockito-core</artifactId>
106         </dependency>
107     </dependencies>
108     <build>
109         <plugins>
110             <plugin>
111                 <groupId>org.apache.maven.plugins</groupId>
112                 <artifactId>maven-jar-plugin</artifactId>
113                 <configuration>
114                     <archive>
115                         <manifest>
116                             <mainClass>org.opendaylight.protocol.bmp.mock.BmpMock</mainClass>
117                         </manifest>
118                     </archive>
119                 </configuration>
120             </plugin>
121             <plugin>
122                 <groupId>org.apache.maven.plugins</groupId>
123                 <artifactId>maven-shade-plugin</artifactId>
124                 <configuration>
125                     <!-- to solve the exception: "Invalid signature file digest for Manifest main attributes" -->
126                     <filters>
127                         <filter>
128                             <artifact>*:*</artifact>
129                             <excludes>
130                                 <exclude>META-INF/*.SF</exclude>
131                                 <exclude>META-INF/*.DSA</exclude>
132                                 <exclude>META-INF/*.RSA</exclude>
133                             </excludes>
134                         </filter>
135                     </filters>
136                 </configuration>
137                 <executions>
138                     <execution>
139                         <phase>package</phase>
140                         <goals>
141                             <goal>shade</goal>
142                         </goals>
143                         <configuration>
144                             <transformers>
145                                 <transformer
146                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
147                                     <mainClass>org.opendaylight.protocol.bmp.mock.BmpMock</mainClass>
148                                 </transformer>
149                             </transformers>
150                             <shadedArtifactAttached>true</shadedArtifactAttached>
151                             <shadedClassifierName>executable</shadedClassifierName>
152                         </configuration>
153                     </execution>
154                 </executions>
155             </plugin>
156         </plugins>
157     </build>
158 </project>