Remove {String,UUID}Identifier
[yangtools.git] / yang / yang-parser-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>yangtools-parent</artifactId>
15         <version>1.0.0-SNAPSHOT</version>
16         <relativePath>/../../common/parent/pom.xml</relativePath>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>yang-parser-impl</artifactId>
21     <name>${project.artifactId}</name>
22     <description>YANG parser</description>
23
24     <dependencies>
25         <dependency>
26             <groupId>${project.groupId}</groupId>
27             <artifactId>yang-common</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>${project.groupId}</groupId>
31             <artifactId>yang-model-api</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>${project.groupId}</groupId>
35             <artifactId>yang-parser-api</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>${project.groupId}</groupId>
39             <artifactId>yang-model-util</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.antlr</groupId>
43             <artifactId>antlr4-runtime</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.mockito</groupId>
47             <artifactId>mockito-core</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>com.google.guava</groupId>
51             <artifactId>guava</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>ch.qos.logback</groupId>
60             <artifactId>logback-classic</artifactId>
61             <scope>test</scope>
62         </dependency>
63         <dependency>
64             <groupId>${project.groupId}</groupId>
65             <artifactId>concepts</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>com.google.code.findbugs</groupId>
69             <artifactId>jsr305</artifactId>
70         </dependency>
71     </dependencies>
72
73     <build>
74         <plugins>
75             <plugin>
76                 <groupId>org.antlr</groupId>
77                 <artifactId>antlr4-maven-plugin</artifactId>
78                 <executions>
79                     <execution>
80                         <goals>
81                             <goal>antlr4</goal>
82                         </goals>
83                     </execution>
84                 </executions>
85                 <configuration>
86                     <sourceDirectory>src/main/antlr</sourceDirectory>
87                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
88                     <visitor>true</visitor>
89                     <listener>true</listener>
90                 </configuration>
91             </plugin>
92             <plugin>
93                 <groupId>org.codehaus.mojo</groupId>
94                 <artifactId>build-helper-maven-plugin</artifactId>
95             </plugin>
96             <plugin>
97                 <groupId>org.apache.maven.plugins</groupId>
98                 <artifactId>maven-javadoc-plugin</artifactId>
99                 <configuration>
100                     <excludePackageNames>
101                         *.opendaylight.yangtools.antlrv4.code.gen
102                     </excludePackageNames>
103                 </configuration>
104             </plugin>
105             <plugin>
106                 <groupId>org.apache.felix</groupId>
107                 <artifactId>maven-bundle-plugin</artifactId>
108                 <extensions>true</extensions>
109                 <configuration>
110                     <instructions>
111                         <Export-Package>
112                             org.opendaylight.yangtools.yang.parser.*
113                         </Export-Package>
114                     </instructions>
115                 </configuration>
116             </plugin>
117         </plugins>
118         <pluginManagement>
119             <plugins>
120                 <plugin>
121                     <groupId>org.eclipse.m2e</groupId>
122                     <artifactId>lifecycle-mapping</artifactId>
123                     <version>1.0.0</version>
124                     <configuration>
125                         <lifecycleMappingMetadata>
126                             <pluginExecutions>
127                                 <pluginExecution>
128                                     <pluginExecutionFilter>
129                                         <groupId>org.antlr</groupId>
130                                         <artifactId>antlr4-maven-plugin</artifactId>
131                                         <versionRange>[4.0,)</versionRange>
132                                         <goals>
133                                             <goal>antlr4</goal>
134                                         </goals>
135                                     </pluginExecutionFilter>
136                                     <action>
137                                         <execute />
138                                     </action>
139                                 </pluginExecution>
140                             </pluginExecutions>
141                         </lifecycleMappingMetadata>
142                     </configuration>
143                 </plugin>
144             </plugins>
145         </pluginManagement>
146     </build>
147
148   <!--
149       Maven Site Configuration
150
151       The following configuration is necessary for maven-site-plugin to
152       correctly identify the correct deployment path for OpenDaylight Maven
153       sites.
154   -->
155   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
156
157   <distributionManagement>
158     <site>
159       <id>opendaylight-site</id>
160       <url>${nexus.site.url}/${project.artifactId}/</url>
161     </site>
162   </distributionManagement>
163 </project>