asm-repackaged
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.glassfish.hk2.external</groupId>
<artifactId>asm-repackaged</artifactId>
<version>2.5.0</version>
</dependency><?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>external</artifactId>
<groupId>org.glassfish.hk2</groupId>
<version>2.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.glassfish.hk2.external</groupId>
<artifactId>asm-repackaged</artifactId>
<name>ASM library repackaged as OSGi bundle</name>
<description>org.objectweb.asm version ${asm.version} repackaged as a module</description>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>step1-shade</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<relocations>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>org.glassfish.hk2.external.org.objectweb.asm</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer>
<manifestEntries>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>org.glassfish.hk2.external.asm-repackaged</Bundle-SymbolicName>
<Bundle-Version>6.0</Bundle-Version>
<Export-Package>org.glassfish.hk2.external.org.objectweb.asm.signature;version="6.0",org.glassfish.hk2.external.org.objectweb.asm.commons;version="6.0",org.glassfish.hk2.external.org.objectweb.asm.attrs;version="6.0",org.glassfish.hk2.external.org.objectweb.asm.util;version="6.0",org.glassfish.hk2.external.org.objectweb.asm.tree.analysis;version="6.0",org.glassfish.hk2.external.org.objectweb.asm;version="6.0",org.glassfish.hk2.external.org.objectweb.asm.xml;version="6.0",org.glassfish.hk2.external.org.objectweb.asm.tree;version="6.0"</Export-Package>
<Import-Package>javax.xml.transform;resolution:=optional,javax.xml.transform.sax;resolution:=optional,javax.xml.transform.stream;resolution:=optional,org.xml.sax;resolution:=optional,org.xml.sax.ext;resolution:=optional,org.xml.sax.helpers;resolution:=optional</Import-Package>
</manifestEntries>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>step2-unpack-sources-jar</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<unjar />
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>step3-add-source</id>
<phase>package</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/alternateLocation</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>create-empty-javadoc-jar</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classesDirectory>${project.build.directory}/javadoc</classesDirectory>
<classifier>javadoc</classifier>
</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>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.5</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>objenesis</artifactId>
<groupId>org.objenesis</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>