f0be99b87e93117972971ad1ac678cfadbd411f0
[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   <properties>
24     <sonar.skip>true</sonar.skip>
25   </properties>
26
27   <dependencyManagement>
28     <dependencies>
29       <dependency>
30         <groupId>org.opendaylight.netconf</groupId>
31         <artifactId>netconf-subsystem</artifactId>
32         <version>${project.version}</version>
33         <type>pom</type>
34         <scope>import</scope>
35       </dependency>
36     </dependencies>
37   </dependencyManagement>
38
39   <dependencies>
40     <dependency>
41       <groupId>ch.qos.logback</groupId>
42       <artifactId>logback-classic</artifactId>
43       <!--TODO configure properly -->
44     </dependency>
45     <dependency>
46       <groupId>jline</groupId>
47       <artifactId>jline</artifactId>
48       <version>2.11</version>
49     </dependency>
50     <dependency>
51       <groupId>net.sourceforge.argparse4j</groupId>
52       <artifactId>argparse4j</artifactId>
53       <version>0.4.3</version>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>sal-core-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>sal-netconf-connector</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.yangtools</groupId>
65       <artifactId>mockito-configuration</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.yangtools</groupId>
69       <artifactId>yang-data-impl</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.yangtools</groupId>
73       <artifactId>yang-model-api</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.yangtools</groupId>
77       <artifactId>yang-parser-impl</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.yangtools</groupId>
81       <artifactId>yang-data-api</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.yangtools</groupId>
85       <artifactId>yang-common</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>${project.groupId}</groupId>
89       <artifactId>netconf-client</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.mdsal</groupId>
93       <artifactId>yang-binding</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>com.google.guava</groupId>
97       <artifactId>guava</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>junit</groupId>
101       <artifactId>junit</artifactId>
102     </dependency>
103   </dependencies>
104
105   <build>
106     <plugins>
107       <plugin>
108         <groupId>org.apache.maven.plugins</groupId>
109         <artifactId>maven-jar-plugin</artifactId>
110         <configuration>
111           <archive>
112             <manifest>
113               <mainClass>org.opendaylight.netconf.cli.Main</mainClass>
114             </manifest>
115           </archive>
116         </configuration>
117       </plugin>
118       <plugin>
119         <groupId>org.apache.maven.plugins</groupId>
120         <artifactId>maven-shade-plugin</artifactId>
121         <configuration></configuration>
122         <executions>
123           <execution>
124             <goals>
125               <goal>shade</goal>
126             </goals>
127             <phase>package</phase>
128             <configuration>
129               <transformers>
130                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
131                   <mainClass>org.opendaylight.netconf.cli.Main</mainClass>
132                 </transformer>
133               </transformers>
134               <shadedArtifactAttached>true</shadedArtifactAttached>
135               <shadedClassifierName>executable</shadedClassifierName>
136             </configuration>
137           </execution>
138         </executions>
139       </plugin>
140     </plugins>
141   </build>
142 </project>