Home | History | Annotate | Download | only in 1.6.5
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <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">
      3   <parent>
      4     <artifactId>byte-buddy-parent</artifactId>
      5     <groupId>net.bytebuddy</groupId>
      6     <version>1.6.5</version>
      7   </parent>
      8   <modelVersion>4.0.0</modelVersion>
      9   <artifactId>byte-buddy</artifactId>
     10   <name>Byte Buddy (without dependencies)</name>
     11   <description>Byte Buddy is a Java library for creating Java classes at run time.
     12         This artifact is a build of Byte Buddy with all ASM dependencies repackaged into its own name space.</description>
     13   <build>
     14     <plugins>
     15       <plugin>
     16         <artifactId>maven-shade-plugin</artifactId>
     17         <version>${version.plugin.shade}</version>
     18         <executions>
     19           <execution>
     20             <phase>package</phase>
     21             <goals>
     22               <goal>shade</goal>
     23             </goals>
     24             <configuration>
     25               <shadedArtifactAttached>false</shadedArtifactAttached>
     26               <createDependencyReducedPom>true</createDependencyReducedPom>
     27               <createSourcesJar>true</createSourcesJar>
     28               <shadeSourcesContent>true</shadeSourcesContent>
     29               <relocations>
     30                 <relocation>
     31                   <pattern>${shade.source}</pattern>
     32                   <shadedPattern>${shade.target}</shadedPattern>
     33                 </relocation>
     34               </relocations>
     35             </configuration>
     36           </execution>
     37         </executions>
     38       </plugin>
     39       <plugin>
     40         <groupId>org.pitest</groupId>
     41         <artifactId>pitest-maven</artifactId>
     42         <version>${version.plugin.pitest}</version>
     43         <configuration>
     44           <skip>true</skip>
     45         </configuration>
     46       </plugin>
     47     </plugins>
     48   </build>
     49   <profiles>
     50     <profile>
     51       <id>extras</id>
     52       <build>
     53         <plugins>
     54           <plugin>
     55             <artifactId>maven-jar-plugin</artifactId>
     56             <version>2.6</version>
     57             <executions>
     58               <execution>
     59                 <id>default-jar</id>
     60                 <phase>package</phase>
     61                 <goals>
     62                   <goal>jar</goal>
     63                 </goals>
     64                 <configuration>
     65                   <archive>
     66                     <manifestFile>/home/rafael/workspace/oss/byte-buddy/target/checkout/byte-buddy/target/classes/META-INF/MANIFEST.MF</manifestFile>
     67                   </archive>
     68                 </configuration>
     69               </execution>
     70             </executions>
     71             <configuration>
     72               <archive>
     73                 <manifestFile>/home/rafael/workspace/oss/byte-buddy/target/checkout/byte-buddy/target/classes/META-INF/MANIFEST.MF</manifestFile>
     74               </archive>
     75             </configuration>
     76           </plugin>
     77           <plugin>
     78             <groupId>org.apache.felix</groupId>
     79             <artifactId>maven-bundle-plugin</artifactId>
     80             <version>2.5.4</version>
     81             <executions>
     82               <execution>
     83                 <phase>process-classes</phase>
     84                 <goals>
     85                   <goal>manifest</goal>
     86                 </goals>
     87                 <configuration>
     88                   <instructions>
     89                     <Export-Package>net.bytebuddy,
     90                                     net.bytebuddy.agent.builder,
     91                                     net.bytebuddy.asm,
     92                                     net.bytebuddy.build,
     93                                     net.bytebuddy.description,
     94                                     net.bytebuddy.description.annotation,
     95                                     net.bytebuddy.description.enumeration,
     96                                     net.bytebuddy.description.field,
     97                                     net.bytebuddy.description.method,
     98                                     net.bytebuddy.description.modifier,
     99                                     net.bytebuddy.description.type,
    100                                     net.bytebuddy.dynamic,
    101                                     net.bytebuddy.dynamic.loading,
    102                                     net.bytebuddy.dynamic.scaffold,
    103                                     net.bytebuddy.dynamic.scaffold.inline,
    104                                     net.bytebuddy.dynamic.scaffold.subclass,
    105                                     net.bytebuddy.implementation,
    106                                     net.bytebuddy.implementation.attribute,
    107                                     net.bytebuddy.implementation.auxiliary,
    108                                     net.bytebuddy.implementation.bind,
    109                                     net.bytebuddy.implementation.bind.annotation,
    110                                     net.bytebuddy.implementation.bytecode,
    111                                     net.bytebuddy.implementation.bytecode.assign,
    112                                     net.bytebuddy.implementation.bytecode.assign.primitive,
    113                                     net.bytebuddy.implementation.bytecode.assign.reference,
    114                                     net.bytebuddy.implementation.bytecode.collection,
    115                                     net.bytebuddy.implementation.bytecode.constant,
    116                                     net.bytebuddy.implementation.bytecode.member,
    117                                     net.bytebuddy.matcher,
    118                                     net.bytebuddy.pool,
    119                                     net.bytebuddy.utility,
    120                                     net.bytebuddy.utility.privilege,
    121                                     net.bytebuddy.utility.visitor,
    122                                     net.bytebuddy.jar.asm</Export-Package>
    123                   </instructions>
    124                 </configuration>
    125               </execution>
    126             </executions>
    127             <configuration>
    128               <instructions>
    129                 <Export-Package>net.bytebuddy,
    130                                     net.bytebuddy.agent.builder,
    131                                     net.bytebuddy.asm,
    132                                     net.bytebuddy.build,
    133                                     net.bytebuddy.description,
    134                                     net.bytebuddy.description.annotation,
    135                                     net.bytebuddy.description.enumeration,
    136                                     net.bytebuddy.description.field,
    137                                     net.bytebuddy.description.method,
    138                                     net.bytebuddy.description.modifier,
    139                                     net.bytebuddy.description.type,
    140                                     net.bytebuddy.dynamic,
    141                                     net.bytebuddy.dynamic.loading,
    142                                     net.bytebuddy.dynamic.scaffold,
    143                                     net.bytebuddy.dynamic.scaffold.inline,
    144                                     net.bytebuddy.dynamic.scaffold.subclass,
    145                                     net.bytebuddy.implementation,
    146                                     net.bytebuddy.implementation.attribute,
    147                                     net.bytebuddy.implementation.auxiliary,
    148                                     net.bytebuddy.implementation.bind,
    149                                     net.bytebuddy.implementation.bind.annotation,
    150                                     net.bytebuddy.implementation.bytecode,
    151                                     net.bytebuddy.implementation.bytecode.assign,
    152                                     net.bytebuddy.implementation.bytecode.assign.primitive,
    153                                     net.bytebuddy.implementation.bytecode.assign.reference,
    154                                     net.bytebuddy.implementation.bytecode.collection,
    155                                     net.bytebuddy.implementation.bytecode.constant,
    156                                     net.bytebuddy.implementation.bytecode.member,
    157                                     net.bytebuddy.matcher,
    158                                     net.bytebuddy.pool,
    159                                     net.bytebuddy.utility,
    160                                     net.bytebuddy.utility.privilege,
    161                                     net.bytebuddy.utility.visitor,
    162                                     net.bytebuddy.jar.asm</Export-Package>
    163               </instructions>
    164             </configuration>
    165           </plugin>
    166           <plugin>
    167             <artifactId>maven-javadoc-plugin</artifactId>
    168             <version>2.10.3</version>
    169             <executions>
    170               <execution>
    171                 <id>attach-javadoc</id>
    172                 <goals>
    173                   <goal>jar</goal>
    174                 </goals>
    175                 <configuration>
    176                   <includeDependencySources>true</includeDependencySources>
    177                   <dependencySourceIncludes>
    178                     <dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude>
    179                   </dependencySourceIncludes>
    180                   <detectJavaApiLink>true</detectJavaApiLink>
    181                   <links>
    182                     <link>http://asm.ow2.org/asm50/javadoc/user/</link>
    183                   </links>
    184                 </configuration>
    185               </execution>
    186               <execution>
    187                 <id>aggregate-javadoc</id>
    188                 <phase>package</phase>
    189                 <goals>
    190                   <goal>aggregate</goal>
    191                 </goals>
    192                 <configuration>
    193                   <doctitle>Byte Buddy (full API), version 1.6.5</doctitle>
    194                   <failOnError>false</failOnError>
    195                   <includeDependencySources>true</includeDependencySources>
    196                   <dependencySourceIncludes>
    197                     <dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude>
    198                   </dependencySourceIncludes>
    199                   <detectJavaApiLink>true</detectJavaApiLink>
    200                   <links>
    201                     <link>http://asm.ow2.org/asm50/javadoc/user/</link>
    202                   </links>
    203                 </configuration>
    204               </execution>
    205             </executions>
    206             <configuration>
    207               <includeDependencySources>true</includeDependencySources>
    208               <dependencySourceIncludes>
    209                 <dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude>
    210               </dependencySourceIncludes>
    211               <detectJavaApiLink>true</detectJavaApiLink>
    212               <links>
    213                 <link>http://asm.ow2.org/asm50/javadoc/user/</link>
    214               </links>
    215             </configuration>
    216           </plugin>
    217         </plugins>
    218       </build>
    219     </profile>
    220   </profiles>
    221   <dependencies>
    222     <dependency>
    223       <groupId>com.google.code.findbugs</groupId>
    224       <artifactId>annotations</artifactId>
    225       <version>3.0.1u2</version>
    226       <scope>provided</scope>
    227       <exclusions>
    228         <exclusion>
    229           <artifactId>jcip-annotations</artifactId>
    230           <groupId>net.jcip</groupId>
    231         </exclusion>
    232         <exclusion>
    233           <artifactId>jsr305</artifactId>
    234           <groupId>com.google.code.findbugs</groupId>
    235         </exclusion>
    236       </exclusions>
    237     </dependency>
    238     <dependency>
    239       <groupId>org.projectlombok</groupId>
    240       <artifactId>lombok</artifactId>
    241       <version>1.16.12</version>
    242       <scope>provided</scope>
    243     </dependency>
    244   </dependencies>
    245   <properties>
    246     <shade.source>org.objectweb.asm</shade.source>
    247     <shade.target>net.bytebuddy.jar.asm</shade.target>
    248   </properties>
    249 </project>
    250 
    251