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