blob: ed6cb56f8560d1de4d5dda7fcb547fa2c2fcaec2 [file] [log] [blame]
Dan Timoney2a93b9d2017-07-18 19:40:01 -04001<?xml version="1.0" encoding="UTF-8"?>
2<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">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>sliapi</artifactId>
Dan Timoneyc95543b2017-07-21 10:45:06 -04006 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney0dcd7f02017-11-08 17:10:13 -05007 <version>0.1.3-SNAPSHOT</version>
Dan Timoney2a93b9d2017-07-18 19:40:01 -04008 </parent>
9 <artifactId>sliapi-model</artifactId>
10 <packaging>bundle</packaging>
11
12 <build>
13
14 <plugins>
15 <plugin>
16 <groupId>org.apache.felix</groupId>
17 <artifactId>maven-bundle-plugin</artifactId>
18 <extensions>true</extensions>
19 <configuration>
20 <instructions>
21 <Import-Package>*</Import-Package>
22 </instructions>
23 </configuration>
24 </plugin>
25 <plugin>
26 <groupId>org.opendaylight.yangtools</groupId>
27 <artifactId>yang-maven-plugin</artifactId>
28 <version>${odl.yangtools.yang.maven.plugin.version}</version>
29 <dependencies>
30 <dependency>
31 <groupId>org.opendaylight.mdsal</groupId>
32 <artifactId>maven-sal-api-gen-plugin</artifactId>
33 <version>${odl.sal.api.gen.plugin.version}</version>
34 <type>jar</type>
35 </dependency>
Dan Timoney312f6a32017-10-11 11:01:38 -040036 <dependency>
37 <groupId>org.opendaylight.netconf</groupId>
38 <artifactId>sal-rest-docgen-maven</artifactId>
39 <version>${odl.restconf.version}</version>
40 <type>jar</type>
41 </dependency>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040042 </dependencies>
43 <executions>
44 <execution>
45 <goals>
46 <goal>generate-sources</goal>
47 </goals>
48 <configuration>
49 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
50 <codeGenerators>
51 <generator>
Dan Timoneyf84d3ea2017-08-11 20:12:41 -040052 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040053 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
54 </generator>
Dan Timoney312f6a32017-10-11 11:01:38 -040055 <generator>
56 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
57 <outputBaseDir>target/swagger</outputBaseDir>
58 </generator>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040059 </codeGenerators>
60 <inspectDependencies>true</inspectDependencies>
61 </configuration>
62 </execution>
63 </executions>
64 </plugin>
65 </plugins>
66 </build>
67 <dependencies>
68 <dependency>
69 <groupId>org.opendaylight.mdsal</groupId>
70 <artifactId>yang-binding</artifactId>
71 <version>${odl.mdsal.yang.binding.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.opendaylight.yangtools</groupId>
75 <artifactId>yang-common</artifactId>
76 <version>${odl.yangtools.version}</version>
77 </dependency>
78 <dependency>
79 <groupId>org.opendaylight.mdsal.model</groupId>
80 <artifactId>ietf-inet-types</artifactId>
81 <version>${odl.ietf-inet-types.version}</version>
82 </dependency>
83 <dependency>
84 <groupId>org.opendaylight.mdsal.model</groupId>
85 <artifactId>ietf-yang-types</artifactId>
86 <version>${odl.ietf-yang-types.version}</version>
87 </dependency>
88 </dependencies>
89</project>