This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
apfloat-java/apfloat-1.8.2.pom
2016-11-14 19:04:40 +01:00

217 lines
7.8 KiB
Text

<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apfloat</groupId>
<artifactId>apfloat-parent</artifactId>
<version>1.8.2</version>
</parent>
<groupId>org.apfloat</groupId>
<artifactId>apfloat</artifactId>
<version>1.8.2</version>
<packaging>jar</packaging>
<name>apfloat</name>
<description>High performance arbitrary precision arithmetic library</description>
<url>http://www.apfloat.org</url>
<properties>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<filters>
<filter>src/main/resources/properties/serialver.properties</filter>
</filters>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<target>
<copy todir="target/generated-sources/int">
<fileset dir="src/main/template" />
<mapper type="regexp" from="(.*)Rawtype(.*)" to="\1Int\2" />
<filterchain>
<tokenfilter>
<replacestring from="sizeof(rawtype)" to="4" />
<replacestring from="rawtype" to="int" />
<replacestring from="Rawtype" to="Int" />
<replacestring from="RawType" to="Integer" />
</tokenfilter>
<expandproperties />
</filterchain>
</copy>
<copy todir="target/generated-sources/long">
<fileset dir="src/main/template" />
<mapper type="regexp" from="(.*)Rawtype(.*)" to="\1Long\2" />
<filterchain>
<tokenfilter>
<replacestring from="sizeof(rawtype)" to="8" />
<replacestring from="rawtype" to="long" />
<replacestring from="Rawtype" to="Long" />
<replacestring from="RawType" to="Long" />
</tokenfilter>
<expandproperties />
</filterchain>
</copy>
<copy todir="target/generated-sources/float">
<fileset dir="src/main/template" />
<mapper type="regexp" from="(.*)Rawtype(.*)" to="\1Float\2" />
<filterchain>
<tokenfilter>
<replacestring from="sizeof(rawtype)" to="4" />
<replacestring from="rawtype" to="float" />
<replacestring from="Rawtype" to="Float" />
<replacestring from="RawType" to="Float" />
</tokenfilter>
<expandproperties />
</filterchain>
</copy>
<copy todir="target/generated-sources/double">
<fileset dir="src/main/template" />
<mapper type="regexp" from="(.*)Rawtype(.*)" to="\1Double\2" />
<filterchain>
<tokenfilter>
<replacestring from="sizeof(rawtype)" to="8" />
<replacestring from="rawtype" to="double" />
<replacestring from="Rawtype" to="Double" />
<replacestring from="RawType" to="Double" />
</tokenfilter>
<expandproperties />
</filterchain>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources/main</outputDirectory>
<resources>
<resource>
<directory>target/generated-sources/int</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>target/generated-sources/long</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>target/generated-sources/float</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>target/generated-sources/double</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources/main</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<excludes>
<exclude>*</exclude>
</excludes>
<source>1.5</source>
<target>1.5</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<docencoding>ISO-8859-1</docencoding>
<links>
<link>http://docs.oracle.com/javase/8/docs/api/</link>
</links>
<source>1.5</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>META-INF/**</include>
</includes>
</resource>
</resources>
</build>
</project>