This fixes up a long-standing issue with how antlr is configured,
fixing javadoc plugin interaction in the process.
Change-Id: I4c94aa50c44dc5fc6268d94739e50ef27e868cde
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
7c2f7b53352ed27c745e661579132eea66f4c25e)
</execution>
</executions>
<configuration>
- <sourceDirectory>src/main/antlr</sourceDirectory>
- <outputDirectory>${project.build.directory}/generated-sources/antlr/org/opendaylight/yangtools/yang/xpath/impl</outputDirectory>
+ <sourceDirectory>${project.basedir}/src/main/antlr</sourceDirectory>
+ <outputDirectory>${project.build.directory}/generated-sources/antlr</outputDirectory>
<visitor>false</visitor>
<listener>false</listener>
</configuration>
grammar instanceIdentifier;
-@header {
-package org.opendaylight.yangtools.yang.xpath.impl;
-}
-
/*
* YANG 1.1 instance-identifier grammar, as defined in
* https://tools.ietf.org/html/rfc7950#section-9.13
grammar xpath;
-@header {
-package org.opendaylight.yangtools.yang.xpath.impl;
-}
-
/*
XPath 1.0 grammar. Should conform to the official spec at
http://www.w3.org/TR/1999/REC-xpath-19991116. The grammar