Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
151 lines (130 sloc) 3.72 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.imagej</groupId>
<artifactId>pom-ops-experiments</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
<groupId>net.imagej</groupId>
<artifactId>ops-experiments-cuda</artifactId>
<version>0.1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>net.imagej</groupId>
<artifactId>ops-experiments-common</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<!-- ImageJ dependencies -->
<dependency>
<groupId>net.imagej</groupId>
<artifactId>imagej</artifactId>
</dependency>
<dependency>
<groupId>net.imagej</groupId>
<artifactId>imagej-ops</artifactId>
<!-- <version>0.40.1-SNAPSHOT</version>-->
</dependency>
<dependency>
<groupId>net.imagej</groupId>
<artifactId>imagej-legacy</artifactId>
</dependency>
<!-- Imglib2 dependencies -->
<dependency>
<groupId>net.imglib2</groupId>
<artifactId>imglib2</artifactId>
</dependency>
<dependency>
<groupId>net.imglib2</groupId>
<artifactId>imglib2-ij</artifactId>
</dependency>
<!-- Third party dependencies -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<version>1.3.2</version>
</dependency>
<!-- Test scope dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!-- Detect platform: ${os.detected.classifier} -->
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.5.0.Final</version>
</extension>
</extensions>
<plugins>
<!-- Execute cppbuild.sh to build libraries -->
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution>
<id>cppbuild</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bash</executable>
<commandlineArgs>${project.basedir}/native/cppbuild.sh</commandlineArgs>
<workingDirectory>${project.basedir}/native</workingDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<skip>True</skip>
</configuration>
<executions>
<execution>
<id>enforce-no-snapshots</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Use JavaCpp to create wrappers to native libraries -->
<plugin>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<version>1.3</version>
<configuration>
<classPath>${project.build.outputDirectory}</classPath>
<includePaths>
<includePath>${project.build.sourceDirectory}</includePath>
<includePath>${basedir}/native/YacuDecu/src/</includePath>
</includePaths>
<linkPaths>
<linkPath>${basedir}/native/lib/</linkPath>
</linkPaths>
<copyLibs>true</copyLibs>
</configuration>
<executions>
<execution>
<id>process-classes</id>
<phase>process-classes</phase>
<goals>
<goal>build</goal>
</goals>
<configuration>
<classOrPackageNames>
<classOrPackageName>net.imagej.ops.experiments.filter.deconvolve.YacuDecuRichardsonLucyWrapper</classOrPackageName>
</classOrPackageNames>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>