Enforce no split packages 13/61213/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 4 Aug 2017 22:02:03 +0000 (00:02 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 4 Aug 2017 22:02:03 +0000 (00:02 +0200)
This augments Export-Package directives with a directive to emit
a hard error if a split package is encountered.

Change-Id: Ib763fb75021de510086f1c12563cef0f49e61f61
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/pom.xml
binding/mdsal-binding-generator-impl/pom.xml
binding2/mdsal-binding2-dom-codec/pom.xml
binding2/mdsal-binding2-generator-impl/pom.xml

index 16c1f3f0c4c54e9d05eafceaf0f9a0dcdfadeebb..d00747201a93ca7b4c1157cf15a0a2163141196f 100644 (file)
@@ -97,6 +97,7 @@
                             org.opendaylight.yangtools.binding.data.codec.*,
                             org.opendaylight.yangtools.binding.data.codec.gen.impl.*,
                             org.opendaylight.yangtools.binding.data.codec.impl.*,
+                            ;-split-package:=error
                         </Export-Package>
                     </instructions>
                 </configuration>
index b9cbbfe4dd5ea505227fa844b094819495d9867f..d9f82f640c176ec4e83d066e979ad86e42ef6236 100644 (file)
                         <Export-Package>
                             {local-packages},
                             org.opendaylight.mdsal.binding.generator.impl,
+                            ;-split-package:=error
                         </Export-Package>
                         <Embed-Transitive>true</Embed-Transitive>
                         <Embed-Dependency>org.eclipse.xtext.xbase.lib;inline</Embed-Dependency>
index e11c1bdc05e10ae83e5e2e4f8e79d8e7b831ab13..4ec4486069c2b822eb0c197e5cf1ac0f953fc42d 100644 (file)
                             org.opendaylight.yangtools.binding.data.codec.*,
                             org.opendaylight.yangtools.binding.data.codec.gen.impl.*,
                             org.opendaylight.yangtools.binding.data.codec.impl.*,
+                            ;-split-package:=error
                         </Export-Package>
                     </instructions>
                 </configuration>
index 029b6117d66705bbaa5842b6311da9de2ec3d081..7fc4f7da915419e82f058c929d7cf21203ddd020 100644 (file)
                         <Export-Package>
                             {local-packages},
                             org.opendaylight.mdsal.binding2.generator.impl,
+                            ;-split-package:=error
                         </Export-Package>
                     </instructions>
                 </configuration>