326 lines
9.9 KiB
Plaintext
326 lines
9.9 KiB
Plaintext
|
<?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">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<groupId>org.bytedeco</groupId>
|
||
|
<artifactId>javacpp</artifactId>
|
||
|
<version>1.3.3</version>
|
||
|
|
||
|
<name>JavaCPP</name>
|
||
|
<description>The missing bridge between Java and native C++</description>
|
||
|
<url>http://bytedeco.org/javacpp/</url>
|
||
|
|
||
|
<licenses>
|
||
|
<license>
|
||
|
<name>Apache License, Version 2.0</name>
|
||
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
||
|
<distribution>repo</distribution>
|
||
|
</license>
|
||
|
<license>
|
||
|
<name>GNU General Public License (GPL) version 2, or any later version</name>
|
||
|
<url>http://www.gnu.org/licenses/</url>
|
||
|
<distribution>repo</distribution>
|
||
|
</license>
|
||
|
<license>
|
||
|
<name>GPLv2 with Classpath exception</name>
|
||
|
<url>http://www.gnu.org/software/classpath/license.html</url>
|
||
|
<distribution>repo</distribution>
|
||
|
</license>
|
||
|
</licenses>
|
||
|
|
||
|
<developers>
|
||
|
<developer>
|
||
|
<name>Samuel Audet</name>
|
||
|
<email>samuel.audet@gmail.com</email>
|
||
|
</developer>
|
||
|
</developers>
|
||
|
|
||
|
<prerequisites>
|
||
|
<maven>3.0</maven>
|
||
|
</prerequisites>
|
||
|
|
||
|
<scm>
|
||
|
<url>https://github.com/bytedeco/javacpp</url>
|
||
|
<connection>scm:git:git://github.com/bytedeco/javacpp.git</connection>
|
||
|
<developerConnection>scm:git:ssh://git@github.com/bytedeco/javacpp.git</developerConnection>
|
||
|
</scm>
|
||
|
|
||
|
<distributionManagement>
|
||
|
<snapshotRepository>
|
||
|
<id>sonatype-nexus-snapshots</id>
|
||
|
<name>Sonatype Nexus Snapshots</name>
|
||
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
||
|
</snapshotRepository>
|
||
|
<repository>
|
||
|
<id>sonatype-nexus-staging</id>
|
||
|
<name>Sonatype Nexus Staging</name>
|
||
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||
|
</repository>
|
||
|
</distributionManagement>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<maven.build.timestamp.format>yyyyMMddhhmm</maven.build.timestamp.format>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.maven</groupId>
|
||
|
<artifactId>maven-plugin-api</artifactId>
|
||
|
<version>3.3.3</version>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
||
|
<artifactId>maven-plugin-annotations</artifactId>
|
||
|
<version>3.4</version>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.maven</groupId>
|
||
|
<artifactId>maven-core</artifactId>
|
||
|
<version>3.0</version>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>4.12</version>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-simple</artifactId>
|
||
|
<version>1.7.12</version>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<repositories>
|
||
|
<repository>
|
||
|
<id>sonatype-nexus-snapshots</id>
|
||
|
<name>Sonatype Nexus Snapshots</name>
|
||
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||
|
<releases>
|
||
|
<enabled>false</enabled>
|
||
|
</releases>
|
||
|
<snapshots>
|
||
|
<enabled>true</enabled>
|
||
|
</snapshots>
|
||
|
</repository>
|
||
|
</repositories>
|
||
|
|
||
|
<build>
|
||
|
<finalName>${project.artifactId}</finalName>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-plugin-plugin</artifactId>
|
||
|
<version>3.4</version>
|
||
|
<configuration>
|
||
|
<packagingTypes>
|
||
|
<packagingType>jar</packagingType>
|
||
|
</packagingTypes>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>default-descriptor</id>
|
||
|
<phase>process-classes</phase>
|
||
|
<goals>
|
||
|
<goal>descriptor</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.3</version>
|
||
|
<configuration>
|
||
|
<source>1.7</source>
|
||
|
<target>1.7</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>2.19.1</version>
|
||
|
<configuration>
|
||
|
<systemProperties>
|
||
|
<property>
|
||
|
<name>org.bytedeco.javacpp.maxbytes</name>
|
||
|
<value>1gb</value>
|
||
|
</property>
|
||
|
<property>
|
||
|
<name>org.bytedeco.javacpp.maxretries</name>
|
||
|
<value>3</value>
|
||
|
</property>
|
||
|
</systemProperties>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<version>3.0.2</version>
|
||
|
<configuration>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<mainClass>org.bytedeco.javacpp.tools.Builder</mainClass>
|
||
|
</manifest>
|
||
|
<manifestEntries>
|
||
|
<Class-Path>.</Class-Path>
|
||
|
<Name>org/bytedeco/javacpp/</Name>
|
||
|
<Implementation-Title>${project.name}</Implementation-Title>
|
||
|
<Implementation-Vendor>Bytedeco</Implementation-Vendor>
|
||
|
<Implementation-Version>${project.version}</Implementation-Version>
|
||
|
<Specification-Title>${project.name}</Specification-Title>
|
||
|
<Specification-Vendor>Bytedeco</Specification-Vendor>
|
||
|
<Specification-Version>${project.version}</Specification-Version>
|
||
|
</manifestEntries>
|
||
|
</archive>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-install-plugin</artifactId>
|
||
|
<version>2.5.2</version>
|
||
|
<configuration>
|
||
|
<createChecksum>true</createChecksum>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
<version>3.0.0</version>
|
||
|
<configuration>
|
||
|
<descriptors>
|
||
|
<descriptor>src/main/assembly/bin.xml</descriptor>
|
||
|
<descriptor>src/main/assembly/src.xml</descriptor>
|
||
|
</descriptors>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>single</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-source-plugin</artifactId>
|
||
|
<version>3.0.1</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>attach-source</id>
|
||
|
<goals>
|
||
|
<goal>jar-no-fork</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||
|
<version>2.10.4</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>attach-javadocs</id>
|
||
|
<goals>
|
||
|
<goal>jar</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<links>
|
||
|
<link>http://maven.apache.org/ref/3.3.3/maven-plugin-api/apidocs/</link>
|
||
|
<link>http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/</link>
|
||
|
<link>http://maven.apache.org/ref/3.0/maven-core/apidocs/</link>
|
||
|
<link>http://www.slf4j.org/apidocs/</link>
|
||
|
<link>http://junit.org/junit4/javadoc/4.11/</link>
|
||
|
</links>
|
||
|
<show>private</show>
|
||
|
<tagletArtifacts>
|
||
|
<tagletArtifact>
|
||
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
||
|
<artifactId>maven-plugin-tools-javadoc</artifactId>
|
||
|
<version>2.9</version>
|
||
|
</tagletArtifact>
|
||
|
</tagletArtifacts>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||
|
<version>2.8.2</version>
|
||
|
<configuration>
|
||
|
<skip>true</skip>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.sonatype.plugins</groupId>
|
||
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||
|
<version>1.6.6</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>default-deploy</id>
|
||
|
<phase>deploy</phase>
|
||
|
<goals>
|
||
|
<goal>deploy</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<extensions>true</extensions>
|
||
|
<configuration>
|
||
|
<serverId>sonatype-nexus-staging</serverId>
|
||
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||
|
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<profiles>
|
||
|
<profile>
|
||
|
<id>doclint-java8-disable</id>
|
||
|
<activation>
|
||
|
<jdk>[1.8,)</jdk>
|
||
|
</activation>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<additionalparam>-Xdoclint:none</additionalparam>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
|
||
|
<profile>
|
||
|
<id>sign-artifacts</id>
|
||
|
<activation>
|
||
|
<property>
|
||
|
<name>performRelease</name>
|
||
|
<value>true</value>
|
||
|
</property>
|
||
|
</activation>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-gpg-plugin</artifactId>
|
||
|
<version>1.6</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>sign-artifacts</id>
|
||
|
<phase>verify</phase>
|
||
|
<goals>
|
||
|
<goal>sign</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<configuration>
|
||
|
<useAgent>false</useAgent>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
</profiles>
|
||
|
|
||
|
</project>
|