Remove binding spec2
[mdsal.git] / binding2 / mdsal-model-binding2-parent / pom.xml
diff --git a/binding2/mdsal-model-binding2-parent/pom.xml b/binding2/mdsal-model-binding2-parent/pom.xml
deleted file mode 100644 (file)
index 8229f27..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
- Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
-
- This program and the accompanying materials are made available under the
- terms of the Eclipse Public License v1.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v10.html
--->
-<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">
-
-    <parent>
-        <groupId>org.opendaylight.mdsal</groupId>
-        <artifactId>dom-parent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-        <relativePath>../../dom/dom-parent</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>mdsal-model-binding2-parent</artifactId>
-    <packaging>pom</packaging>
-
-    <properties>
-        <salGeneratorPath>${project.build.directory}/generated-sources/mdsal-binding2</salGeneratorPath>
-    </properties>
-
-    <build>
-        <!-- https://bugs.opendaylight.org/show_bug.cgi?id=6252 -->
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-            </resource>
-            <resource>
-                <directory>${project.build.directory}/generated-sources/spi</directory>
-            </resource>
-            <resource>
-                <directory>${project.build.directory}/generated-sources/yang</directory>
-            </resource>
-        </resources>
-    </build>
-
-    <profiles>
-        <profile>
-            <id>binding2-generator</id>
-            <activation>
-                <file>
-                    <exists>src/main/yang</exists>
-                </file>
-            </activation>
-            <dependencies>
-                <dependency>
-                    <groupId>org.opendaylight.mdsal</groupId>
-                    <artifactId>mdsal-binding2-spec</artifactId>
-                </dependency>
-            </dependencies>
-            <build>
-                <pluginManagement>
-                    <plugins>
-                        <plugin>
-                            <groupId>org.opendaylight.yangtools</groupId>
-                            <artifactId>yang-maven-plugin</artifactId>
-                            <version>2.1.8</version>
-                            <dependencies>
-                                <dependency>
-                                    <groupId>org.opendaylight.mdsal</groupId>
-                                    <artifactId>mdsal-binding2-maven-api-gen-plugin</artifactId>
-                                    <version>0.16.0-SNAPSHOT</version>
-                                    <type>jar</type>
-                                </dependency>
-                            </dependencies>
-                            <executions>
-                                <execution>
-                                    <id>binding2</id>
-                                    <goals>
-                                        <goal>generate-sources</goal>
-                                    </goals>
-                                    <configuration>
-                                        <codeGenerators>
-                                            <generator>
-                                                <codeGeneratorClass>org.opendaylight.mdsal.binding.javav2.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
-                                                <outputBaseDir>${salGeneratorPath}</outputBaseDir>
-                                            </generator>
-                                        </codeGenerators>
-                                        <inspectDependencies>true</inspectDependencies>
-                                    </configuration>
-                                </execution>
-                            </executions>
-                        </plugin>
-                        <plugin>
-                            <artifactId>maven-clean-plugin</artifactId>
-                            <configuration>
-                                <filesets>
-                                    <fileset>
-                                        <directory>${salGeneratorPath}</directory>
-                                        <includes>
-                                            <include>**</include>
-                                        </includes>
-                                    </fileset>
-                                </filesets>
-                            </configuration>
-                        </plugin>
-                        <plugin>
-                            <groupId>org.codehaus.mojo</groupId>
-                            <artifactId>build-helper-maven-plugin</artifactId>
-                            <executions>
-                                <execution>
-                                    <id>add-yang-sources</id>
-                                    <phase>generate-sources</phase>
-                                    <goals>
-                                        <goal>add-source</goal>
-                                    </goals>
-                                    <configuration>
-                                        <sources>
-                                            <source>${salGeneratorPath}</source>
-                                        </sources>
-                                    </configuration>
-                                </execution>
-                            </executions>
-                        </plugin>
-                    </plugins>
-                </pluginManagement>
-                <plugins>
-                    <plugin>
-                        <groupId>org.opendaylight.yangtools</groupId>
-                        <artifactId>yang-maven-plugin</artifactId>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>build-helper-maven-plugin</artifactId>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>