Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
563 lines (514 sloc) 22.6 KB
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.gephi</groupId>
<artifactId>gephi-toolkit</artifactId>
<version>0.9.3-SNAPSHOT</version>
<packaging>jar</packaging>
<name>gephi-toolkit</name>
<!-- Project Metadata -->
<url>https://github.com/gephi/gephi-toolkit</url>
<description>Gephi - All Gephi in one JAR library</description>
<organization>
<url>http://gephi.org/toolkit/</url>
</organization>
<inceptionYear>2007</inceptionYear>
<!-- Licenses -->
<licenses>
<license>
<name>CDDL 1.0</name>
<url>http://www.opensource.org/licenses/CDDL-1.0</url>
<comments>CDDL License 1.0</comments>
</license>
<license>
<name>GPL v3</name>
<url>http://www.opensource.org/licenses/GPL-3.0</url>
<comments>GPL v3 License</comments>
</license>
</licenses>
<!-- SCM -->
<scm>
<connection>scm:git:git://github.com/gephi/gephi-toolkit.git</connection>
<developerConnection>scm:git:git@github.com:gephi/gephi-toolkit.git</developerConnection>
<url>https://github.com/gephi/gephi-toolkit</url>
</scm>
<!-- Developers -->
<developers>
<developer>
<id>mbastian</id>
<name>Mathieu Bastian</name>
<email>mathieu.bastian@gephi.org</email>
</developer>
<developer>
<id>eduramiba</id>
<name>Eduardo Ramos</name>
<email>eduardo.ramos@gephi.org</email>
</developer>
</developers>
<!-- Properties -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gephi.maven.requiredVersion>3.2.2</gephi.maven.requiredVersion>
<netbeans.run.params.ide/>
<netbeans.run.params>${netbeans.run.params.ide}</netbeans.run.params>
<!-- Netbeans Platfrom version -->
<netbeans.version>RELEASE82</netbeans.version>
<!-- Gephi version -->
<gephi.version>${project.version}</gephi.version>
<!-- Java compilation settings -->
<gephi.javac.source>1.7</gephi.javac.source>
<gephi.javac.target>1.7</gephi.javac.target>
<gephi.javac.xlint>-Xlint:all</gephi.javac.xlint>
<gephi.javac.debug>true</gephi.javac.debug>
<gephi.javac.optimize>true</gephi.javac.optimize>
<gephi.javac.showDeprecation>true</gephi.javac.showDeprecation>
<gephi.javac.showWarnings>true</gephi.javac.showWarnings>
<gephi.javac.fork>true</gephi.javac.fork>
<!-- Testing settings -->
<gephi.testng.version>6.11</gephi.testng.version>
<gephi.junit.version>4.7</gephi.junit.version>
<gephi.test.maxMemory>768M</gephi.test.maxMemory>
<gephi.test.reportsDirectory>${project.build.directory}/surefire-reports/plain</gephi.test.reportsDirectory>
<gephi.test.failureIgnore>${testFailureIgnore}</gephi.test.failureIgnore>
<!-- Repository URLs -->
<gephi.ossrh.repository.id>ossrh</gephi.ossrh.repository.id>
<gephi.ossrh.repository.url>https://oss.sonatype.org/content/repositories/snapshots</gephi.ossrh.repository.url>
<!-- SCM -->
<gephi.scm>git</gephi.scm>
<!-- Disable doclint for now as Javadoc is much more strict in 1.8 -->
<additionalparam>-Xdoclint:none</additionalparam>
<!--==== Plugin Versions ==================================================================================-->
<gephi.maven-assembly-plugin.version>3.1.0</gephi.maven-assembly-plugin.version>
<gephi.maven-clean-plugin.version>3.0.0</gephi.maven-clean-plugin.version>
<gephi.maven-compiler-plugin.version>3.7.0</gephi.maven-compiler-plugin.version>
<gephi.maven-dependency-plugin.version>3.0.2</gephi.maven-dependency-plugin.version>
<gephi.maven-deploy-plugin.version>2.8.2</gephi.maven-deploy-plugin.version>
<gephi.maven-gpg-plugin.version>1.6</gephi.maven-gpg-plugin.version>
<gephi.maven-install-plugin.version>2.5.2</gephi.maven-install-plugin.version>
<gephi.maven-jar-plugin.version>3.0.2</gephi.maven-jar-plugin.version>
<gephi.maven-jarsigner-plugin.version>1.4</gephi.maven-jarsigner-plugin.version>
<gephi.maven-javadoc-plugin.version>2.10.4</gephi.maven-javadoc-plugin.version>
<gephi.maven-license-plugin.version>1.9.0</gephi.maven-license-plugin.version>
<gephi.maven-release-plugin.version>2.5.3</gephi.maven-release-plugin.version>
<gephi.maven-resources-plugin.version>3.0.2</gephi.maven-resources-plugin.version>
<gephi.maven-source-plugin.version>3.0.1</gephi.maven-source-plugin.version>
<gephi.maven-surefire-plugin.version>2.20.1</gephi.maven-surefire-plugin.version>
<gephi.build-helper-maven-plugin.version>3.0.0</gephi.build-helper-maven-plugin.version>
<gephi.wagon-maven-plugin.version>1.0</gephi.wagon-maven-plugin.version>
<gephi.maven-site-plugin.version>3.6</gephi.maven-site-plugin.version>
<gephi.nexus-staging-maven-plugin.version>1.6.8</gephi.nexus-staging-maven-plugin.version>
</properties>
<!-- Maven required version -->
<prerequisites>
<maven>${gephi.maven.requiredVersion}</maven>
</prerequisites>
<!-- Repositories -->
<repositories>
<repository>
<id>netbeans</id>
<name>NetBeans</name>
<url>http://bits.netbeans.org/nexus/content/groups/netbeans/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>gephi-thirdparty</id>
<url>https://raw.github.com/gephi/gephi/mvn-thirdparty-repo/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>oss-sonatype</id>
<name>oss-sonatype</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<!-- Locations of the artifacts published -->
<distributionManagement>
<snapshotRepository>
<id>${gephi.ossrh.repository.id}</id>
<url>${gephi.ossrh.repository.url}</url>
</snapshotRepository>
</distributionManagement>
<!-- Dependencies -->
<dependencies>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-nbjunit</artifactId>
<version>${netbeans.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-masterfs</artifactId>
<version>${netbeans.version}</version>
</dependency>
<dependency>
<!-- Necessary because of bug https://netbeans.org/bugzilla/show_bug.cgi?id=84501 See http://wiki.netbeans.org/UsingFileSystemsMasterfs -->
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-core-startup-base</artifactId>
<version>${netbeans.version}</version>
</dependency>
<dependency>
<!-- Necessary for netbeans property editors -->
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-core</artifactId>
<version>${netbeans.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>utils-longtask</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>project-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-exporter-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>graph-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>preview-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-exporter-preview</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>utils</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>datalab-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>visualization-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>preview-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>db-drivers</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-importer-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-processor-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>appearance-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>statistics-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>statistics-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>algorithms-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>mostrecentfiles-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>layout-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-generator-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-generator-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-exporter-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>filters-api</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>ui-propertyeditor</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>layout-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>io-importer-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>filters-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>filters-impl</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>appearance-plugin</artifactId>
<version>${gephi.version}</version>
</dependency>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>core-library-wrapper</artifactId>
<version>${gephi.version}</version>
</dependency>
</dependencies>
<build>
<!-- Plugins installed with versions -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${gephi.maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${gephi.maven-clean-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${gephi.maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${gephi.maven-deploy-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${gephi.maven-release-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gephi.maven-gpg-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${gephi.build-helper-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${gephi.maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>${gephi.maven-jarsigner-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${gephi.maven-source-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${gephi.maven-resources-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${gephi.maven-dependency-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${gephi.maven-install-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>${gephi.wagon-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${gephi.maven-javadoc-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${gephi.maven-assembly-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${gephi.maven-site-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${gephi.nexus-staging-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<!-- Plugins configuration ===============================================================-->
<plugins>
<!-- Compiler -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<debug>${gephi.javac.debug}</debug>
<optimize>${gephi.javac.optimize}</optimize>
<source>${gephi.javac.source}</source>
<target>${gephi.javac.target}</target>
<showDeprecation>${gephi.javac.showDeprecation}</showDeprecation>
<showWarnings>${gephi.javac.showWarnings}</showWarnings>
<fork>${gephi.javac.fork}</fork>
<compilerArgument>
${gephi.javac.xlint}
</compilerArgument>
</configuration>
</plugin>
<!-- Skip unit tests in non-deployment or release mode -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<!-- Assembler to produce final uberjar -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>assembly-jar</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
<appendAssemblyId>true</appendAssemblyId>
<finalName>${project.name}-${project.version}</finalName>
<descriptors>
<descriptor>src/main/assembly/jar.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<!-- Javadoc settings -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<show>public</show>
<doctitle>Gephi Toolkit ${project.version} API Index</doctitle>
<nohelp>true</nohelp>
<detectLinks>false</detectLinks>
<detectOfflineLinks>true</detectOfflineLinks>
</configuration>
<executions>
<execution>
<id>javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceExclude>org.gephi:*:*</dependencySourceExclude>
</dependencySourceIncludes>
<dependencySourceExcludes>
<dependencySourceExclude>org.gephi:core-library-wrapper:*</dependencySourceExclude>
</dependencySourceExcludes>
</configuration>
</execution>
</executions>
</plugin>
<!-- GPG Signed Components -->
<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>
<!-- Nexus staging, https://oss.sonatype.org/ -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</project>