<parent>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>bundle-parent</artifactId>
- <version>3.0.0-SNAPSHOT</version>
+ <version>4.0.4-SNAPSHOT</version>
<relativePath>../../bundle-parent</relativePath>
</parent>
<name>${project.artifactId}</name>
<description>RFC6020/RFC7950 parser support</description>
+ <properties>
+ <!-- FIXME: antlr-generated code does not pass SB -->
+ <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
+ </properties>
+
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>yang-xpath-impl</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
</execution>
</executions>
<configuration>
- <sourceDirectory>src/main/antlr</sourceDirectory>
- <outputDirectory>${project.build.directory}/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
<visitor>true</visitor>
<listener>false</listener>
</configuration>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
- <Import-Package>!javax.annotation,*</Import-Package>
+ <Automatic-Module-Name>org.opendaylight.yangtools.yang.parser.rfc7950</Automatic-Module-Name>
</instructions>
</configuration>
</plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
- </configuration>
- </plugin>
</plugins>
</build>