|
|
c52786 |
--- pom.xml 2011-12-01 09:20:20.000000000 +0100
|
|
|
c52786 |
+++ pom.xml-gil 2012-04-27 10:24:01.741796876 +0200
|
|
|
c52786 |
@@ -119,17 +119,61 @@
|
|
|
c52786 |
</plugin>
|
|
|
c52786 |
|
|
|
c52786 |
<plugin>
|
|
|
c52786 |
+ <groupId>org.apache.felix</groupId>
|
|
|
c52786 |
+ <artifactId>maven-bundle-plugin</artifactId>
|
|
|
c52786 |
+ <version>2.0.0</version>
|
|
|
c52786 |
+ <configuration>
|
|
|
c52786 |
+ <instructions>
|
|
|
c52786 |
+ <Bundle-Description>${project.description} bundled for OSGi distribution</Bundle-Description>
|
|
|
c52786 |
+ <Bundle-Name>${project.artifactId}</Bundle-Name>
|
|
|
c52786 |
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
|
|
c52786 |
+ <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
|
|
|
c52786 |
+ <Export-Package>javax.xml.bind.*;version="${project.version}"</Export-Package>
|
|
|
c52786 |
+ <Import-Package>javax.activation,
|
|
|
c52786 |
+ javax.xml.bind;version="${project.version}",
|
|
|
c52786 |
+ javax.xml.bind.annotation;version="${project.version}",
|
|
|
c52786 |
+ javax.xml.bind.annotation.adapters;version="${project.version}",
|
|
|
c52786 |
+ javax.xml.bind.attachment;version="${project.version}",
|
|
|
c52786 |
+ javax.xml.bind.helpers;version="${project.version}",
|
|
|
c52786 |
+ javax.xml.bind.util;version="${project.version}",
|
|
|
c52786 |
+ javax.xml.datatype,
|
|
|
c52786 |
+ javax.xml.namespace,
|
|
|
c52786 |
+ javax.xml.parsers,
|
|
|
c52786 |
+ javax.xml.stream,
|
|
|
c52786 |
+ javax.xml.transform,
|
|
|
c52786 |
+ javax.xml.transform.dom,
|
|
|
c52786 |
+ javax.xml.transform.sax,
|
|
|
c52786 |
+ javax.xml.transform.stream,
|
|
|
c52786 |
+ javax.xml.validation,
|
|
|
c52786 |
+ org.w3c.dom,
|
|
|
c52786 |
+ org.xml.sax,
|
|
|
c52786 |
+ org.xml.sax.ext,
|
|
|
c52786 |
+ org.xml.sax.helpers</Import-Package>
|
|
|
c52786 |
+ <Extension-Name>javax.xml.bind</Extension-Name>
|
|
|
c52786 |
+ <Specification-Title>${project.name}</Specification-Title>
|
|
|
c52786 |
+ <Specification-Vendor>${project.organization.name}</Specification-Vendor>
|
|
|
c52786 |
+ <Specification-Version>${project.version}</Specification-Version>
|
|
|
c52786 |
+ </instructions>
|
|
|
c52786 |
+ </configuration>
|
|
|
c52786 |
+ <executions>
|
|
|
c52786 |
+ <execution>
|
|
|
c52786 |
+ <id>bundle-manifest</id>
|
|
|
c52786 |
+ <phase>process-classes</phase>
|
|
|
c52786 |
+ <goals>
|
|
|
c52786 |
+ <goal>manifest</goal>
|
|
|
c52786 |
+ </goals>
|
|
|
c52786 |
+ </execution>
|
|
|
c52786 |
+ </executions>
|
|
|
c52786 |
+ </plugin>
|
|
|
c52786 |
+
|
|
|
c52786 |
+ <plugin>
|
|
|
c52786 |
<groupId>org.apache.maven.plugins</groupId>
|
|
|
c52786 |
<artifactId>maven-jar-plugin</artifactId>
|
|
|
c52786 |
<version>2.3.1</version>
|
|
|
c52786 |
<configuration>
|
|
|
c52786 |
<archive>
|
|
|
c52786 |
- <manifestEntries>
|
|
|
c52786 |
- <Extension-Name>javax.xml.bind</Extension-Name>
|
|
|
c52786 |
- </manifestEntries>
|
|
|
c52786 |
- <manifest>
|
|
|
c52786 |
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
c52786 |
- </manifest>
|
|
|
c52786 |
+
|
|
|
c52786 |
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
c52786 |
</archive>
|
|
|
c52786 |
</configuration>
|
|
|
c52786 |
</plugin>
|