BUG-6522: share instances of Config(Effective)Statement
[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.odlparent</groupId>
15         <artifactId>odlparent</artifactId>
16         <version>1.7.1-SNAPSHOT</version>
17         <relativePath/>
18     </parent>
19
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yang-validation-tool</artifactId>
22     <version>1.0.1-SNAPSHOT</version>
23
24     <dependencyManagement>
25         <dependencies>
26             <dependency>
27                 <groupId>org.opendaylight.yangtools</groupId>
28                 <artifactId>yangtools-artifacts</artifactId>
29                 <version>1.0.1-SNAPSHOT</version>
30                 <scope>import</scope>
31                 <type>pom</type>
32             </dependency>
33         </dependencies>
34     </dependencyManagement>
35
36     <dependencies>
37         <dependency>
38             <groupId>org.opendaylight.yangtools</groupId>
39             <artifactId>yang-parser-impl</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>net.sourceforge.argparse4j</groupId>
43             <artifactId>argparse4j</artifactId>
44             <version>0.6.0</version>
45         </dependency>
46         <dependency>
47             <groupId>ch.qos.logback</groupId>
48             <artifactId>logback-classic</artifactId>
49             <scope>compile</scope>
50         </dependency>
51         <dependency>
52             <groupId>com.google.guava</groupId>
53             <artifactId>guava</artifactId>
54         </dependency>
55     </dependencies>
56
57     <build>
58         <plugins>
59             <plugin>
60                 <groupId>org.apache.maven.plugins</groupId>
61                 <artifactId>maven-shade-plugin</artifactId>
62                 <configuration></configuration>
63                 <executions>
64                     <execution>
65                         <goals>
66                             <goal>shade</goal>
67                         </goals>
68                         <phase>package</phase>
69                         <configuration>
70                             <!-- TODO investigate why jar fails without this
71                                 filter -->
72                             <filters>
73                                 <filter>
74                                     <artifact>*:*</artifact>
75                                     <excludes>
76                                         <exclude>META-INF/*.SF</exclude>
77                                         <exclude>META-INF/*.DSA</exclude>
78                                         <exclude>META-INF/*.RSA</exclude>
79                                     </excludes>
80                                 </filter>
81                             </filters>
82                             <transformers>
83                                 <transformer
84                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
85                                     <mainClass>org.opendaylight.yangtools.yang.validation.tool.Main</mainClass>
86                                 </transformer>
87                             </transformers>
88                             <shadedArtifactAttached>true</shadedArtifactAttached>
89                             <shadedClassifierName>executable</shadedClassifierName>
90                         </configuration>
91                     </execution>
92                 </executions>
93             </plugin>
94         </plugins>
95     </build>
96
97   <!--
98       Maven Site Configuration
99
100       The following configuration is necessary for maven-site-plugin to
101       correctly identify the correct deployment path for OpenDaylight Maven
102       sites.
103   -->
104   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
105
106   <distributionManagement>
107     <site>
108       <id>opendaylight-site</id>
109       <url>${nexus.site.url}/${project.artifactId}/</url>
110     </site>
111   </distributionManagement>
112 </project>