Merge "Bug 3051: Fixed pattern checks in generated DTOs"
[yangtools.git] / 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"
11     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <groupId>org.opendaylight.yangtools</groupId>
15         <artifactId>yangtools-aggregator</artifactId>
16         <version>0.8.0-SNAPSHOT</version>
17     </parent>
18     <artifactId>yang-validation-tool</artifactId>
19
20     <dependencies>
21         <dependency>
22             <groupId>org.opendaylight.yangtools</groupId>
23             <artifactId>yang-parser-impl</artifactId>
24         </dependency>
25         <dependency>
26             <groupId>net.sourceforge.argparse4j</groupId>
27             <artifactId>argparse4j</artifactId>
28             <version>0.4.3</version>
29         </dependency>
30         <dependency>
31             <groupId>ch.qos.logback</groupId>
32             <artifactId>logback-classic</artifactId>
33             <scope>compile</scope>
34         </dependency>
35         <dependency>
36             <groupId>com.google.guava</groupId>
37             <artifactId>guava</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.yangtools.model</groupId>
41             <artifactId>ietf-yang-types-20130715</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.yangtools.model</groupId>
45             <artifactId>ietf-inet-types</artifactId>
46         </dependency>
47     </dependencies>
48     <build>
49         <plugins>
50             <plugin>
51                 <groupId>org.apache.maven.plugins</groupId>
52                 <artifactId>maven-shade-plugin</artifactId>
53                 <configuration></configuration>
54                 <executions>
55                     <execution>
56                         <goals>
57                             <goal>shade</goal>
58                         </goals>
59                         <phase>package</phase>
60                         <configuration>
61                             <!-- TODO investigate why jar fails without this
62                                 filter -->
63                             <filters>
64                                 <filter>
65                                     <artifact>*:*</artifact>
66                                     <excludes>
67                                         <exclude>META-INF/*.SF</exclude>
68                                         <exclude>META-INF/*.DSA</exclude>
69                                         <exclude>META-INF/*.RSA</exclude>
70                                     </excludes>
71                                 </filter>
72                             </filters>
73                             <transformers>
74                                 <transformer
75                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
76                                     <mainClass>org.opendaylight.yangtools.yang.validation.tool.Main</mainClass>
77                                 </transformer>
78                             </transformers>
79                             <shadedArtifactAttached>true</shadedArtifactAttached>
80                             <shadedClassifierName>executable</shadedClassifierName>
81                         </configuration>
82                     </execution>
83                 </executions>
84             </plugin>
85         </plugins>
86     </build>
87 </project>