Release yangtools
[yangtools.git] / model / pom.xml
index 206d1b288601b9a6c7f974a14bec51facaf75d07..7ec1d92c73c39e2eb3152da50b020db1e5757c90 100644 (file)
@@ -1,89 +1,55 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- vi: set et smarttab sw=4 tabstop=4: -->
 <!--
- Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ Copyright © 2021 PANTHEON.tech, s.r.o. 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">
+    <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>yangtools-parent</artifactId>
-        <version>0.7.0-SNAPSHOT</version>
-        <relativePath>../common/parent</relativePath>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-lite</artifactId>
+        <version>10.0.2</version>
+        <relativePath/>
     </parent>
-    <groupId>org.opendaylight.yangtools.model</groupId>
-    <!--<version>0.7.0-SNAPSHOT</version>-->
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>model-parent</artifactId>
+
+    <groupId>org.opendaylight.yangtools</groupId>
+    <artifactId>model-aggregator</artifactId>
+    <version>8.0.5</version>
     <packaging>pom</packaging>
-    <name>${project.artifactId}</name>
-    <description>${project.artifactId}</description>
+
+    <properties>
+        <maven.deploy.skip>true</maven.deploy.skip>
+        <maven.install.skip>true</maven.install.skip>
+    </properties>
 
     <modules>
-        <module>yang-ext</module>
-        <module>iana</module>
-        <module>ietf</module>
-        <module>l2-types</module>
-    </modules>
+        <!-- RFC7950 YANG metamodel and reference implementation -->
+        <module>yang-model-api</module>
+        <module>yang-model-ri</module>
+        <module>yang-model-spi</module>
+        <module>yang-model-util</module>
+
+        <!-- Utilities for exporting yang-model-api constructs to YIN/YANG -->
+        <module>yang-model-export</module>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.opendaylight.yangtools</groupId>
-                <artifactId>yang-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>generate-sources</goal>
-                        </goals>
-                        <configuration>
-                            <yangFilesRootDir>src/main/yang</yangFilesRootDir>
-                            <codeGenerators>
-                                <generator>
-                                    <codeGeneratorClass>
-                                        org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
-                                    </codeGeneratorClass>
-                                    <outputBaseDir>
-                                        target/generated-sources/sal
-                                    </outputBaseDir>
-                                </generator>
-                                <generator>
-                                    <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
-                                    <outputBaseDir>target/site/restconf</outputBaseDir>
-                                </generator>
-                                <generator>
-                                    <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
-                                    <outputBaseDir>target/site/restconf</outputBaseDir>
-                                </generator>
-                            </codeGenerators>
-                            <inspectDependencies>true</inspectDependencies>
-                        </configuration>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.opendaylight.yangtools</groupId>
-                        <artifactId>maven-sal-api-gen-plugin</artifactId>
-                        <version>0.7.0-SNAPSHOT</version>
-                        <type>jar</type>
-                    </dependency>
-                </dependencies>
-            </plugin>
-        </plugins>
-    </build>
+        <!-- IETF YANG extensions -->
+        <module>rfc6241-model-api</module>
+        <module>rfc6536-model-api</module>
+        <module>rfc6643-model-api</module>
+        <module>rfc7952-model-api</module>
+        <module>rfc8040-model-api</module>
+        <module>rfc8528-model-api</module>
+        <module>rfc8639-model-api</module>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>yang-binding</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>yang-common</artifactId>
-        </dependency>
-    </dependencies>
+        <!-- OpenDaylight YANG extensions -->
+        <module>odlext-model-api</module>
+
+        <!-- OpenConfig YANG extensions -->
+        <module>openconfig-model-api</module>
+    </modules>
 </project>