blob: 733547f0d8dd6081a8f345ee998144c51657d7bd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>org.apache.clerezza</groupId>
<version>0.2-incubating-SNAPSHOT</version>
</parent>
<groupId>org.apache.clerezza.ext</groupId>
<artifactId>org.jruby</artifactId>
<version>0.3-incubating-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Clerezza Ext - JRuby OSGi Bundle</name>
<description>JRuby as OSGi bundle with DynamicImport-Package</description>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>1.3.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>inline-jars</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>jruby</includeArtifactIds>
<outputDirectory>target/extracted</outputDirectory>
<includes>**</includes>
<excludes>META-INF/MANIFEST.MF</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>!org.slf4j.*,*;-split-package:=merge-first</Export-Package>
<Import-Package>!sun.misc,!org.apache.bsf.*,!com.sun.mirror.*,!org.jruby.javasupport,!org.jruby.ast.executable,!org.jruby.compiler,!org.jruby.ast.visitor,!org.jruby.runtime.callsite,!org.jruby.util.string,!org.jruby.ext.posix,!org.jruby.compiler.impl,!org.jruby.compiler.util,!org.jruby.gen,!org.jruby.management,!org.jruby.runtime.encoding,!org.jruby.ext.ffi,!org.jruby.javasupport.util,!org.jruby.util.io,!org.jruby.lexer.yacc,!org.jruby.ast,!org.jruby.yaml,!org.jruby.threading,!org.jruby.ext.ffi.jna,!org.jruby.demo,!org.jruby.runtime.invokedynamic,!org.jruby.java.proxies,!org.jruby.platform,!org.jruby.anno,!org.jruby.exceptions,!org.jruby.evaluator,!org.jruby.ext.ffi.io,!org.jruby.environment,!org.jruby.internal.runtime.methods,!org.jruby.runtime.marshal,!org.jruby.util.collections,!org.jruby.ext.ffi.jffi,!org.jruby.runtime.scope,!org.jruby.java.addons,!org.jruby.ext,!org.jruby.ast.util,!org.jruby.internal.runtime,!org.jruby.runtime.component,!org.jruby.ext.socket,!org.jruby.runtime.builtin,!org.jruby.common,!org.jruby.util,!org.jruby.java,!org.jruby.libraries,!org.jruby.java.invokers,!org.jruby.runtime.callback,!org.jruby.runtime.load,!org.jruby.ast.types,!org.jruby.ext.posix.util,!org.jruby.javasupport.bsf,!org.jruby,!org.jruby.runtime,!org.jruby.javasupport.proxy,!org.jruby.util.unsafe,!org.jruby.parser,*</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
</instructions>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>target/extracted/</directory>
<includes>
<include>**</include>
</includes>
</resource>
<resource>
<targetPath>META-INF</targetPath>
<filtering>false</filtering>
<directory>${basedir}</directory>
<includes>
<include>NOTICE.txt</include>
<include>LICENSE.*</include>
</includes>
</resource>
</resources>
</build>
</project>