blob: 8c5a71ceaf1550ba0bde1e717a4bc2c5fe80c7ed [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<!-- $Rev: 432962 $ $Date: 2006-08-20 03:47:39 -0700 (Sun, 20 Aug 2006) $ -->
<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>xbean</artifactId>
<groupId>org.apache.xbean</groupId>
<version>4.25</version>
</parent>
<artifactId>xbean-finder</artifactId>
<packaging>bundle</packaging>
<name>Apache XBean :: Classpath Resource Finder</name>
<description>XBean Finder helps to find annotations in classes</description>
<properties>
<xbean.automatic.module.name>${project.groupId}.finder</xbean.automatic.module.name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-bundleutils</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${asm.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>${asm.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.3.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-asm-util</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>
org.apache.xbean.finder.*;version=${project.version};-noimport:=true
</Export-Package>
<Import-Package>
org.objectweb.asm*;version="[9.0,10.0)",
*
</Import-Package>
<Private-Package>org.apache.xbean.asm9.original.commons</Private-Package>
<_removeheaders>
Ignore-Package,Private-Package,Include-Resource,Embed-Dependency
</_removeheaders>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
<!--
systemPropertyVariables are great but evaluated by surefire booter (even in v3)
plus surefire uses a surefirebooter.jar so JVM will load the main class from a jarFile
and already read these props before surefirebooter did its job (yes this is bad for surefire).
-->
<environmentVariables>
<_JAVA_OPTIONS>-Djdk.util.jar.version=9 -Djdk.util.jar.enableMultiRelease=force</_JAVA_OPTIONS>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>