Enforce no split packages
[yangtools.git] / yang / yang-parser-impl / pom.xml
index 13b097b144047b6d2f130bde5238db51dc2ccc03..deaa73d29be67f1dc05dafeeb442e5e6600271c6 100644 (file)
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>bundle-parent</artifactId>
-        <version>2.0.0</version>
+        <version>2.0.2</version>
         <relativePath/>
     </parent>
 
@@ -60,7 +60,6 @@
         <dependency>
             <groupId>org.antlr</groupId>
             <artifactId>antlr4-runtime</artifactId>
-            <version>4.7</version>
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
@@ -91,7 +90,6 @@
             <plugin>
                 <groupId>org.antlr</groupId>
                 <artifactId>antlr4-maven-plugin</artifactId>
-                <version>4.7</version>
                 <executions>
                     <execution>
                         <goals>
                 <configuration>
                     <instructions>
                         <Export-Package>
-                            org.opendaylight.yangtools.yang.parser.*
+                            {local-packages},
+                            org.opendaylight.yangtools.yang.parser.impl.*,
+                            ;-split-package:=error
                         </Export-Package>
                     </instructions>
                 </configuration>