Release yangtools
[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>13.0.10</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.yangtools</groupId>
20     <artifactId>yang-validation-tool</artifactId>
21     <version>13.0.0</version>
22
23     <dependencyManagement>
24         <dependencies>
25             <dependency>
26                 <groupId>org.opendaylight.yangtools</groupId>
27                 <artifactId>yangtools-artifacts</artifactId>
28                 <version>13.0.0</version>
29                 <scope>import</scope>
30                 <type>pom</type>
31             </dependency>
32         </dependencies>
33     </dependencyManagement>
34
35     <dependencies>
36         <dependency>
37             <groupId>ch.qos.logback</groupId>
38             <artifactId>logback-classic</artifactId>
39             <scope>compile</scope>
40         </dependency>
41         <dependency>
42             <groupId>com.github.spotbugs</groupId>
43             <artifactId>spotbugs-annotations</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>net.sourceforge.argparse4j</groupId>
47             <artifactId>argparse4j</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>org.opendaylight.yangtools</groupId>
51             <artifactId>yang-model-api</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>org.opendaylight.yangtools</groupId>
55             <artifactId>yang-test-util</artifactId>
56             <scope>compile</scope>
57         </dependency>
58     </dependencies>
59
60     <build>
61         <plugins>
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-shade-plugin</artifactId>
65                 <configuration/>
66                 <executions>
67                     <execution>
68                         <goals>
69                             <goal>shade</goal>
70                         </goals>
71                         <phase>package</phase>
72                         <configuration>
73                             <!-- TODO investigate why jar fails without this
74                                 filter -->
75                             <filters>
76                                 <filter>
77                                     <artifact>*:*</artifact>
78                                     <excludes>
79                                         <exclude>META-INF/*.SF</exclude>
80                                         <exclude>META-INF/*.DSA</exclude>
81                                         <exclude>META-INF/*.RSA</exclude>
82                                     </excludes>
83                                 </filter>
84                             </filters>
85                             <transformers>
86                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
87                                     <mainClass>org.opendaylight.yangtools.yang.validation.tool.Main</mainClass>
88                                 </transformer>
89                             </transformers>
90                             <shadedArtifactAttached>true</shadedArtifactAttached>
91                             <shadedClassifierName>executable</shadedClassifierName>
92                         </configuration>
93                     </execution>
94                 </executions>
95             </plugin>
96         </plugins>
97     </build>
98
99 </project>