Merge "Address comments from blueprint patches"
[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.8.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.netconf</groupId>
20   <artifactId>netconf-cli</artifactId>
21   <version>1.2.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>${project.groupId}</groupId>
91       <artifactId>netconf-client</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.mdsal</groupId>
95       <artifactId>yang-binding</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>com.google.guava</groupId>
99       <artifactId>guava</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>junit</groupId>
103       <artifactId>junit</artifactId>
104     </dependency>
105   </dependencies>
106
107   <build>
108     <plugins>
109       <plugin>
110         <groupId>org.apache.maven.plugins</groupId>
111         <artifactId>maven-jar-plugin</artifactId>
112         <configuration>
113           <archive>
114             <manifest>
115               <mainClass>org.opendaylight.netconf.cli.Main</mainClass>
116             </manifest>
117           </archive>
118         </configuration>
119       </plugin>
120       <plugin>
121         <groupId>org.apache.maven.plugins</groupId>
122         <artifactId>maven-shade-plugin</artifactId>
123         <configuration></configuration>
124         <executions>
125           <execution>
126             <goals>
127               <goal>shade</goal>
128             </goals>
129             <phase>package</phase>
130             <configuration>
131               <transformers>
132                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
133                   <mainClass>org.opendaylight.netconf.cli.Main</mainClass>
134                 </transformer>
135               </transformers>
136               <shadedArtifactAttached>true</shadedArtifactAttached>
137               <shadedClassifierName>executable</shadedClassifierName>
138             </configuration>
139           </execution>
140         </executions>
141       </plugin>
142     </plugins>
143   </build>
144 </project>