Release yangtools
[yangtools.git] / tools / yang-model-validator / pom.xml
1 <?xml version="1.0"?>
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>
4     <parent>
5         <groupId>org.opendaylight.odlparent</groupId>
6         <artifactId>odlparent</artifactId>
7         <version>9.0.15</version>
8         <relativePath/>
9     </parent>
10
11     <groupId>org.opendaylight.yangtools</groupId>
12     <artifactId>yang-model-validator</artifactId>
13     <version>7.0.17</version>
14     <name>${project.artifactId}</name>
15     <description>YANG model validator</description>
16
17     <dependencyManagement>
18         <dependencies>
19             <dependency>
20                 <groupId>org.opendaylight.yangtools</groupId>
21                 <artifactId>yangtools-artifacts</artifactId>
22                 <version>7.0.17</version>
23                 <scope>import</scope>
24                 <type>pom</type>
25             </dependency>
26         </dependencies>
27     </dependencyManagement>
28
29     <dependencies>
30         <dependency>
31             <groupId>org.opendaylight.yangtools</groupId>
32             <artifactId>yang-parser-impl</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.slf4j</groupId>
36             <artifactId>slf4j-api</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>ch.qos.logback</groupId>
40             <artifactId>logback-classic</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>commons-cli</groupId>
44             <artifactId>commons-cli</artifactId>
45             <version>1.4</version>
46         </dependency>
47     </dependencies>
48
49     <build>
50         <plugins>
51             <plugin>
52                 <groupId>org.codehaus.mojo</groupId>
53                 <artifactId>build-helper-maven-plugin</artifactId>
54             </plugin>
55             <plugin>
56                 <groupId>org.codehaus.mojo</groupId>
57                 <artifactId>exec-maven-plugin</artifactId>
58                 <executions>
59                     <execution>
60                         <id>yang-parser-system-test-java</id>
61                         <goals>
62                             <goal>java</goal>
63                         </goals>
64                         <configuration>
65                             <includeProjectDependencies>true</includeProjectDependencies>
66                             <includePluginDependencies>true</includePluginDependencies>
67                             <mainClass>org.opendaylight.yangtools.yang.validator.Main</mainClass>
68                             <arguments>
69                                 <argument>./src/main/yang</argument>
70                             </arguments>
71                         </configuration>
72                     </execution>
73                     <execution>
74                         <id>yang-parser-system-test-exec</id>
75                         <goals>
76                             <goal>exec</goal>
77                         </goals>
78                         <configuration>
79                             <classpathScope>test</classpathScope>
80                             <executable>java</executable>
81                             <arguments>
82                                 <argument>-classpath</argument>
83                                 <classpath/>
84                                 <argument>org.opendaylight.yangtools.yang.validator.Main</argument>
85                                 <argument>./src/main/yang</argument>
86                             </arguments>
87                         </configuration>
88                     </execution>
89                 </executions>
90             </plugin>
91             <plugin>
92                 <groupId>org.apache.maven.plugins</groupId>
93                 <artifactId>maven-assembly-plugin</artifactId>
94                 <executions>
95                     <execution>
96                         <goals>
97                             <goal>single</goal>
98                         </goals>
99                         <phase>package</phase>
100                         <configuration>
101                             <descriptorRefs>
102                                 <descriptorRef>jar-with-dependencies</descriptorRef>
103                             </descriptorRefs>
104                             <archive>
105                                 <manifest>
106                                     <mainClass>org.opendaylight.yangtools.yang.validator.Main</mainClass>
107                                 </manifest>
108                             </archive>
109                         </configuration>
110                     </execution>
111                 </executions>
112             </plugin>
113         </plugins>
114     </build>
115
116 </project>