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>
5 <groupId>org.opendaylight.l2switch</groupId>
6 <artifactId>l2switch-parent</artifactId>
7 <version>0.4.0-SNAPSHOT</version>
8 <relativePath>../../parent</relativePath>
10 <groupId>org.opendaylight.l2switch.loopremover</groupId>
11 <artifactId>loopremover-model</artifactId>
12 <packaging>bundle</packaging>
16 <groupId>org.opendaylight.controller.model</groupId>
17 <artifactId>model-inventory</artifactId>
20 <groupId>org.opendaylight.yangtools</groupId>
21 <artifactId>yang-common</artifactId>
24 <groupId>org.opendaylight.mdsal.model</groupId>
25 <artifactId>ietf-yang-types-20130715</artifactId>
32 <groupId>org.apache.felix</groupId>
33 <artifactId>maven-bundle-plugin</artifactId>
34 <extensions>true</extensions>
37 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
38 <Import-Package>org.opendaylight.yangtools.yang.binding.annotations, *</Import-Package>
39 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
44 <groupId>org.opendaylight.yangtools</groupId>
45 <artifactId>yang-maven-plugin</artifactId>
46 <version>${yangtools.version}</version>
49 <groupId>org.opendaylight.mdsal</groupId>
50 <artifactId>maven-sal-api-gen-plugin</artifactId>
51 <version>${mdsal.model.version}</version>
55 <groupId>org.opendaylight.mdsal</groupId>
56 <artifactId>yang-binding</artifactId>
57 <version>${mdsal.model.version}</version>
64 <goal>generate-sources</goal>
67 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
70 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
71 <outputBaseDir>${codeGeneratorPath}</outputBaseDir>
74 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
75 <outputBaseDir>target/site/models</outputBaseDir>
78 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
79 <outputBaseDir>target/site/models</outputBaseDir>
82 <inspectDependencies>true</inspectDependencies>
88 <!-- cleans up auto generated code -->
90 <artifactId>maven-clean-plugin</artifactId>
94 <directory>${codeGeneratorPath}</directory>
100 <directory>${codeGeneratorPath}</directory>
102 <include>**</include>