-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.3
-
None
-
%
-
Project build fails when a Meta-Persistence is defined in maven-bundle-plugin (3.4.0 and 3.5.0):
<Meta-Persistence>META-INF/persistence.xml</Meta-Persistence>
The following error is observed:
[INFO] --- maven-bundle-plugin:3.4.0:manifest (bundle-manifest) @ example-fuse-hibernate-dao --- Output: [Provide-Capability: osgi.service;effective:=active;objectClass=javax.persistence.EntityManagerFactory;osgi.unit.name="my-hibernate-jpa", Require-Capability: osgi.service;effective:=active;objectClass=javax.persistence.spi.PersistenceProvider;javax.persistence.provider=org.hibernate.ejb.HibernatePersistence, Provide-Capability: osgi.service;effective:=active;objectClass=org.apache.aries.jpa.supplier.EmSupplier;osgi.unit.name="my-hibernate-jpa", Require-Capability: osgi.service;effective:=active;objectClass=javax.sql.DataSource;filter:="(osgi.jndi.service.name=jdbc/derbydsxa)", Provide-Capability: osgi.service;effective:=active;objectClass=javax.persistence.EntityManager;osgi.unit.name="my-hibernate-jpa", Require-Capability: osgi.extender;osgi.extender=aries.jpa, Provide-Capability: osgi.service;effective:=active;objectClass=org.apache.aries.jpa.template.JpaTemplate;osgi.unit.name="my-hibernate-jpa", Require-Capability: osgi.service;effective:=active;objectClass=javax.transaction.TransactionManager;] [ERROR] Manifest com.redhat.support.examples:example-fuse-hibernate-dao:bundle:1.0.0-SNAPSHOT : Header contains name field after attribute or directive: null from osgi.service;effective:=active;objectClass=javax.persistence.spi.PersistenceProvider;javax.persistence.provider=org.hibernate.ejb.HibernatePersistence,osgi.service;effective:=active;objectClass=javax.sql.DataSource;filter:="(osgi.jndi.service.name=jdbc/derbydsxa)",osgi.extender;osgi.extender=aries.jpa,osgi.service;effective:=active;objectClass=javax.transaction.TransactionManager;. Name fields must be consecutive, separated by a ';' like a;b;c;x=3;y=4 [ERROR] Error(s) found in manifest configuration
Upstream issue: https://issues.apache.org/jira/browse/FELIX-5794