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 | f84d3ea | 2017-08-11 20:12:41 -0400 | [diff] [blame^] | 7 | <version>0.1.0-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> |
| 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> |
Dan Timoney | f84d3ea | 2017-08-11 20:12:41 -0400 | [diff] [blame^] | 46 | <!-- |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 47 | <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
Dan Timoney | f84d3ea | 2017-08-11 20:12:41 -0400 | [diff] [blame^] | 48 | --> |
| 49 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 50 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 51 | </generator> |
| 52 | </codeGenerators> |
| 53 | <inspectDependencies>true</inspectDependencies> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | </plugin> |
| 58 | </plugins> |
| 59 | </build> |
| 60 | <dependencies> |
| 61 | <dependency> |
| 62 | <groupId>org.opendaylight.mdsal</groupId> |
| 63 | <artifactId>yang-binding</artifactId> |
| 64 | <version>${odl.mdsal.yang.binding.version}</version> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.opendaylight.yangtools</groupId> |
| 68 | <artifactId>yang-common</artifactId> |
| 69 | <version>${odl.yangtools.version}</version> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 73 | <artifactId>ietf-inet-types</artifactId> |
| 74 | <version>${odl.ietf-inet-types.version}</version> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 78 | <artifactId>ietf-yang-types</artifactId> |
| 79 | <version>${odl.ietf-yang-types.version}</version> |
| 80 | </dependency> |
| 81 | </dependencies> |
| 82 | </project> |