| <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --><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>clerezza</artifactId> |
| <groupId>org.apache.clerezza</groupId> |
| <version>0.3-SNAPSHOT</version> |
| <relativePath>../parent</relativePath> |
| </parent> |
| <groupId>org.apache.clerezza.ext</groupId> |
| <artifactId>org.jruby</artifactId> |
| <version>0.3-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> |