Bump versions by 0.1.0 for next dev cycle
[bgpcep.git] / bgp / bmp-mock / pom.xml
1 <?xml version="1.0"?>
2 <project
3  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7         <groupId>org.opendaylight.bgpcep</groupId>
8         <artifactId>bgp-parent</artifactId>
9         <version>0.7.0-SNAPSHOT</version>
10     </parent>
11     <artifactId>bgp-bmp-mock</artifactId>
12     <name>bmp-mock</name>
13
14     <dependencies>
15         <dependency>
16             <groupId>org.opendaylight.bgpcep</groupId>
17              <artifactId>bgp-bmp-api</artifactId>
18         </dependency>
19         <dependency>
20             <groupId>org.opendaylight.bgpcep</groupId>
21             <artifactId>bgp-bmp-spi</artifactId>
22         </dependency>
23         <dependency>
24             <groupId>org.opendaylight.bgpcep</groupId>
25             <artifactId>bgp-bmp-impl</artifactId>
26         </dependency>
27         <dependency>
28             <groupId>org.opendaylight.bgpcep</groupId>
29             <artifactId>bgp-bmp-parser-impl</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.bgpcep</groupId>
33             <artifactId>bgp-parser-api</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.bgpcep</groupId>
37             <artifactId>bgp-parser-spi</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.bgpcep</groupId>
41             <artifactId>bgp-parser-impl</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.bgpcep</groupId>
45             <artifactId>bgp-concepts</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.opendaylight.mdsal.model</groupId>
49             <artifactId>ietf-inet-types-2013-07-15</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.mdsal</groupId>
53             <artifactId>yang-binding</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>io.netty</groupId>
57             <artifactId>netty-transport</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.slf4j</groupId>
61             <artifactId>slf4j-api</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>ch.qos.logback</groupId>
65             <artifactId>logback-classic</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>com.google.guava</groupId>
69             <artifactId>guava</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>net.sourceforge.argparse4j</groupId>
73             <artifactId>argparse4j</artifactId>
74             <version>0.7.0</version>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>testtool-util</artifactId>
79         </dependency>
80         <!-- test-scope dependencies -->
81         <dependency>
82             <groupId>junit</groupId>
83             <artifactId>junit</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>org.mockito</groupId>
87             <artifactId>mockito-core</artifactId>
88         </dependency>
89     </dependencies>
90     <build>
91         <plugins>
92             <plugin>
93                 <groupId>org.apache.maven.plugins</groupId>
94                 <artifactId>maven-jar-plugin</artifactId>
95                 <configuration>
96                     <archive>
97                         <manifest>
98                             <mainClass>org.opendaylight.protocol.bmp.mock.BmpMock</mainClass>
99                         </manifest>
100                     </archive>
101                 </configuration>
102             </plugin>
103             <plugin>
104                 <groupId>org.apache.maven.plugins</groupId>
105                 <artifactId>maven-shade-plugin</artifactId>
106                 <configuration>
107                     <!-- to solve the exception: "Invalid signature file digest for Manifest main attributes" -->
108                     <filters>
109                         <filter>
110                             <artifact>*:*</artifact>
111                             <excludes>
112                                 <exclude>META-INF/*.SF</exclude>
113                                 <exclude>META-INF/*.DSA</exclude>
114                                 <exclude>META-INF/*.RSA</exclude>
115                             </excludes>
116                         </filter>
117                     </filters>
118                 </configuration>
119                 <executions>
120                     <execution>
121                         <phase>package</phase>
122                         <goals>
123                             <goal>shade</goal>
124                         </goals>
125                        <configuration>
126                            <transformers>
127                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
128                                <mainClass>org.opendaylight.protocol.bmp.mock.BmpMock</mainClass>
129                            </transformer>
130                            </transformers>
131                            <shadedArtifactAttached>true</shadedArtifactAttached>
132                            <shadedClassifierName>executable</shadedClassifierName>
133                        </configuration>
134                     </execution>
135                 </executions>
136             </plugin>
137         </plugins>
138  </build>
139
140   <!--
141       Maven Site Configuration
142
143       The following configuration is necessary for maven-site-plugin to
144       correctly identify the correct deployment path for OpenDaylight Maven
145       sites.
146   -->
147   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
148
149   <distributionManagement>
150     <site>
151       <id>opendaylight-site</id>
152       <url>${nexus.site.url}/${project.artifactId}/</url>
153     </site>
154   </distributionManagement>
155 </project>