Bump odlparent to 12.0.0
[yangtools.git] / tools / yang-validation-tool / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2015 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>odlparent</artifactId>
15         <version>12.0.0</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.yangtools</groupId>
20     <artifactId>yang-validation-tool</artifactId>
21     <version>10.0.0-SNAPSHOT</version>
22
23     <dependencyManagement>
24         <dependencies>
25             <dependency>
26                 <groupId>org.opendaylight.yangtools</groupId>
27                 <artifactId>yangtools-artifacts</artifactId>
28                 <version>10.0.0-SNAPSHOT</version>
29                 <scope>import</scope>
30                 <type>pom</type>
31             </dependency>
32         </dependencies>
33     </dependencyManagement>
34
35     <dependencies>
36         <dependency>
37             <groupId>com.google.guava</groupId>
38             <artifactId>guava</artifactId>
39         </dependency>
40         <dependency>
41             <groupId>org.opendaylight.yangtools</groupId>
42             <artifactId>yang-test-util</artifactId>
43             <scope>compile</scope>
44         </dependency>
45         <dependency>
46             <groupId>net.sourceforge.argparse4j</groupId>
47             <artifactId>argparse4j</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>ch.qos.logback</groupId>
51             <artifactId>logback-classic</artifactId>
52             <scope>compile</scope>
53         </dependency>
54     </dependencies>
55
56     <build>
57         <plugins>
58             <plugin>
59                 <groupId>org.apache.maven.plugins</groupId>
60                 <artifactId>maven-shade-plugin</artifactId>
61                 <configuration/>
62                 <executions>
63                     <execution>
64                         <goals>
65                             <goal>shade</goal>
66                         </goals>
67                         <phase>package</phase>
68                         <configuration>
69                             <!-- TODO investigate why jar fails without this
70                                 filter -->
71                             <filters>
72                                 <filter>
73                                     <artifact>*:*</artifact>
74                                     <excludes>
75                                         <exclude>META-INF/*.SF</exclude>
76                                         <exclude>META-INF/*.DSA</exclude>
77                                         <exclude>META-INF/*.RSA</exclude>
78                                     </excludes>
79                                 </filter>
80                             </filters>
81                             <transformers>
82                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
83                                     <mainClass>org.opendaylight.yangtools.yang.validation.tool.Main</mainClass>
84                                 </transformer>
85                             </transformers>
86                             <shadedArtifactAttached>true</shadedArtifactAttached>
87                             <shadedClassifierName>executable</shadedClassifierName>
88                         </configuration>
89                     </execution>
90                 </executions>
91             </plugin>
92         </plugins>
93     </build>
94
95 </project>