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