136424f46SEd Warnicke<?xml version="1.0" encoding="UTF-8"?>
236424f46SEd Warnicke<!--
336424f46SEd Warnicke Copyright (c) 2015 Cisco and/or its affiliates.
436424f46SEd Warnicke Licensed under the Apache License, Version 2.0 (the "License");
536424f46SEd Warnicke you may not use this file except in compliance with the License.
636424f46SEd Warnicke You may obtain a copy of the License at:
736424f46SEd Warnicke
836424f46SEd Warnicke     http://www.apache.org/licenses/LICENSE-2.0
936424f46SEd Warnicke
1036424f46SEd Warnicke Unless required by applicable law or agreed to in writing, software
1136424f46SEd Warnicke distributed under the License is distributed on an "AS IS" BASIS,
1236424f46SEd Warnicke WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1336424f46SEd Warnicke See the License for the specific language governing permissions and
1436424f46SEd Warnicke limitations under the License.
1536424f46SEd Warnicke-->
1636424f46SEd Warnicke<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">
175cfbc703SMaros Marsalek
1836424f46SEd Warnicke  <parent>
195cfbc703SMaros Marsalek    <groupId>io.fd.honeycomb.common</groupId>
205cfbc703SMaros Marsalek    <artifactId>honeycomb-parent</artifactId>
21b52cda3fSMichal Cmarada    <version>1.19.08-SNAPSHOT</version>
225cfbc703SMaros Marsalek    <relativePath>../honeycomb-parent</relativePath>
2336424f46SEd Warnicke  </parent>
2436424f46SEd Warnicke
2536424f46SEd Warnicke  <modelVersion>4.0.0</modelVersion>
2636424f46SEd Warnicke  <artifactId>api-parent</artifactId>
27bc335de4SMaros Marsalek  <name>${project.artifactId}</name>
28b52cda3fSMichal Cmarada  <version>1.19.08-SNAPSHOT</version>
2936424f46SEd Warnicke  <packaging>pom</packaging>
30d8514c6bSMaros Marsalek
31556a0f59SMichal Cmarada  <properties>
32a7a8f982SMichal Cmarada    <annotations.version>3.0.1</annotations.version>
33556a0f59SMichal Cmarada  </properties>
34556a0f59SMichal Cmarada
3536424f46SEd Warnicke  <build>
365cfbc703SMaros Marsalek    <pluginManagement>
37d8514c6bSMaros Marsalek      <plugins>
385cfbc703SMaros Marsalek        <!-- Yangtools, generate yang -->
39dddc1d22SMaros Marsalek        <plugin>
405cfbc703SMaros Marsalek          <groupId>org.opendaylight.yangtools</groupId>
415cfbc703SMaros Marsalek          <artifactId>yang-maven-plugin</artifactId>
420f92e8f1SMarek Gradzki          <version>${odl.yangtools.version}</version>
43dddc1d22SMaros Marsalek          <dependencies>
44dddc1d22SMaros Marsalek            <dependency>
455cfbc703SMaros Marsalek              <groupId>org.opendaylight.mdsal</groupId>
465cfbc703SMaros Marsalek              <artifactId>maven-sal-api-gen-plugin</artifactId>
470f92e8f1SMarek Gradzki              <version>${odl.salGenerator.version}</version>
485cfbc703SMaros Marsalek              <type>jar</type>
49dddc1d22SMaros Marsalek            </dependency>
50dddc1d22SMaros Marsalek          </dependencies>
515cfbc703SMaros Marsalek          <executions>
525cfbc703SMaros Marsalek            <execution>
535cfbc703SMaros Marsalek              <id>binding</id>
545cfbc703SMaros Marsalek              <goals>
555cfbc703SMaros Marsalek                <goal>generate-sources</goal>
565cfbc703SMaros Marsalek              </goals>
575cfbc703SMaros Marsalek              <configuration>
585cfbc703SMaros Marsalek                <codeGenerators>
595cfbc703SMaros Marsalek                  <generator>
60fd692c20SMarek Gradzki                    <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
615cfbc703SMaros Marsalek                    <outputBaseDir>${salGeneratorPath}</outputBaseDir>
625cfbc703SMaros Marsalek                  </generator>
635cfbc703SMaros Marsalek                </codeGenerators>
645cfbc703SMaros Marsalek                <inspectDependencies>true</inspectDependencies>
655cfbc703SMaros Marsalek              </configuration>
665cfbc703SMaros Marsalek            </execution>
675cfbc703SMaros Marsalek          </executions>
685cfbc703SMaros Marsalek        </plugin>
695cfbc703SMaros Marsalek        <plugin>
705cfbc703SMaros Marsalek          <artifactId>maven-clean-plugin</artifactId>
715cfbc703SMaros Marsalek          <configuration>
725cfbc703SMaros Marsalek            <filesets>
735cfbc703SMaros Marsalek              <fileset>
745cfbc703SMaros Marsalek                <directory>${salGeneratorPath}</directory>
755cfbc703SMaros Marsalek                <includes>
765cfbc703SMaros Marsalek                  <include>**</include>
775cfbc703SMaros Marsalek                </includes>
785cfbc703SMaros Marsalek              </fileset>
795cfbc703SMaros Marsalek            </filesets>
805cfbc703SMaros Marsalek          </configuration>
81dddc1d22SMaros Marsalek        </plugin>
825cfbc703SMaros Marsalek        <!-- add generated yang classes to build -->
835cfbc703SMaros Marsalek        <plugin>
845cfbc703SMaros Marsalek          <groupId>org.codehaus.mojo</groupId>
855cfbc703SMaros Marsalek          <artifactId>build-helper-maven-plugin</artifactId>
865cfbc703SMaros Marsalek          <executions>
875cfbc703SMaros Marsalek            <execution>
885cfbc703SMaros Marsalek              <id>add-yang-sources</id>
895cfbc703SMaros Marsalek              <phase>generate-sources</phase>
905cfbc703SMaros Marsalek              <goals>
915cfbc703SMaros Marsalek                <goal>add-source</goal>
925cfbc703SMaros Marsalek              </goals>
935cfbc703SMaros Marsalek              <configuration>
945cfbc703SMaros Marsalek                <sources>
955cfbc703SMaros Marsalek                  <source>${salGeneratorPath}</source>
965cfbc703SMaros Marsalek                </sources>
975cfbc703SMaros Marsalek              </configuration>
985cfbc703SMaros Marsalek            </execution>
995cfbc703SMaros Marsalek          </executions>
1005cfbc703SMaros Marsalek        </plugin>
1015cfbc703SMaros Marsalek      </plugins>
1025cfbc703SMaros Marsalek    </pluginManagement>
1035cfbc703SMaros Marsalek    <plugins>
1045cfbc703SMaros Marsalek      <plugin>
1055cfbc703SMaros Marsalek        <groupId>org.opendaylight.yangtools</groupId>
1065cfbc703SMaros Marsalek        <artifactId>yang-maven-plugin</artifactId>
1075cfbc703SMaros Marsalek      </plugin>
1085cfbc703SMaros Marsalek      <plugin>
1095cfbc703SMaros Marsalek        <groupId>org.codehaus.mojo</groupId>
1105cfbc703SMaros Marsalek        <artifactId>build-helper-maven-plugin</artifactId>
1115cfbc703SMaros Marsalek      </plugin>
11236424f46SEd Warnicke    </plugins>
11336424f46SEd Warnicke  </build>
114b1390876SRobert Varga
1155cfbc703SMaros Marsalek  <dependencies>
1165cfbc703SMaros Marsalek    <dependency>
1175cfbc703SMaros Marsalek      <groupId>org.opendaylight.mdsal</groupId>
1185cfbc703SMaros Marsalek      <artifactId>yang-binding</artifactId>
1195cfbc703SMaros Marsalek    </dependency>
1205cfbc703SMaros Marsalek    <dependency>
1215cfbc703SMaros Marsalek      <groupId>org.opendaylight.yangtools</groupId>
1225cfbc703SMaros Marsalek      <artifactId>yang-common</artifactId>
1235cfbc703SMaros Marsalek    </dependency>
124556a0f59SMichal Cmarada    <dependency>
125556a0f59SMichal Cmarada      <groupId>com.google.code.findbugs</groupId>
126556a0f59SMichal Cmarada      <artifactId>annotations</artifactId>
127556a0f59SMichal Cmarada      <version>${annotations.version}</version>
128556a0f59SMichal Cmarada    </dependency>
1295cfbc703SMaros Marsalek  </dependencies>
13036424f46SEd Warnicke</project>
131