commit ac49b0059a2ad519205702ee7cf43e223fa73d99 Author: Cristiano Gavião <cvgav...@gmail.com> AuthorDate: Mon, 17 Mar 2014 22:22:55 -0300 Commit: Cristiano Gavião <cvgav...@gmail.com> CommitDate: Mon, 17 Mar 2014 22:22:55 -0300
added bundle fragment in order to expose JDK packages not exposed by default. diff --git a/jbehave-osgi-bundles/org.jbehave.osgi.fragment.jdk/pom.xml b/jbehave-osgi-bundles/org.jbehave.osgi.fragment.jdk/pom.xml new file mode 100644 index 0000000..e1b6899 --- /dev/null +++ b/jbehave-osgi-bundles/org.jbehave.osgi.fragment.jdk/pom.xml @@ -0,0 +1,46 @@ +<!--#======================================================================= --> +<!--# Copyright (c) 2012, 2013 Committers of lunifera.org - Lunifera.org. --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Cristiano Gavião - initial API and implementation --> +<!--#======================================================================= --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.jbehave.osgi</groupId> + <artifactId>jbehave-osgi-bundles</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <artifactId>org.jbehave.osgi.fragment.jdk</artifactId> + <name>JBehave OSGi : System fragment for JDK packages exporting.</name> + <packaging>bundle</packaging> + + <build> + <plugins> + <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <unpackBundle>true</unpackBundle> + <instructions> + <Fragment-Host>system.bundle; extension:=framework</Fragment-Host> + <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> + <Export-Package>sun.misc.*</Export-Package> + <Eclipse-ExtensibleAPI>true</Eclipse-ExtensibleAPI> + </instructions> + </configuration> + </plugin> + </plugins> + </build> +</project> \ No newline at end of file