nix
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.gnode</groupId>
<artifactId>nix</artifactId>
<version>1.0</version>
</dependency><?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.gnode</groupId>
<artifactId>nix</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<name>Java Bindings for NIX</name>
<description>Java bindings for NIX library</description>
<url>https://github.com/G-Node/nix-java</url>
<licenses>
<license>
<name>German Neuroinformatics Node (G-Node) License</name>
<url>https://github.com/G-Node/nix-java/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/G-Node/nix-java</url>
<connection>scm:git:git://github.com/G-Node/nix-java.git</connection>
<developerConnection>scm:git:ssh://git@github.com/G-Node/nix-java.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>
<developers>
<developer>
<name>Adrian Stoewer</name>
<email>adrian.stoewer@rz.ifi.lmu.de</email>
</developer>
<developer>
<name>Sujith Vadakkepat</name>
<email>sujithvm24@gmail.com</email>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<platform>${os.name}-${os.arch}</platform>
<platform.properties>${platform}</platform.properties>
<nixIncludePath>/usr/local/include/</nixIncludePath>
<boostIncludePath>/usr/include/boost/</boostIncludePath>
<nixLinkPath>/usr/local/lib/</nixLinkPath>
<hdf5LinkPath>/usr/lib/x86_64-linux-gnu/</hdf5LinkPath>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.jcip</groupId>
<artifactId>jcip-annotations</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<version>0.11</version>
<configuration>
<properties>${platform.properties}</properties>
<classPath>${project.build.outputDirectory}</classPath>
<includePaths>
<includePath>${nixIncludePath}</includePath>
<includePath>${boostIncludePath}</includePath>
</includePaths>
<linkPath>${nixLinkPath}</linkPath>
<compilerOptions>
<compilerOption>-std=c++11</compilerOption>
</compilerOptions>
<copyLibs>true</copyLibs>
<preloadPath>${hdf5LinkPath}</preloadPath>
</configuration>
<executions>
<execution>
<id>process-classes</id>
<phase>process-classes</phase>
<goals>
<goal>build</goal>
</goals>
<configuration>
<skip>false</skip>
<classOrPackageNames>
<classOrPackageName>org.gnode.nix.*</classOrPackageName>
<classOrPackageName>org.gnode.nix.internal.*</classOrPackageName>
<classOrPackageName>org.gnode.nix.base.*</classOrPackageName>
<classOrPackageName>org.gnode.nix.valid.*</classOrPackageName>
<classOrPackageName>org.gnode.nix.util.*</classOrPackageName>
</classOrPackageNames>
<copyLibs>true</copyLibs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
<manifestEntries>
<Class-Path>./ javacpp.jar ${project.artifactId}-linux-arm.jar
${project.artifactId}-linux-x86.jar ${project.artifactId}-linux-x86_64.jar
${project.artifactId}-windows-x86.jar ${project.artifactId}-windows-x86_64.jar
</Class-Path>
<Name>org/gnode/nix/</Name>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Vendor>G-Node</Implementation-Vendor>
<Implementation-Version>${project.version}</Implementation-Version>
<Specification-Title>${project.name}</Specification-Title>
</manifestEntries>
</archive>
<includes>
<include>org/gnode/nix/*</include>
<include>org/gnode/nix/internal/*</include>
<include>org/gnode/nix/base/*</include>
<include>org/gnode/nix/valid/*</include>
<include>org/gnode/nix/util/*</include>
</includes>
<excludes>
<exclude>org/gnode/nix/${platform}/</exclude>
<exclude>org/gnode/nix/internal/${platform}/</exclude>
<exclude>org/gnode/nix/base/${platform}/</exclude>
<exclude>org/gnode/nix/valid/${platform}/</exclude>
<exclude>org/gnode/nix/util/${platform}/</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>${platform}</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>${platform}</classifier>
<skipIfEmpty>true</skipIfEmpty>
<includes>
<include>org/gnode/nix/${platform}/</include>
<include>org/gnode/nix/internal/${platform}/</include>
<include>org/gnode/nix/base/${platform}/</include>
<include>org/gnode/nix/valid/${platform}/</include>
<include>org/gnode/nix/util/${platform}/</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<aggregate>true</aggregate>
<show>public</show>
<nohelp>true</nohelp>
<header>NIX Java Bindings, ${project.version}</header>
<footer>NIX Java Bindings, ${project.version}</footer>
<doctitle>NIX Java Bindings, ${project.version}</doctitle>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<detectLinks>true</detectLinks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<parallel>suites</parallel>
<forkCount>1</forkCount>
<threadCount>1</threadCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
<checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory>
<checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment>
<content>${project.reporting.outputDirectory}/apidocs</content>
<skipDeletedFiles>true</skipDeletedFiles>
<pubScmUrl>scm:git:git@github.com:G-Node/nix-java.git</pubScmUrl>
<scmBranch>gh-pages</scmBranch>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.4</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</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.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>platform-dependency</id>
<activation>
<property>
<name>platform.dependency</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>${platform}</classifier>
</dependency>
</dependencies>
</profile>
<profile>
<id>platform-dependencies</id>
<activation>
<property>
<name>platform.dependencies</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>linux-x86</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>windows-x86</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>windows-x86_64</classifier>
</dependency>
</dependencies>
</profile>
<profile>
<id>linux</id>
<activation>
<os>
<name>linux</name>
</os>
</activation>
<properties>
<os.name>linux</os.name>
</properties>
</profile>
<profile>
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<os.name>windows</os.name>
</properties>
</profile>
<profile>
<id>amd64</id>
<activation>
<os>
<arch>amd64</arch>
</os>
</activation>
<properties>
<os.arch>x86_64</os.arch>
</properties>
</profile>
<profile>
<id>x86-64</id>
<activation>
<os>
<arch>x86-64</arch>
</os>
</activation>
<properties>
<os.arch>x86_64</os.arch>
</properties>
</profile>
</profiles>
</project>