Merge "Bug 8988 - Check for empty payload properly"
[netconf.git] / netconf / netconf-topology-config / 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"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13
14     <parent>
15         <groupId>org.opendaylight.odlparent</groupId>
16         <artifactId>bundle-parent</artifactId>
17         <version>2.0.4</version>
18         <relativePath/>
19     </parent>
20
21     <groupId>org.opendaylight.netconf</groupId>
22     <artifactId>netconf-topology-config</artifactId>
23     <version>1.4.0-SNAPSHOT</version>
24     <description>Configuration files for netconf topology</description>
25     <packaging>bundle</packaging>
26
27     <dependencyManagement>
28         <dependencies>
29             <dependency>
30                 <groupId>org.opendaylight.netconf</groupId>
31                 <artifactId>netconf-artifacts</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>${project.groupId}</groupId>
42             <artifactId>netconf-topology</artifactId>
43         </dependency>
44     </dependencies>
45
46     <build>
47         <plugins>
48             <plugin>
49                 <groupId>org.apache.felix</groupId>
50                 <artifactId>maven-bundle-plugin</artifactId>
51                 <extensions>true</extensions>
52                 <configuration>
53                     <instructions>
54                         <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
55                         <Embed-Dependency>netconf-topology</Embed-Dependency>
56                     </instructions>
57                 </configuration>
58             </plugin>
59             <plugin>
60                 <groupId>org.codehaus.mojo</groupId>
61                 <artifactId>build-helper-maven-plugin</artifactId>
62                 <executions>
63                     <execution>
64                         <id>attach-artifacts</id>
65                         <goals>
66                             <goal>attach-artifact</goal>
67                         </goals>
68                         <phase>package</phase>
69                         <configuration>
70                             <artifacts>
71                                 <artifact>
72                                     <file>${project.build.directory}/classes/initial/odl-sb-netconf-client-keypair.cfg
73                                     </file>
74                                     <type>cfg</type>
75                                     <classifier>config</classifier>
76                                 </artifact>
77                             </artifacts>
78                         </configuration>
79                     </execution>
80                 </executions>
81             </plugin>
82         </plugins>
83     </build>
84 </project>