Merge "Bumped version of YANG tools to 0.5.2-SNAPSHOT"
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang-plugin / pom.xml
index 1dd56914115732c6675cfbb70bf77cfda7e25f65..297b8b49dee4014a7b96fd76ab8f38a3d4cca278 100644 (file)
@@ -2,15 +2,29 @@
     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>
-        <artifactId>binding-generator</artifactId>
+        <artifactId>yang</artifactId>
         <groupId>org.opendaylight.controller</groupId>
-        <version>1.0</version>
+        <version>0.5.2-SNAPSHOT</version>
+        <relativePath>../../yang/pom.xml</relativePath>
     </parent>
 
-    <artifactId>maven-yang-plugin</artifactId>
+    <artifactId>yang-maven-plugin</artifactId>
     <packaging>maven-plugin</packaging>
+    <description>
+        This plugin is a wrapper for "yang to source code" generation.
+        It can be configured by a set of third-party code generators and resource providers.
+        For further info see available goals.
+        Sample usage:
+
+        TODO: add sample usage when finished
+    </description>
 
     <dependencies>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-core</artifactId>
+            <version>3.0.5</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-plugin-api</artifactId>
             <version>3.2</version>
             <scope>provided</scope>
         </dependency>
+               <dependency>
+                       <groupId>org.apache.maven</groupId>
+                       <artifactId>maven-artifact</artifactId>
+                       <version>2.0</version>
+               </dependency>
 
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>yang-model-parser-impl</artifactId>
-            <version>1.0</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>maven-yang</artifactId>
-            <version>1.0</version>
+            <artifactId>yang-maven-plugin-spi</artifactId>
         </dependency>
 
         <dependency>
@@ -42,8 +59,8 @@
 
         <dependency>
             <groupId>${project.groupId}</groupId>
-            <artifactId>maven-yang</artifactId>
-            <version>1.0</version>
+            <artifactId>yang-maven-plugin-spi</artifactId>
+            <version>${project.version}</version>
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
             <version>1.8.4</version>
             <scope>test</scope>
         </dependency>
+        <dependency>
+               <groupId>junit</groupId>
+               <artifactId>junit</artifactId>
+               <scope>test</scope>
+        </dependency>
     </dependencies>
 
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-plugin-plugin</artifactId>
+                <version>3.2</version>
+            </plugin>
+        </plugins>
+    </reporting>
+
     <build>
         <plugins>
             <plugin>
         </plugins>
     </build>
 
-</project>
\ No newline at end of file
+</project>