Files
spring-data-jpa/template.mf
Martin Baumgartner 512a78ea72 DATAJPA-494 - Fix template.mf to make sure auditing can be used on OSGi.
template.mf now contains an explicit Import-Package directive to make sure the relevant packages for the auditing functionality can be resolved in an OSGi environment. This hadn't been the case before as we don't explicitly refer to some classes necessary (mostly to prevent class loading errors in IDEs). The explicit declarations make sure the relevant Import-Package declarations are added even if Bundlor doesn't find any types that would explicitly require the imports.

JpaAuditingRegistrar now also explicitly hints to the class not being visible in case of auditing setup errors.

Original pull request: #62.
2014-03-11 12:47:14 +01:00

29 lines
1.5 KiB
Plaintext

Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.springframework.data.jpa
Bundle-Name: ${project.name}
Bundle-Vendor: Pivotal Software, Inc
Bundle-Version: ${project.version}
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Template:
org.springframework.data.jpa.*;version="${project.version}"
Import-Template:
com.mysema.query.*;version="${querydsl:[=.=.=,+1.0.0)}";resolution:=optional,
javax.persistence.*;version="${jpa:[=.=.=,+1.0.0)}",
javax.annotation.*;version="0.0.0",
javax.enterprise.*;version="${cdi:[=.=.=,+1.0.0)}";resolution:=optional,
org.aopalliance.*;version="[1.0.0,2.0.0)",
org.apache.openjpa.persistence.*;version="${openjpa:[=.=.=,+1.0.0)}";resolution:=optional,
org.aspectj.*;version="${aspectj:[=.=.=,+1.0.0)}";resolution:=optional,
org.eclipse.persistence.*;version="${eclipselink:[=.=.=,+1.0.0)}";resolution:=optional,
org.hibernate.*;version="[3.5.3,4.0.0)";resolution:=optional,
org.joda.time.*;version="[1.5.0,2.0.0)";resolution:=optional,
org.slf4j.*;version="[1.6.4,2.0.0)",
org.springframework.*;version="${spring:[=.=.=.=,+1.1.0)}",
org.springframework.beans.factory.aspectj;version="${spring:[=.=.=.=,+1.1.0)}";resolution:=optional,
org.springframework.data.*;version="${springdata.commons:[=.=.=.=,+1.0.0)}",
org.w3c.*;version="0.0.0"
Import-Package: org.aspectj.lang;version="${aspectj:[=.=.=,+1.0.0)}";resolution:=optional,
org.aspectj.runtime.reflect;version="${aspectj:[=.=.=,+1.0.0)}";resolution:=optional,
org.springframework.beans.factory.aspectj;version="${spring:[=.=.=.=,+1.1.0)}";resolution:=optional