a76d8fe664c9200decaf3a56617c7398892b19f9
[yangtools.git] / yang / yang-data-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4     This program and the accompanying materials are made available under the
5     terms of the Eclipse Public License v1.0 which accompanies this distribution,
6     and is available at http://www.eclipse.org/legal/epl-v10.html -->
7 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9
10     <parent>
11         <groupId>org.opendaylight.yangtools</groupId>
12         <artifactId>yangtools-parent</artifactId>
13         <version>1.0.0-SNAPSHOT</version>
14         <relativePath>/../../common/parent/pom.xml</relativePath>
15     </parent>
16
17     <modelVersion>4.0.0</modelVersion>
18     <artifactId>yang-data-impl</artifactId>
19     <name>${project.artifactId}</name>
20     <description>${project.artifactId}</description>
21
22
23     <build>
24         <plugins>
25             <plugin>
26                 <groupId>org.antlr</groupId>
27                 <artifactId>antlr4-maven-plugin</artifactId>
28                 <configuration>
29                     <sourceDirectory>src/main/antlr</sourceDirectory>
30                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
31                     <visitor>true</visitor>
32                     <listener>true</listener>
33                 </configuration>
34             </plugin>
35             <plugin>
36                 <groupId>org.codehaus.mojo</groupId>
37                 <artifactId>build-helper-maven-plugin</artifactId>
38             </plugin>
39             <plugin>
40                 <groupId>org.apache.maven.plugins</groupId>
41                 <artifactId>maven-surefire-plugin</artifactId>
42                 <configuration>
43                 <argLine>-Dlog4j.configuration=log4j-test.xml
44                     -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
45                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
46                 </configuration>
47             </plugin>
48             <plugin>
49                 <groupId>org.apache.felix</groupId>
50                 <artifactId>maven-bundle-plugin</artifactId>
51                 <extensions>true</extensions>
52                 <configuration>
53                     <instructions>
54                         <Export-Package>
55                             org.opendaylight.yangtools.yang.data.impl.*
56                         </Export-Package>
57                     </instructions>
58                 </configuration>
59             </plugin>
60         </plugins>
61     </build>
62
63     <dependencies>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>util</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>${project.groupId}</groupId>
70             <artifactId>yang-common</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>${project.groupId}</groupId>
74             <artifactId>yang-data-api</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>yang-data-util</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>yang-model-api</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>${project.groupId}</groupId>
86             <artifactId>yang-model-util</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>com.google.guava</groupId>
90             <artifactId>guava</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>junit</groupId>
94             <artifactId>junit</artifactId>
95             <scope>test</scope>
96         </dependency>
97         <dependency>
98             <groupId>org.mockito</groupId>
99             <artifactId>mockito-core</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.slf4j</groupId>
103             <artifactId>slf4j-log4j12</artifactId>
104             <scope>test</scope>
105         </dependency>
106         <dependency>
107             <groupId>xmlunit</groupId>
108             <artifactId>xmlunit</artifactId>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>${project.groupId}</groupId>
113             <artifactId>yang-parser-impl</artifactId>
114             <scope>test</scope>
115         </dependency>
116         <dependency>
117             <groupId>commons-lang</groupId>
118             <artifactId>commons-lang</artifactId>
119             <scope>test</scope>
120         </dependency>
121         <dependency>
122             <groupId>com.google.code.findbugs</groupId>
123             <artifactId>jsr305</artifactId>
124         </dependency>
125         <dependency>
126             <groupId>org.antlr</groupId>
127             <artifactId>antlr4-runtime</artifactId>
128         </dependency>
129     </dependencies>
130
131   <!--
132       Maven Site Configuration
133
134       The following configuration is necessary for maven-site-plugin to
135       correctly identify the correct deployment path for OpenDaylight Maven
136       sites.
137   -->
138   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
139
140   <distributionManagement>
141     <site>
142       <id>opendaylight-site</id>
143       <url>${nexus.site.url}/${project.artifactId}/</url>
144     </site>
145   </distributionManagement>
146 </project>