Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 1 | <?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 Timoney | c95543b | 2017-07-21 10:45:06 -0400 | [diff] [blame] | 6 | <groupId>org.onap.ccsdk.sli.core</groupId> |
Dan Timoney | 0dcd7f0 | 2017-11-08 17:10:13 -0500 | [diff] [blame^] | 7 | <version>0.1.3-SNAPSHOT</version> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 8 | </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 Timoney | 312f6a3 | 2017-10-11 11:01:38 -0400 | [diff] [blame] | 36 | <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 Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 42 | </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 Timoney | f84d3ea | 2017-08-11 20:12:41 -0400 | [diff] [blame] | 52 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 53 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 54 | </generator> |
Dan Timoney | 312f6a3 | 2017-10-11 11:01:38 -0400 | [diff] [blame] | 55 | <generator> |
| 56 | <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass> |
| 57 | <outputBaseDir>target/swagger</outputBaseDir> |
| 58 | </generator> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 59 | </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> |