Bump yangtools to 2.0.0
[netconf.git] / netconf / netconf-util / 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>bundle-parent</artifactId>
15     <version>3.0.2</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.netconf</groupId>
20   <artifactId>netconf-util</artifactId>
21   <version>1.4.0-SNAPSHOT</version>
22   <name>${project.artifactId}</name>
23   <packaging>bundle</packaging>
24
25   <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>org.opendaylight.netconf</groupId>
29         <artifactId>netconf-artifacts</artifactId>
30         <version>${project.version}</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34       <dependency>
35         <groupId>org.opendaylight.yangtools</groupId>
36         <artifactId>yangtools-artifacts</artifactId>
37         <version>2.0.0</version>
38         <type>pom</type>
39         <scope>import</scope>
40       </dependency>
41       <dependency>
42         <groupId>org.opendaylight.mdsal</groupId>
43         <artifactId>mdsal-artifacts</artifactId>
44         <version>2.4.0-SNAPSHOT</version>
45         <type>pom</type>
46         <scope>import</scope>
47       </dependency>
48     </dependencies>
49   </dependencyManagement>
50
51   <dependencies>
52     <!-- compile dependencies -->
53     <dependency>
54       <groupId>${project.groupId}</groupId>
55       <artifactId>netconf-api</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>${project.groupId}</groupId>
59       <artifactId>netconf-mapping-api</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>com.google.guava</groupId>
63       <artifactId>guava</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>io.netty</groupId>
67       <artifactId>netty-handler</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.slf4j</groupId>
71       <artifactId>slf4j-api</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>xmlunit</groupId>
75       <artifactId>xmlunit</artifactId>
76       <scope>test</scope>
77     </dependency>
78    <dependency>
79       <groupId>org.opendaylight.mdsal</groupId>
80       <artifactId>mdsal-binding-generator-impl</artifactId>
81       <scope>test</scope>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.yangtools</groupId>
85       <artifactId>mockito-configuration</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.yangtools</groupId>
89       <artifactId>yang-model-api</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.yangtools</groupId>
93       <artifactId>yang-data-api</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.yangtools</groupId>
97       <artifactId>yang-data-impl</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.yangtools</groupId>
101       <artifactId>yang-data-codec-xml</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>org.osgi</groupId>
105       <artifactId>org.osgi.compendium</artifactId>
106     </dependency>
107   </dependencies>
108
109   <build>
110     <plugins>
111       <plugin>
112         <groupId>org.apache.felix</groupId>
113         <artifactId>maven-bundle-plugin</artifactId>
114         <configuration>
115           <instructions>
116             <Bundle-Activator>org.opendaylight.netconf.util.osgi.NetconfConfigurationActivator</Bundle-Activator>
117           </instructions>
118         </configuration>
119       </plugin>
120       <plugin>
121         <groupId>org.codehaus.mojo</groupId>
122         <artifactId>build-helper-maven-plugin</artifactId>
123         <executions>
124           <execution>
125             <id>attach-artifacts</id>
126             <goals>
127               <goal>attach-artifact</goal>
128             </goals>
129             <phase>package</phase>
130             <configuration>
131               <artifacts>
132                 <artifact>
133                   <file>${project.build.directory}/classes/netconf.cfg</file>
134                   <type>cfg</type>
135                   <classifier>config</classifier>
136                 </artifact>
137               </artifacts>
138             </configuration>
139           </execution>
140         </executions>
141       </plugin>
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-jar-plugin</artifactId>
145         <executions>
146           <execution>
147             <goals>
148               <goal>test-jar</goal>
149             </goals>
150             <phase>package</phase>
151           </execution>
152         </executions>
153       </plugin>
154       <plugin>
155         <groupId>org.apache.maven.plugins</groupId>
156         <artifactId>maven-checkstyle-plugin</artifactId>
157         <configuration>
158           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
159         </configuration>
160       </plugin>
161     </plugins>
162   </build>
163
164 </project>