Drop obsolete Maven site configuration
[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.odlparent</groupId>
12         <artifactId>bundle-parent</artifactId>
13         <version>3.0.1</version>
14         <relativePath/>
15     </parent>
16
17     <modelVersion>4.0.0</modelVersion>
18     <groupId>org.opendaylight.yangtools</groupId>
19     <artifactId>yang-data-impl</artifactId>
20     <version>2.0.1-SNAPSHOT</version>
21     <packaging>bundle</packaging>
22     <name>${project.artifactId}</name>
23     <description>${project.artifactId}</description>
24
25     <dependencyManagement>
26         <dependencies>
27             <dependency>
28                 <groupId>org.opendaylight.yangtools</groupId>
29                 <artifactId>yangtools-artifacts</artifactId>
30                 <version>2.0.1-SNAPSHOT</version>
31                 <scope>import</scope>
32                 <type>pom</type>
33             </dependency>
34         </dependencies>
35     </dependencyManagement>
36
37     <build>
38         <plugins>
39             <plugin>
40                 <groupId>org.antlr</groupId>
41                 <artifactId>antlr4-maven-plugin</artifactId>
42                 <executions>
43                     <execution>
44                         <goals>
45                             <goal>antlr4</goal>
46                         </goals>
47                     </execution>
48                 </executions>
49                 <configuration>
50                     <sourceDirectory>src/main/antlr</sourceDirectory>
51                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
52                     <visitor>true</visitor>
53                     <listener>true</listener>
54                 </configuration>
55             </plugin>
56             <plugin>
57                 <groupId>org.apache.maven.plugins</groupId>
58                 <artifactId>maven-surefire-plugin</artifactId>
59                 <configuration>
60                 <argLine>-Dlog4j.configuration=log4j-test.xml
61                     -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
62                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
63                 </configuration>
64             </plugin>
65             <plugin>
66                 <groupId>org.apache.felix</groupId>
67                 <artifactId>maven-bundle-plugin</artifactId>
68                 <extensions>true</extensions>
69                 <configuration>
70                     <instructions>
71                         <Export-Package>
72                             {local-packages},
73                             org.opendaylight.yangtools.yang.data.impl.*,
74                             ;-split-package:=error
75                         </Export-Package>
76                         <Include-Resource>{META-INF/services=${project.build.directory}/classes/META-INF/services}</Include-Resource>
77                         <Bundle-Activator>org.opendaylight.yangtools.yang.data.impl.osgi.Activator</Bundle-Activator>
78                     </instructions>
79                 </configuration>
80             </plugin>
81             <plugin>
82                 <groupId>org.jacoco</groupId>
83                 <artifactId>jacoco-maven-plugin</artifactId>
84                 <executions>
85                     <execution>
86                         <id>prepare-ut-agent</id>
87                         <phase>process-test-classes</phase>
88                         <goals>
89                             <goal>prepare-agent</goal>
90                         </goals>
91                         <configuration>
92                             <destFile>${sonar.jacoco.reportPath}</destFile>
93                             <propertyName>jacoco.agent.ut.arg</propertyName>
94                         </configuration>
95                     </execution>
96                     <execution>
97                         <id>prepare-it-agent</id>
98                         <phase>pre-integration-test</phase>
99                         <goals>
100                             <goal>prepare-agent</goal>
101                         </goals>
102                         <configuration>
103                             <destFile>${sonar.jacoco.itReportPath}</destFile>
104                             <propertyName>jacoco.agent.it.arg</propertyName>
105                         </configuration>
106                     </execution>
107                 </executions>
108             </plugin>
109             <plugin>
110                 <groupId>org.apache.maven.plugins</groupId>
111                 <artifactId>maven-checkstyle-plugin</artifactId>
112                 <configuration>
113                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
114                 </configuration>
115             </plugin>
116         </plugins>
117     </build>
118
119     <dependencies>
120         <dependency>
121             <groupId>${project.groupId}</groupId>
122             <artifactId>util</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>${project.groupId}</groupId>
126             <artifactId>yang-common</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>${project.groupId}</groupId>
130             <artifactId>yang-data-api</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>${project.groupId}</groupId>
134             <artifactId>yang-data-util</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>${project.groupId}</groupId>
138             <artifactId>yang-model-api</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>${project.groupId}</groupId>
142             <artifactId>yang-model-util</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>com.google.guava</groupId>
146             <artifactId>guava</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.antlr</groupId>
150             <artifactId>antlr4-runtime</artifactId>
151         </dependency>
152
153         <dependency>
154             <groupId>org.kohsuke.metainf-services</groupId>
155             <artifactId>metainf-services</artifactId>
156         </dependency>
157         <dependency>
158             <groupId>org.osgi</groupId>
159             <artifactId>org.osgi.core</artifactId>
160         </dependency>
161
162         <dependency>
163             <groupId>junit</groupId>
164             <artifactId>junit</artifactId>
165             <scope>test</scope>
166         </dependency>
167         <dependency>
168             <groupId>org.mockito</groupId>
169             <artifactId>mockito-core</artifactId>
170         </dependency>
171         <dependency>
172             <groupId>org.slf4j</groupId>
173             <artifactId>slf4j-log4j12</artifactId>
174             <scope>test</scope>
175         </dependency>
176         <dependency>
177             <groupId>xmlunit</groupId>
178             <artifactId>xmlunit</artifactId>
179             <scope>test</scope>
180         </dependency>
181         <dependency>
182             <groupId>${project.groupId}</groupId>
183             <artifactId>yang-parser-impl</artifactId>
184             <scope>test</scope>
185         </dependency>
186         <dependency>
187             <groupId>${project.groupId}</groupId>
188             <artifactId>yang-test-util</artifactId>
189             <scope>test</scope>
190         </dependency>
191         <dependency>
192             <groupId>commons-lang</groupId>
193             <artifactId>commons-lang</artifactId>
194             <scope>test</scope>
195         </dependency>
196     </dependencies>
197
198 </project>