reflectasm/pom.xml

137 lines
3.9 KiB
XML
Raw Normal View History

<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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
2012-04-01 07:15:17 +08:00
<modelVersion>4.0.0</modelVersion>
<groupId>com.esotericsoftware</groupId>
2012-04-01 07:15:17 +08:00
<artifactId>reflectasm</artifactId>
<version>1.11.10-SNAPSHOT</version>
2014-07-22 00:36:25 +08:00
<packaging>bundle</packaging>
2012-04-01 07:15:17 +08:00
<name>ReflectASM</name>
<description>High performance Java reflection using code generation</description>
2014-07-21 06:41:22 +08:00
<url>https://github.com/EsotericSoftware/reflectasm</url>
2012-04-01 07:15:17 +08:00
<licenses>
<license>
<name>3-Clause BSD License</name>
<url>https://opensource.org/licenses/BSD-3-Clause</url>
2012-04-01 07:15:17 +08:00
<distribution>repo</distribution>
</license>
</licenses>
<scm>
2014-07-21 06:41:22 +08:00
<url>https://github.com/EsotericSoftware/reflectasm</url>
<connection>scm:git:git@github.com:EsotericSoftware/reflectasm.git</connection>
<developerConnection>scm:git:git@github.com:EsotericSoftware/reflectasm.git</developerConnection>
2012-04-01 07:15:17 +08:00
</scm>
<developers>
<developer>
<id>nathan.sweet</id>
<name>Nathan Sweet</name>
<email>nathan.sweet@gmail.com</email>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
2012-06-01 16:42:44 +08:00
<groupId>org.ow2.asm</groupId>
2012-04-01 07:15:17 +08:00
<artifactId>asm</artifactId>
2016-11-09 08:19:36 +08:00
<version>5.1</version>
2012-04-01 07:15:17 +08:00
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!-- Set nonstandard source and test source dirs -->
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
2012-04-01 07:15:17 +08:00
<!-- Disable resources (project has none) -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>default-resources</id>
<phase>none</phase>
</execution>
<execution>
<id>default-testResources</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
2012-06-19 16:38:11 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.esotericsoftware.reflectasm</Automatic-Module-Name>
</manifestEntries>
</archive>
2012-06-19 16:38:11 +08:00
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
2012-06-19 16:38:11 +08:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<!-- remove all classes of dependencies that are not used by the project -->
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>false</shadedArtifactAttached>
2012-06-19 16:38:11 +08:00
<relocations>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>com.esotericsoftware.asm</shadedPattern>
2012-06-19 16:38:11 +08:00
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
2014-07-22 00:36:25 +08:00
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.esotericsoftware.reflectasm*</Export-Package>
2019-03-15 18:34:01 +08:00
<Import-Package>!org.objectweb.asm.*</Import-Package>
2014-07-22 00:36:25 +08:00
</instructions>
</configuration>
</plugin>
2012-04-01 07:15:17 +08:00
</plugins>
</build>
</project>