Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [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" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <parent> |
| 6 | <artifactId>appc-oam</artifactId> |
| 7 | <groupId>org.openecomp.appc</groupId> |
Jessica Wagantall | 6536799 | 2017-11-16 17:22:13 -0800 | [diff] [blame^] | 8 | <version>1.3.0-SNAPSHOT</version> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 9 | </parent> |
| 10 | <artifactId>appc-oam-model</artifactId> |
| 11 | <packaging>bundle</packaging> |
| 12 | |
| 13 | <build> |
| 14 | |
| 15 | <plugins> |
| 16 | <plugin> |
| 17 | <groupId>org.apache.felix</groupId> |
| 18 | <artifactId>maven-bundle-plugin</artifactId> |
| 19 | <extensions>true</extensions> |
| 20 | <configuration> |
| 21 | <instructions> |
| 22 | <Import-Package>*</Import-Package> |
| 23 | </instructions> |
| 24 | </configuration> |
| 25 | </plugin> |
| 26 | <plugin> |
| 27 | <groupId>org.opendaylight.yangtools</groupId> |
| 28 | <artifactId>yang-maven-plugin</artifactId> |
| 29 | <version>${odl.yangtools.version}</version> |
| 30 | <dependencies> |
| 31 | <dependency> |
| 32 | <groupId>org.opendaylight.mdsal</groupId> |
| 33 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 34 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 35 | <type>jar</type> |
| 36 | </dependency> |
| 37 | </dependencies> |
| 38 | <executions> |
| 39 | <execution> |
| 40 | <goals> |
| 41 | <goal>generate-sources</goal> |
| 42 | </goals> |
| 43 | <configuration> |
| 44 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 45 | <codeGenerators> |
| 46 | <generator> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 47 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 48 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 49 | </generator> |
| 50 | </codeGenerators> |
| 51 | <inspectDependencies>true</inspectDependencies> |
| 52 | </configuration> |
| 53 | </execution> |
| 54 | </executions> |
| 55 | </plugin> |
| 56 | <plugin> |
| 57 | <groupId>org.apache.maven.plugins</groupId> |
| 58 | <artifactId>maven-install-plugin</artifactId> |
| 59 | <version>2.5.2</version> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <id>yang</id> |
| 63 | <phase>initialize</phase> |
| 64 | <goals> |
| 65 | <goal>install-file</goal> |
| 66 | </goals> |
| 67 | <configuration> |
| 68 | <file>${project.basedir}/src/main/yang/appc-oam.yang</file> |
| 69 | <groupId>${project.groupId}</groupId> |
| 70 | <artifactId>${project.artifactId}</artifactId> |
| 71 | <version>${project.version}</version> |
| 72 | <packaging>yang</packaging> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | </plugins> |
| 78 | |
| 79 | </build> |
| 80 | <dependencies> |
| 81 | <dependency> |
| 82 | <groupId>org.opendaylight.mdsal</groupId> |
| 83 | <artifactId>yang-binding</artifactId> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.opendaylight.yangtools</groupId> |
| 87 | <artifactId>yang-common</artifactId> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 91 | <artifactId>ietf-inet-types</artifactId> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 95 | <artifactId>ietf-yang-types</artifactId> |
| 96 | </dependency> |
| 97 | </dependencies> |
| 98 | </project> |