easymock/0004-Fix-OSGi-manifest.patch

29 lines
1.0 KiB
Diff
Raw Normal View History

From a228c98f921520577d9563b0a330f7af4f19b66c Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk@redhat.com>
Date: Wed, 1 Jun 2016 09:31:44 +0200
Subject: [PATCH 4/4] Fix OSGi manifest
Resolves: rhbz#1341052
---
core/pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/pom.xml b/core/pom.xml
index 2fa5653..73c4d94 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -87,8 +87,9 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
- <Export-Package>org.easymock.internal.*;poweruser=true;mandatory:=poweruser</Export-Package>
+ <Export-Package>org.easymock,org.easymock.internal.*;poweruser=true;mandatory:=poweruser</Export-Package>
<Import-Package>org.easymock,org.easymock.internal;poweruser=true,net.sf.cglib.core,net.sf.cglib.proxy,net.sf.cglib.reflect,org.objectweb.asm,org.objenesis;resolution:=optional</Import-Package>
+ <_nouses>true</_nouses>
</instructions>
</configuration>
<executions>
--
2.5.5