Add Automatic-Module-Name declarations
[yangtools.git] / yang / yang-xpath-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     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>3.0.0-SNAPSHOT</version>
16         <relativePath>../../bundle-parent</relativePath>
17     </parent>
18
19     <artifactId>yang-xpath-impl</artifactId>
20     <version>1.0.0-SNAPSHOT</version>
21     <packaging>bundle</packaging>
22     <name>${project.artifactId}</name>
23     <description>YANG XPath parser</description>
24
25     <dependencies>
26         <dependency>
27             <groupId>com.google.guava</groupId>
28             <artifactId>guava</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.yangtools</groupId>
32             <artifactId>concepts</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.yangtools</groupId>
36             <artifactId>yang-common</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>yang-xpath-api</artifactId>
41         </dependency>
42
43         <dependency>
44             <groupId>org.antlr</groupId>
45             <artifactId>antlr4-runtime</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.kohsuke.metainf-services</groupId>
49             <artifactId>metainf-services</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.osgi</groupId>
53             <artifactId>org.osgi.core</artifactId>
54         </dependency>
55     </dependencies>
56
57     <build>
58         <plugins>
59             <plugin>
60                 <groupId>org.antlr</groupId>
61                 <artifactId>antlr4-maven-plugin</artifactId>
62                 <executions>
63                     <execution>
64                         <goals>
65                             <goal>antlr4</goal>
66                         </goals>
67                     </execution>
68                 </executions>
69                 <configuration>
70                     <sourceDirectory>src/main/antlr</sourceDirectory>
71                     <outputDirectory>${project.build.directory}/generated-sources/antlr/org/opendaylight/yangtools/yang/xpath/impl</outputDirectory>
72                     <visitor>false</visitor>
73                     <listener>false</listener>
74                 </configuration>
75             </plugin>
76             <plugin>
77                 <groupId>org.apache.felix</groupId>
78                 <artifactId>maven-bundle-plugin</artifactId>
79                 <extensions>true</extensions>
80                 <configuration>
81                     <instructions>
82                         <Automatic-Module-Name>org.opendaylight.yangtools.yang.xpath.impl</Automatic-Module-Name>
83                         <Include-Resource>{META-INF/services=${project.build.directory}/classes/META-INF/services}</Include-Resource>
84                         <Bundle-Activator>org.opendaylight.yangtools.yang.xpath.impl.Activator</Bundle-Activator>
85                     </instructions>
86                 </configuration>
87             </plugin>
88             <plugin>
89                 <groupId>org.apache.maven.plugins</groupId>
90                 <artifactId>maven-checkstyle-plugin</artifactId>
91                 <configuration>
92                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
93                 </configuration>
94             </plugin>
95         </plugins>
96     </build>
97
98 </project>