81e69eb639424caf66bda91fd8388acac808a261
[yangtools.git] / yang / yang-parser-impl / pom.xml
1 <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">
2
3     <parent>
4         <groupId>org.opendaylight.yangtools</groupId>
5         <artifactId>yang</artifactId>
6         <version>0.5.9-SNAPSHOT</version>
7     </parent>
8
9     <modelVersion>4.0.0</modelVersion>
10     <artifactId>yang-parser-impl</artifactId>
11     <name>${project.artifactId}</name>
12     <description>YANG parser</description>
13
14     <dependencies>
15         <dependency>
16             <groupId>${project.groupId}</groupId>
17             <artifactId>yang-common</artifactId>
18         </dependency>
19         <dependency>
20             <groupId>${project.groupId}</groupId>
21             <artifactId>yang-model-api</artifactId>
22         </dependency>
23         <dependency>
24             <groupId>${project.groupId}</groupId>
25             <artifactId>yang-parser-api</artifactId>
26         </dependency>
27         <dependency>
28             <groupId>${project.groupId}</groupId>
29             <artifactId>yang-model-util</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.antlr</groupId>
33             <artifactId>antlr4-runtime</artifactId>
34             <version>4.0</version>
35         </dependency>
36         <dependency>
37             <groupId>org.slf4j</groupId>
38             <artifactId>slf4j-simple</artifactId>
39             <version>1.7.2</version>
40             <scope>test</scope>
41         </dependency>
42         <dependency>
43             <groupId>org.mockito</groupId>
44             <artifactId>mockito-all</artifactId>
45             <scope>test</scope>
46         </dependency>
47         <dependency>
48             <groupId>com.google.guava</groupId>
49             <artifactId>guava</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.eclipse.xtend</groupId>
53             <artifactId>org.eclipse.xtend.lib</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>junit</groupId>
57             <artifactId>junit</artifactId>
58             <scope>test</scope>
59         </dependency>
60     </dependencies>
61
62     <build>
63         <plugins>
64             <plugin>
65                 <groupId>org.antlr</groupId>
66                 <artifactId>antlr4-maven-plugin</artifactId>
67                 <version>4.0</version>
68                 <executions>
69                     <execution>
70                         <goals>
71                             <goal>antlr4</goal>
72                         </goals>
73                     </execution>
74                 </executions>
75                 <configuration>
76                     <sourceDirectory>src/main/antlr</sourceDirectory>
77                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
78                     <visitor>true</visitor>
79                     <listener>true</listener>
80                 </configuration>
81             </plugin>
82             <plugin>
83                 <groupId>org.eclipse.xtend</groupId>
84                 <artifactId>xtend-maven-plugin</artifactId>
85             </plugin>
86             <plugin>
87                 <groupId>org.codehaus.mojo</groupId>
88                 <artifactId>build-helper-maven-plugin</artifactId>
89                 <version>1.8</version>
90                 <executions>
91                     <execution>
92                         <phase>generate-sources</phase>
93                         <goals>
94                             <goal>add-source</goal>
95                         </goals>
96                         <configuration>
97                             <sources>
98                                 <source>target/generated-sources/parser</source>
99                             </sources>
100                         </configuration>
101                     </execution>
102                 </executions>
103             </plugin>
104             <plugin>
105                 <groupId>org.apache.maven.plugins</groupId>
106                 <artifactId>maven-javadoc-plugin</artifactId>
107                 <configuration>
108                     <excludePackageNames>
109                         *.opendaylight.yangtools.antlrv4.code.gen
110                     </excludePackageNames>
111                 </configuration>
112             </plugin>
113         </plugins>
114         <pluginManagement>
115             <plugins>
116                 <plugin>
117                     <groupId>org.eclipse.m2e</groupId>
118                     <artifactId>lifecycle-mapping</artifactId>
119                     <version>1.0.0</version>
120                     <configuration>
121                         <lifecycleMappingMetadata>
122                             <pluginExecutions>
123                                 <pluginExecution>
124                                     <pluginExecutionFilter>
125                                         <groupId>org.antlr</groupId>
126                                         <artifactId>antlr4-maven-plugin</artifactId>
127                                         <versionRange>[4.0,)</versionRange>
128                                         <goals>
129                                             <goal>antlr4</goal>
130                                         </goals>
131                                     </pluginExecutionFilter>
132                                     <action>
133                                         <execute />
134                                     </action>
135                                 </pluginExecution>
136                             </pluginExecutions>
137                         </lifecycleMappingMetadata>
138                     </configuration>
139                 </plugin>
140             </plugins>
141         </pluginManagement>
142     </build>
143 </project>