1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
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>
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>odlparent</artifactId>
15 <version>14.0.0-SNAPSHOT</version>
19 <groupId>org.opendaylight.yangtools</groupId>
20 <artifactId>yang-validation-tool</artifactId>
21 <version>14.0.0-SNAPSHOT</version>
24 <!-- FIXME: fix these up and set maven.javadoc.failOnWarnings=true -->
25 <doclint>all,-missing</doclint>
28 <dependencyManagement>
31 <groupId>org.opendaylight.yangtools</groupId>
32 <artifactId>yangtools-artifacts</artifactId>
33 <version>14.0.0-SNAPSHOT</version>
38 </dependencyManagement>
42 <groupId>ch.qos.logback</groupId>
43 <artifactId>logback-classic</artifactId>
44 <scope>compile</scope>
47 <groupId>com.github.spotbugs</groupId>
48 <artifactId>spotbugs-annotations</artifactId>
51 <groupId>net.sourceforge.argparse4j</groupId>
52 <artifactId>argparse4j</artifactId>
55 <groupId>org.opendaylight.yangtools</groupId>
56 <artifactId>yang-model-api</artifactId>
59 <groupId>org.opendaylight.yangtools</groupId>
60 <artifactId>yang-test-util</artifactId>
61 <scope>compile</scope>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-shade-plugin</artifactId>
76 <phase>package</phase>
78 <!-- TODO investigate why jar fails without this
82 <artifact>*:*</artifact>
84 <exclude>META-INF/*.SF</exclude>
85 <exclude>META-INF/*.DSA</exclude>
86 <exclude>META-INF/*.RSA</exclude>
91 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
92 <mainClass>org.opendaylight.yangtools.yang.validation.tool.Main</mainClass>
95 <shadedArtifactAttached>true</shadedArtifactAttached>
96 <shadedClassifierName>executable</shadedClassifierName>