POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>xbean</artifactId>
<groupId>org.apache.xbean</groupId>
<version>4.7</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>xbean-asm6-shaded</artifactId>
<packaging>bundle</packaging>
<name>Apache XBean :: ASM 6 shaded (repackaged)</name>
<description>Repackaged and shaded asm 6.x jars</description>
<licenses>
<license>
<url>http://asm.ow2.org/license.html</url>
</license>
<license>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createSourcesJar>true</createSourcesJar>
<relocations>
<relocation>
<pattern>org.apache.xbean.asm6.original.commons</pattern>
<shadedPattern>org.apache.xbean.asm6.shade.commons</shadedPattern>
</relocation>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>org.apache.xbean.asm6</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/versions/**</exclude>
<exclude>**/module-info.class</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer>
<manifestEntries>
<Bundle-License>http://asm.ow2.org/license.html</Bundle-License>
<Bundle-SymbolicName>org.apache.xbean.asm6-shaded</Bundle-SymbolicName>
<Export-Package>${xbean.osgi.export}</Export-Package>
<Import-Package>${xbean.osgi.import}</Import-Package>
</manifestEntries>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<properties>
<xbean.osgi.import>org.apache.xbean.asm6.shade.commons;version="[${asm.version},${asm.version}]",
org.apache.xbean.asm6;version="[${asm.version},${asm.version}]",
org.apache.xbean.asm6.signature;version="[${asm.version},${asm.version}]",
org.apache.xbean.asm6.commons;version="[${asm.version},${asm.version}]",
org.apache.xbean.asm6.tree;version="[${asm.version},${asm.version}]"</xbean.osgi.import>
<xbean.osgi.export>org.apache.xbean.asm6.shade.commons;version=${asm.version},
org.apache.xbean.asm6;version=${asm.version},
org.apache.xbean.asm6.signature;version=${asm.version},
org.apache.xbean.asm6.commons;version=${asm.version},
org.apache.xbean.asm6.tree;version=${asm.version}</xbean.osgi.export>
<xbean.automatic.module.name>${project.groupId}.asm6.shaded</xbean.automatic.module.name>
</properties>
</project>
|