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