All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.hk2.external.asm-all-repackaged.2.5.0-b55.source-code.dependency-reduced-pom.xml Maven / Gradle / Ivy

There is a newer version: 2.5.0-b60
Show newest version
<?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-b55</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.glassfish.hk2.external</groupId>
  <artifactId>asm-all-repackaged</artifactId>
  <name>ASM library repackaged as OSGi bundle</name>
  <description>org.objectweb.asm.all 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-all-repackaged</Bundle-SymbolicName>
                    <Bundle-Version>5.1</Bundle-Version>
                    <Export-Package>org.glassfish.hk2.external.org.objectweb.asm.signature;version="5.1",org.glassfish.hk2.external.org.objectweb.asm.commons;version="5.1",org.glassfish.hk2.external.org.objectweb.asm.attrs;version="5.1",org.glassfish.hk2.external.org.objectweb.asm.util;version="5.1",org.glassfish.hk2.external.org.objectweb.asm.tree.analysis;version="5.1",org.glassfish.hk2.external.org.objectweb.asm;version="5.1",org.glassfish.hk2.external.org.objectweb.asm.xml;version="5.1",org.glassfish.hk2.external.org.objectweb.asm.tree;version="5.1"</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>
        <configuration>
          <skipSource>true</skipSource>
        </configuration>
      </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.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>cglib-nodep</artifactId>
          <groupId>cglib</groupId>
        </exclusion>
        <exclusion>
          <artifactId>objenesis</artifactId>
          <groupId>org.objenesis</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</project>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy