Merge "add getIntValue() method to EnumTemplate so that representing value can by...
[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"\r
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
3 \r
4     <parent>\r
5         <groupId>org.opendaylight.yangtools</groupId>\r
6         <artifactId>yang</artifactId>\r
7         <version>0.5.8-SNAPSHOT</version>\r
8     </parent>\r
9 \r
10     <modelVersion>4.0.0</modelVersion>\r
11     <artifactId>yang-parser-impl</artifactId>\r
12     <name>${project.artifactId}</name>\r
13     <description>YANG parser</description>\r
14 \r
15     <dependencies>\r
16         <dependency>\r
17             <groupId>${project.groupId}</groupId>\r
18             <artifactId>yang-common</artifactId>\r
19         </dependency>\r
20         <dependency>\r
21             <groupId>${project.groupId}</groupId>\r
22             <artifactId>yang-model-api</artifactId>\r
23         </dependency>\r
24         <dependency>\r
25             <groupId>${project.groupId}</groupId>\r
26             <artifactId>yang-parser-api</artifactId>\r
27         </dependency>\r
28         <dependency>\r
29             <groupId>${project.groupId}</groupId>\r
30             <artifactId>yang-model-util</artifactId>\r
31         </dependency>\r
32         <dependency>\r
33             <groupId>org.antlr</groupId>\r
34             <artifactId>antlr4</artifactId>\r
35             <version>4.0</version>\r
36         </dependency>\r
37         <dependency>\r
38             <groupId>org.slf4j</groupId>\r
39             <artifactId>slf4j-simple</artifactId>\r
40             <version>1.7.2</version>\r
41             <scope>test</scope>\r
42         </dependency>\r
43         <dependency>\r
44             <groupId>org.mockito</groupId>\r
45             <artifactId>mockito-all</artifactId>\r
46             <version>1.8.4</version>\r
47             <scope>test</scope>\r
48         </dependency>\r
49         <dependency>\r
50             <groupId>com.google.guava</groupId>\r
51             <artifactId>guava</artifactId>\r
52         </dependency>\r
53         <dependency>\r
54             <groupId>org.eclipse.xtend</groupId>\r
55             <artifactId>org.eclipse.xtend.lib</artifactId>\r
56             <version>2.4.2</version>\r
57         </dependency>\r
58         <dependency>\r
59             <groupId>junit</groupId>\r
60             <artifactId>junit</artifactId>\r
61             <scope>test</scope>\r
62         </dependency>\r
63     </dependencies>\r
64 \r
65     <build>\r
66         <plugins>\r
67             <plugin>\r
68                 <artifactId>maven-clean-plugin</artifactId>\r
69                 <version>2.4.1</version>\r
70                 <configuration>\r
71                     <filesets>\r
72                         <fileset>\r
73                             <directory>${basedir}/src/main/xtend-gen</directory>\r
74                             <includes>\r
75                                 <include>**</include>\r
76                             </includes>\r
77                         </fileset>\r
78                     </filesets>\r
79                 </configuration>\r
80             </plugin>\r
81             <plugin>\r
82                 <groupId>org.antlr</groupId>\r
83                 <artifactId>antlr4-maven-plugin</artifactId>\r
84                 <version>4.0</version>\r
85                 <executions>\r
86                     <execution>\r
87                         <goals>\r
88                             <goal>antlr4</goal>\r
89                         </goals>\r
90                     </execution>\r
91                 </executions>\r
92                 <configuration>\r
93                     <sourceDirectory>src/main/antlr</sourceDirectory>\r
94                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>\r
95                     <visitor>true</visitor>\r
96                     <listener>true</listener>\r
97                 </configuration>\r
98             </plugin>\r
99             <plugin>\r
100                 <groupId>org.eclipse.xtend</groupId>\r
101                 <artifactId>xtend-maven-plugin</artifactId>\r
102                 <version>2.4.2</version>\r
103                 <executions>\r
104                     <execution>\r
105                         <goals>\r
106                             <goal>compile</goal>\r
107                         </goals>\r
108                         <configuration>\r
109                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>\r
110                         </configuration>\r
111                     </execution>\r
112                 </executions>\r
113             </plugin><plugin>\r
114                 <groupId>org.codehaus.mojo</groupId>\r
115                 <artifactId>build-helper-maven-plugin</artifactId>\r
116                 <version>1.7</version>\r
117                 <executions>\r
118                     <execution>\r
119                         <phase>generate-sources</phase>\r
120                         <goals>\r
121                             <goal>add-source</goal>\r
122                         </goals>\r
123                         <configuration>\r
124                             <sources>\r
125                                 <source>target/generated-sources/parser</source>\r
126                             </sources>\r
127                         </configuration>\r
128                     </execution>\r
129                 </executions>\r
130             </plugin>\r
131             \r
132             <plugin>\r
133                 <groupId>org.apache.maven.plugins</groupId>\r
134                 <artifactId>maven-javadoc-plugin</artifactId>\r
135                 <configuration>\r
136                     <excludePackageNames>\r
137                         *.opendaylight.yangtools.antlrv4.code.gen\r
138                     </excludePackageNames>\r
139                 </configuration>\r
140             </plugin>\r
141         </plugins>\r
142         <pluginManagement>\r
143             <plugins>\r
144                 <plugin>\r
145                     <groupId>org.eclipse.m2e</groupId>\r
146                     <artifactId>lifecycle-mapping</artifactId>\r
147                     <version>1.0.0</version>\r
148                     <configuration>\r
149                         <lifecycleMappingMetadata>\r
150                             <pluginExecutions>\r
151                                 <pluginExecution>\r
152                                     <pluginExecutionFilter>\r
153                                         <groupId>org.antlr</groupId>\r
154                                         <artifactId>antlr4-maven-plugin</artifactId>\r
155                                         <versionRange>[4.0,)</versionRange>\r
156                                         <goals>\r
157                                             <goal>antlr4</goal>\r
158                                         </goals>\r
159                                     </pluginExecutionFilter>\r
160                                     <action>\r
161                                         <execute></execute>\r
162                                     </action>\r
163                                 </pluginExecution>\r
164                             </pluginExecutions>\r
165                         </lifecycleMappingMetadata>\r
166                     </configuration>\r
167                 </plugin>\r
168             </plugins>\r
169         </pluginManagement>\r
170     </build>\r
171 \r
172 </project>\r