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