Merge "Added URL based Schema Context resolver, which tracks source URLs and their...
[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.6.0-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.mockito</groupId>
38             <artifactId>mockito-all</artifactId>
39             <scope>test</scope>
40         </dependency>
41         <dependency>
42             <groupId>com.google.guava</groupId>
43             <artifactId>guava</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.eclipse.xtend</groupId>
47             <artifactId>org.eclipse.xtend.lib</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>junit</groupId>
51             <artifactId>junit</artifactId>
52             <scope>test</scope>
53         </dependency>
54         <dependency>
55             <groupId>${project.groupId}</groupId>
56             <artifactId>concepts</artifactId>
57         </dependency>
58     </dependencies>
59
60     <build>
61         <plugins>
62             <plugin>
63                 <groupId>org.antlr</groupId>
64                 <artifactId>antlr4-maven-plugin</artifactId>
65                 <version>4.0</version>
66                 <executions>
67                     <execution>
68                         <goals>
69                             <goal>antlr4</goal>
70                         </goals>
71                     </execution>
72                 </executions>
73                 <configuration>
74                     <sourceDirectory>src/main/antlr</sourceDirectory>
75                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
76                     <visitor>true</visitor>
77                     <listener>true</listener>
78                 </configuration>
79             </plugin>
80             <plugin>
81                 <groupId>org.eclipse.xtend</groupId>
82                 <artifactId>xtend-maven-plugin</artifactId>
83             </plugin>
84             <plugin>
85                 <groupId>org.codehaus.mojo</groupId>
86                 <artifactId>build-helper-maven-plugin</artifactId>
87                 <version>1.8</version>
88                 <executions>
89                     <execution>
90                         <phase>generate-sources</phase>
91                         <goals>
92                             <goal>add-source</goal>
93                         </goals>
94                         <configuration>
95                             <sources>
96                                 <source>target/generated-sources/parser</source>
97                             </sources>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102             <plugin>
103                 <groupId>org.apache.maven.plugins</groupId>
104                 <artifactId>maven-javadoc-plugin</artifactId>
105                 <configuration>
106                     <excludePackageNames>
107                         *.opendaylight.yangtools.antlrv4.code.gen
108                     </excludePackageNames>
109                 </configuration>
110             </plugin>
111         </plugins>
112         <pluginManagement>
113             <plugins>
114                 <plugin>
115                     <groupId>org.eclipse.m2e</groupId>
116                     <artifactId>lifecycle-mapping</artifactId>
117                     <version>1.0.0</version>
118                     <configuration>
119                         <lifecycleMappingMetadata>
120                             <pluginExecutions>
121                                 <pluginExecution>
122                                     <pluginExecutionFilter>
123                                         <groupId>org.antlr</groupId>
124                                         <artifactId>antlr4-maven-plugin</artifactId>
125                                         <versionRange>[4.0,)</versionRange>
126                                         <goals>
127                                             <goal>antlr4</goal>
128                                         </goals>
129                                     </pluginExecutionFilter>
130                                     <action>
131                                         <execute />
132                                     </action>
133                                 </pluginExecution>
134                             </pluginExecutions>
135                         </lifecycleMappingMetadata>
136                     </configuration>
137                 </plugin>
138             </plugins>
139         </pluginManagement>
140     </build>
141 </project>