ACCUMULO-4321 Only seal jars on release Skip jar sealing under normal builds by default, so integration tests don't generate sealing violation errors. Seal jars in the release profile.
This is a quick fix. The long-term fix is to ensure any integration and/or performance tests are in distinct packages so they can be run even with released jars. Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/14959351 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/14959351 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/14959351 Branch: refs/heads/1.6 Commit: 149593517d822e06b103c6db9b49eb2707b053ce Parents: 63a8a5d Author: Christopher Tubbs <ctubb...@apache.org> Authored: Thu Jun 2 18:42:54 2016 -0400 Committer: Christopher Tubbs <ctubb...@apache.org> Committed: Thu Jun 2 18:42:54 2016 -0400 ---------------------------------------------------------------------- pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/14959351/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c1494d7..04df37d 100644 --- a/pom.xml +++ b/pom.xml @@ -139,6 +139,7 @@ <powermock.version>1.6.4</powermock.version> <!-- surefire/failsafe plugin option --> <reuseForks>false</reuseForks> + <sealJars>false</sealJars> <!-- overwritten in hadoop profiles --> <slf4j.version>1.7.5</slf4j.version> <sourceReleaseAssemblyDescriptor>source-release-tar</sourceReleaseAssemblyDescriptor> @@ -613,7 +614,7 @@ <configuration> <archive> <manifestEntries> - <Sealed>true</Sealed> + <Sealed>${sealJars}</Sealed> <Implementation-Build>${mvngit.commit.id}</Implementation-Build> </manifestEntries> </archive> @@ -1163,6 +1164,7 @@ <!-- some properties to make the release build a bit faster --> <checkstyle.skip>true</checkstyle.skip> <findbugs.skip>true</findbugs.skip> + <sealJars>true</sealJars> <skipITs>true</skipITs> <skipTests>true</skipTests> </properties>