<?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>byte-buddy-parent</artifactId> | |
<groupId>net.bytebuddy</groupId> | |
<version>1.4.33</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>byte-buddy</artifactId> | |
<name>Byte Buddy (without dependencies)</name> | |
<description>Byte Buddy is a Java library for creating Java classes at run time. | |
This artifact is a build of Byte Buddy with all ASM dependencies repackaged into its own name space.</description> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.pitest</groupId> | |
<artifactId>pitest-maven</artifactId> | |
<version>${version.plugin.pitest}</version> | |
<configuration> | |
<skip>true</skip> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>extras</id> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.4.1</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<shadedArtifactAttached>false</shadedArtifactAttached> | |
<createDependencyReducedPom>true</createDependencyReducedPom> | |
<createSourcesJar>true</createSourcesJar> | |
<shadeSourcesContent>true</shadeSourcesContent> | |
<relocations> | |
<relocation> | |
<pattern>org.objectweb.asm</pattern> | |
<shadedPattern>net.bytebuddy.jar.asm</shadedPattern> | |
</relocation> | |
</relocations> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>2.6</version> | |
<executions> | |
<execution> | |
<id>default-jar</id> | |
<phase>package</phase> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
<configuration> | |
<archive> | |
<manifestFile>/home/rafael/workspace/oss/byte-buddy/target/checkout/byte-buddy/target/classes/META-INF/MANIFEST.MF</manifestFile> | |
</archive> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<archive> | |
<manifestFile>/home/rafael/workspace/oss/byte-buddy/target/checkout/byte-buddy/target/classes/META-INF/MANIFEST.MF</manifestFile> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<version>2.5.4</version> | |
<executions> | |
<execution> | |
<phase>process-classes</phase> | |
<goals> | |
<goal>manifest</goal> | |
</goals> | |
<configuration> | |
<instructions> | |
<Export-Package>net.bytebuddy, | |
net.bytebuddy.agent.builder, | |
net.bytebuddy.asm, | |
net.bytebuddy.build, | |
net.bytebuddy.description, | |
net.bytebuddy.description.annotation, | |
net.bytebuddy.description.enumeration, | |
net.bytebuddy.description.field, | |
net.bytebuddy.description.method, | |
net.bytebuddy.description.modifier, | |
net.bytebuddy.description.type, | |
net.bytebuddy.dynamic, | |
net.bytebuddy.dynamic.loading, | |
net.bytebuddy.dynamic.scaffold, | |
net.bytebuddy.dynamic.scaffold.inline, | |
net.bytebuddy.dynamic.scaffold.subclass, | |
net.bytebuddy.implementation, | |
net.bytebuddy.implementation.attribute, | |
net.bytebuddy.implementation.auxiliary, | |
net.bytebuddy.implementation.bind, | |
net.bytebuddy.implementation.bind.annotation, | |
net.bytebuddy.implementation.bytecode, | |
net.bytebuddy.implementation.bytecode.assign, | |
net.bytebuddy.implementation.bytecode.assign.primitive, | |
net.bytebuddy.implementation.bytecode.assign.reference, | |
net.bytebuddy.implementation.bytecode.collection, | |
net.bytebuddy.implementation.bytecode.constant, | |
net.bytebuddy.implementation.bytecode.member, | |
net.bytebuddy.matcher, | |
net.bytebuddy.pool, | |
net.bytebuddy.utility, | |
net.bytebuddy.utility.privilege, | |
net.bytebuddy.utility.visitor, | |
net.bytebuddy.jar.asm</Export-Package> | |
</instructions> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<instructions> | |
<Export-Package>net.bytebuddy, | |
net.bytebuddy.agent.builder, | |
net.bytebuddy.asm, | |
net.bytebuddy.build, | |
net.bytebuddy.description, | |
net.bytebuddy.description.annotation, | |
net.bytebuddy.description.enumeration, | |
net.bytebuddy.description.field, | |
net.bytebuddy.description.method, | |
net.bytebuddy.description.modifier, | |
net.bytebuddy.description.type, | |
net.bytebuddy.dynamic, | |
net.bytebuddy.dynamic.loading, | |
net.bytebuddy.dynamic.scaffold, | |
net.bytebuddy.dynamic.scaffold.inline, | |
net.bytebuddy.dynamic.scaffold.subclass, | |
net.bytebuddy.implementation, | |
net.bytebuddy.implementation.attribute, | |
net.bytebuddy.implementation.auxiliary, | |
net.bytebuddy.implementation.bind, | |
net.bytebuddy.implementation.bind.annotation, | |
net.bytebuddy.implementation.bytecode, | |
net.bytebuddy.implementation.bytecode.assign, | |
net.bytebuddy.implementation.bytecode.assign.primitive, | |
net.bytebuddy.implementation.bytecode.assign.reference, | |
net.bytebuddy.implementation.bytecode.collection, | |
net.bytebuddy.implementation.bytecode.constant, | |
net.bytebuddy.implementation.bytecode.member, | |
net.bytebuddy.matcher, | |
net.bytebuddy.pool, | |
net.bytebuddy.utility, | |
net.bytebuddy.utility.privilege, | |
net.bytebuddy.utility.visitor, | |
net.bytebuddy.jar.asm</Export-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>2.10.3</version> | |
<executions> | |
<execution> | |
<id>attach-javadoc</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
<configuration> | |
<includeDependencySources>true</includeDependencySources> | |
<dependencySourceIncludes> | |
<dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude> | |
</dependencySourceIncludes> | |
<detectJavaApiLink>true</detectJavaApiLink> | |
<links> | |
<link>http://asm.ow2.org/asm50/javadoc/user/</link> | |
</links> | |
</configuration> | |
</execution> | |
<execution> | |
<id>aggregate-javadoc</id> | |
<phase>package</phase> | |
<goals> | |
<goal>aggregate</goal> | |
</goals> | |
<configuration> | |
<doctitle>Byte Buddy (full API), version 1.4.33</doctitle> | |
<failOnError>false</failOnError> | |
<includeDependencySources>true</includeDependencySources> | |
<dependencySourceIncludes> | |
<dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude> | |
</dependencySourceIncludes> | |
<detectJavaApiLink>true</detectJavaApiLink> | |
<links> | |
<link>http://asm.ow2.org/asm50/javadoc/user/</link> | |
</links> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<includeDependencySources>true</includeDependencySources> | |
<dependencySourceIncludes> | |
<dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude> | |
</dependencySourceIncludes> | |
<detectJavaApiLink>true</detectJavaApiLink> | |
<links> | |
<link>http://asm.ow2.org/asm50/javadoc/user/</link> | |
</links> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.code.findbugs</groupId> | |
<artifactId>annotations</artifactId> | |
<version>3.0.1u2</version> | |
<scope>provided</scope> | |
<exclusions> | |
<exclusion> | |
<artifactId>jcip-annotations</artifactId> | |
<groupId>net.jcip</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jsr305</artifactId> | |
<groupId>com.google.code.findbugs</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
<properties> | |
<shade.source>org.objectweb.asm</shade.source> | |
<shade.target>net.bytebuddy.jar.asm</shade.target> | |
</properties> | |
</project> | |