Enforce no split packages 12/61212/6
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 4 Aug 2017 21:56:32 +0000 (23:56 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 7 Aug 2017 17:47:22 +0000 (17:47 +0000)
This adds a guard to prevent accidental split packages.

Change-Id: I063ec1ee6090c60d177c22c9ad8cbeafb54f70ce
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-impl/pom.xml
yang/yang-parser-impl/pom.xml

index 387f9a447936259b20a89f0bf13808eeb842038e..1e625a1356ffe76dde5d5425809a80911e3539c7 100644 (file)
@@ -70,7 +70,9 @@
                 <configuration>
                     <instructions>
                         <Export-Package>
-                            org.opendaylight.yangtools.yang.data.impl.*
+                            {local-packages},
+                            org.opendaylight.yangtools.yang.data.impl.*,
+                            ;-split-package:=error
                         </Export-Package>
                     </instructions>
                 </configuration>
index 90ae69141c95e70b18fac7cc76d5cdd4d37b4ef1..deaa73d29be67f1dc05dafeeb442e5e6600271c6 100644 (file)
                 <configuration>
                     <instructions>
                         <Export-Package>
-                            org.opendaylight.yangtools.yang.parser.*
+                            {local-packages},
+                            org.opendaylight.yangtools.yang.parser.impl.*,
+                            ;-split-package:=error
                         </Export-Package>
                     </instructions>
                 </configuration>