blob: 7d7e4c982b1fa7f043305a896d9bef96f132e76e [file] [log] [blame]
Dan Timoneyd8861012017-02-15 14:30:39 -05001<?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>
6 <groupId>org.openecomp.sdnc.core</groupId>
Dan Timoney6706a2c2017-03-15 10:36:08 -04007 <version>1.1.0-SNAPSHOT</version>
Dan Timoneyd8861012017-02-15 14:30:39 -05008 </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>
Dan Timoney974b67d2017-03-31 15:03:13 -040033 <version>${odl.sal.api.gen.plugin.version}</version>
Dan Timoneyd8861012017-02-15 14:30:39 -050034 <type>jar</type>
35 </dependency>
36 </dependencies>
37 <executions>
38 <execution>
39 <goals>
40 <goal>generate-sources</goal>
41 </goals>
42 <configuration>
43 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
44 <codeGenerators>
45 <generator>
46 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
47 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
48 </generator>
49 </codeGenerators>
50 <inspectDependencies>true</inspectDependencies>
51 </configuration>
52 </execution>
53 </executions>
54 </plugin>
55 </plugins>
56 </build>
57 <dependencies>
58 <dependency>
59 <groupId>org.opendaylight.mdsal</groupId>
60 <artifactId>yang-binding</artifactId>
Dan Timoney974b67d2017-03-31 15:03:13 -040061 <version>${odl.mdsal.yang.binding.version}</version>
Dan Timoneyd8861012017-02-15 14:30:39 -050062 </dependency>
63 <dependency>
64 <groupId>org.opendaylight.yangtools</groupId>
65 <artifactId>yang-common</artifactId>
66 <version>${odl.yangtools.version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.opendaylight.mdsal.model</groupId>
70 <artifactId>ietf-inet-types</artifactId>
71 <version>${odl.ietf-inet-types.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.opendaylight.mdsal.model</groupId>
75 <artifactId>ietf-yang-types</artifactId>
76 <version>${odl.ietf-yang-types.version}</version>
77 </dependency>
78 </dependencies>
79</project>