Migrate to odlparent 1.9.0
[netconf.git] / netconf / tools / netconf-cli / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.odlparent</groupId>
14     <artifactId>odlparent</artifactId>
15     <version>1.9.0</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.netconf</groupId>
20   <artifactId>netconf-cli</artifactId>
21   <version>1.3.0-SNAPSHOT</version>
22   <packaging>jar</packaging>
23   <name>${project.artifactId}</name>
24
25   <properties>
26     <sonar.skip>true</sonar.skip>
27   </properties>
28
29   <dependencyManagement>
30     <dependencies>
31       <dependency>
32         <groupId>org.opendaylight.netconf</groupId>
33         <artifactId>netconf-subsystem</artifactId>
34         <version>${project.version}</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38     </dependencies>
39   </dependencyManagement>
40
41   <dependencies>
42     <dependency>
43       <groupId>ch.qos.logback</groupId>
44       <artifactId>logback-classic</artifactId>
45       <!--TODO configure properly -->
46     </dependency>
47     <dependency>
48       <groupId>jline</groupId>
49       <artifactId>jline</artifactId>
50       <version>2.11</version>
51     </dependency>
52     <dependency>
53       <groupId>net.sourceforge.argparse4j</groupId>
54       <artifactId>argparse4j</artifactId>
55       <version>0.4.3</version>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.controller</groupId>
59       <artifactId>sal-core-api</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>${project.groupId}</groupId>
63       <artifactId>sal-netconf-connector</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.yangtools</groupId>
67       <artifactId>mockito-configuration</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.yangtools</groupId>
71       <artifactId>yang-data-impl</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.yangtools</groupId>
75       <artifactId>yang-model-api</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.yangtools</groupId>
79       <artifactId>yang-parser-impl</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.yangtools</groupId>
83       <artifactId>yang-data-api</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.yangtools</groupId>
87       <artifactId>yang-common</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.yangtools</groupId>
91       <artifactId>yang-test-util</artifactId>
92       <scope>compile</scope>
93     </dependency>
94     <dependency>
95       <groupId>${project.groupId}</groupId>
96       <artifactId>netconf-client</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.mdsal</groupId>
100       <artifactId>yang-binding</artifactId>
101     </dependency>
102     <dependency>
103       <groupId>com.google.guava</groupId>
104       <artifactId>guava</artifactId>
105     </dependency>
106     <dependency>
107       <groupId>junit</groupId>
108       <artifactId>junit</artifactId>
109     </dependency>
110   </dependencies>
111
112   <build>
113     <plugins>
114       <plugin>
115         <groupId>org.apache.maven.plugins</groupId>
116         <artifactId>maven-jar-plugin</artifactId>
117         <configuration>
118           <archive>
119             <manifest>
120               <mainClass>org.opendaylight.netconf.cli.Main</mainClass>
121             </manifest>
122           </archive>
123         </configuration>
124       </plugin>
125       <plugin>
126         <groupId>org.apache.maven.plugins</groupId>
127         <artifactId>maven-shade-plugin</artifactId>
128         <configuration></configuration>
129         <executions>
130           <execution>
131             <goals>
132               <goal>shade</goal>
133             </goals>
134             <phase>package</phase>
135             <configuration>
136               <transformers>
137                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
138                   <mainClass>org.opendaylight.netconf.cli.Main</mainClass>
139                 </transformer>
140               </transformers>
141               <shadedArtifactAttached>true</shadedArtifactAttached>
142               <shadedClassifierName>executable</shadedClassifierName>
143             </configuration>
144           </execution>
145         </executions>
146       </plugin>
147       <plugin>
148         <groupId>org.apache.maven.plugins</groupId>
149         <artifactId>maven-checkstyle-plugin</artifactId>
150         <configuration>
151           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
152         </configuration>
153       </plugin>
154     </plugins>
155   </build>
156 </project>