imagej-launcher
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.imagej</groupId>
<artifactId>imagej-launcher</artifactId>
<version>4.0.5</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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.imagej</groupId>
<artifactId>pom-imagej</artifactId>
<version>10.0.0</version>
<relativePath />
</parent>
<artifactId>imagej-launcher</artifactId>
<version>4.0.5</version>
<packaging>nar</packaging>
<name>ImageJ Launcher</name>
<description>The executable which runs ImageJ. Its purpose is also to make sure that updates downloaded by the ImageJ Updater will be put into place before starting the Java Virtual Machine. It was formerly known as the Fiji launcher.</description>
<developers>
<developer>
<id>ctrueden</id>
<name>Curtis Rueden</name>
<url>http://imagej.net/User:Rueden</url>
<roles>
<role>lead</role>
<role>developer</role>
<role>debugger</role>
<role>reviewer</role>
<role>support</role>
<role>maintainer</role>
</roles>
</developer>
<developer>
<id>hinerm</id>
<name>Mark Hiner</name>
<url>http://imagej.net/User:Hinerm</url>
<roles>
<role>lead</role>
<role>developer</role>
<role>debugger</role>
<role>reviewer</role>
<role>support</role>
<role>maintainer</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>Johannes Schindelin</name>
<url>http://imagej.net/User:Schindelin</url>
<properties><id>dscho</id></properties>
<roles><role>founder</role></roles>
</contributor>
<contributor>
<name>Ben Booth</name>
<url>http://imagej.net/User:Benwbooth</url>
<properties><id>benwbooth</id></properties>
</contributor>
<contributor>
<name>Albert Cardona</name>
<url>http://imagej.net/User:Albertcardona</url>
<properties><id>acardona</id></properties>
</contributor>
<contributor>
<name>Erwin Frise</name>
<url>http://imagej.net/User:Frise</url>
<properties><id>frederikfly</id></properties>
</contributor>
<contributor>
<name>Gregory Jefferis</name>
<url>http://imagej.net/User:Jefferis</url>
<properties><id>jefferis</id></properties>
</contributor>
<contributor>
<name>Mark Longair</name>
<url>http://imagej.net/User:Mark</url>
<properties><id>mhl</id></properties>
</contributor>
<contributor>
<name>Josh Moore</name>
<url>http://imagej.net/User:Moore</url>
<properties><id>joshmoore</id></properties>
</contributor>
<contributor>
<name>Benjamin Schmid</name>
<url>http://imagej.net/User:Bene</url>
<properties><id>bene51</id></properties>
</contributor>
</contributors>
<scm>
<connection>scm:git:git://github.com/imagej/imagej-launcher</connection>
<developerConnection>scm:git:git@github.com:imagej/imagej-launcher</developerConnection>
<tag>imagej-launcher-4.0.5</tag>
<url>https://github.com/imagej/imagej-launcher</url>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/imagej/imagej-launcher/issues</url>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>http://jenkins.imagej.net/job/ImageJ-launcher/</url>
</ciManagement>
<properties>
<architecture.option />
<debug.option />
<ij.executable.name />
<nar.arch.path />
<java.os.include />
<libdl.name>dl</libdl.name>
<skipTests>true</skipTests>
<stack.protector.option />
<subsystem.option />
<maven.antrun.version>1.8</maven.antrun.version>
</properties>
<dependencies>
<dependency>
<groupId>org.scijava</groupId>
<artifactId>scijava-common</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<packageName>net.imagej.launcher</packageName>
<mainClass>net.imagej.launcher.ClassLauncher</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<c>
<name>gcc</name>
<includes>
<include>**/*.c</include>
</includes>
<options>
<option>-DLAUNCHER_VERSION="${project.version}"</option>
<option>-DBUILD_NUMBER="${buildNumber}"</option>
<option>-I${JAVA_HOME}/include</option>
<option>${java.os.include}</option>
<option>${stack.protector.option}</option>
<option>${architecture.option}</option>
<option>${subsystem.option}</option>
<option>${debug.option}</option>
</options>
</c>
<linker>
<name>gcc</name>
<options>
<option>${architecture.option}</option>
<option>${subsystem.option}</option>
</options>
<sysLibs>
<sysLib>
<name>${libdl.name}</name>
</sysLib>
</sysLibs>
</linker>
<libraries>
<library>
<type>executable</type>
<!-- <run>true</run> -->
<subSystem>gui</subSystem>
</library>
</libraries>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>net.imagej.launcher.ChangeIcon</mainClass>
<arguments>
<argument>${project.build.directory}/nar/${project.artifactId}-${project.version}-${nar.aol}-executable/bin/${nar.aol}/${project.artifactId}.exe</argument>
<argument>${basedir}/logo/ImageJ.ico</argument>
</arguments>
<classpathScope>test</classpathScope>
<includePluginDependencies>true</includePluginDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<licenseName>bsd_2</licenseName>
<organizationName>Board of Regents of the University of
Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
Institute of Molecular Cell Biology and Genetics.</organizationName>
<projectName>ImageJ software for multidimensional image processing and analysis.</projectName>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>copy-launchers</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.version}</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy tofile="${basedir}${file.separator}target${file.separator}${ij.executable.name}">
<fileset dir="${basedir}${file.separator}target${file.separator}nar${file.separator}">
<include name="**${file.separator}*${file.separator}bin${file.separator}${nar.arch.path}-*${file.separator}imagej-launcher*" />
</fileset>
<mapper type="flatten" />
</copy>
<chmod file="${basedir}${file.separator}target${file.separator}${ij.executable.name}" perm="a+x" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>amd64-Linux</id>
<activation>
<os>
<name>Linux</name>
<arch>amd64</arch>
</os>
</activation>
<properties>
<java.os.include>-I${JAVA_HOME}/include/linux</java.os.include>
<stack.protector.option>-fno-stack-protector</stack.protector.option>
<architecture.option>-m64</architecture.option>
<ij.executable.name>ImageJ-linux64</ij.executable.name>
<nar.arch.path>amd64</nar.arch.path>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<linker>
<sysLibs>
<sysLib>
<name>dl</name>
</sysLib>
<sysLib>
<name>pthread</name>
</sysLib>
</sysLibs>
</linker>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>i386-Linux</id>
<activation>
<os>
<name>Linux</name>
<arch>i386</arch>
</os>
</activation>
<properties>
<java.os.include>-I${JAVA_HOME}/include/linux</java.os.include>
<stack.protector.option>-fno-stack-protector</stack.protector.option>
<architecture.option>-m32</architecture.option>
<ij.executable.name>ImageJ-linux32</ij.executable.name>
<nar.arch.path>i386</nar.arch.path>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<linker>
<sysLibs>
<sysLib>
<name>dl</name>
</sysLib>
<sysLib>
<name>pthread</name>
</sysLib>
</sysLibs>
</linker>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>i386-Windows</id>
<activation>
<os>
<family>windows</family>
<arch>x86</arch>
</os>
</activation>
<properties>
<java.os.include>-I${JAVA_HOME}/include/win32</java.os.include>
<architecture.option>-m32</architecture.option>
<subsystem.option>-mwindows</subsystem.option>
<libdl.name>kernel32</libdl.name>
<ij.executable.name>ImageJ-win32.exe</ij.executable.name>
<nar.arch.path>x86</nar.arch.path>
</properties>
</profile>
<profile>
<id>amd64-Windows</id>
<activation>
<os>
<family>windows</family>
<arch>amd64</arch>
</os>
</activation>
<properties>
<java.os.include>-I${JAVA_HOME}/include/win32</java.os.include>
<architecture.option>-m64</architecture.option>
<subsystem.option>-mwindows</subsystem.option>
<libdl.name>kernel32</libdl.name>
<ij.executable.name>ImageJ-win64.exe</ij.executable.name>
<nar.arch.path>amd64</nar.arch.path>
</properties>
</profile>
<profile>
<id>MacOSX-all</id>
<activation>
<os>
<name>Mac OS X</name>
</os>
</activation>
<properties>
<ij.executable.name>Contents/MacOSX/ImageJ-macosx</ij.executable.name>
<nar.arch.path>x86_64</nar.arch.path>
</properties>
</profile>
<profile>
<id>MacOSX-Lion</id>
<activation>
<os>
<name>Mac OS X</name>
</os>
<file>
<exists>/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<c>
<name>gcc</name>
<options>
<option>-DLAUNCHER_VERSION="${project.version}"</option>
<option>-DBUILD_NUMBER="${buildNumber}"</option>
<option>-DNO_JAVA_FRAMEWORK</option>
<option>-I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/</option>
<option>-mmacosx-version-min=10.6</option>
<option>-arch</option>
<option>x86_64</option>
<option>${debug.option}</option>
</options>
</c>
<linker>
<options>
<option>-mmacosx-version-min=10.6</option>
<option>-arch</option>
<option>x86_64</option>
<option>-framework</option>
<option>CoreFoundation</option>
<option>-framework</option>
<option>ApplicationServices</option>
</options>
</linker>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>MacOSX-Leopard</id>
<activation>
<os>
<name>Mac OS X</name>
</os>
<property>
<name>os.arch</name>
<value>x86_64</value>
</property>
<file>
<exists>/System/Library/Frameworks/JavaVM.Framework/Headers</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<c>
<name>gcc</name>
<options>
<option>-DLAUNCHER_VERSION="${project.version}"</option>
<option>-DBUILD_NUMBER="${buildNumber}"</option>
<option>-I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/</option>
<option>-mmacosx-version-min=10.4</option>
<option>-arch</option>
<option>i386</option>
<option>-arch</option>
<option>x86_64</option>
<option>${debug.option}</option>
</options>
</c>
<linker>
<options>
<option>-mmacosx-version-min=10.4</option>
<option>-arch</option>
<option>i386</option>
<option>-arch</option>
<option>x86_64</option>
<option>-framework</option>
<option>CoreFoundation</option>
<option>-framework</option>
<option>ApplicationServices</option>
</options>
</linker>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>MacOSX-Tiger</id>
<activation>
<os>
<name>Mac OS X</name>
<arch>i386</arch>
</os>
</activation>
<build>
<!-- <defaultGoal>integration-test</defaultGoal> -->
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<c>
<name>gcc</name>
<options>
<option>-DLAUNCHER_VERSION="${project.version}"</option>
<option>-DBUILD_NUMBER="${buildNumber}"</option>
<option>-I/System/Library/Frameworks/JavaVM.Framework/Headers</option>
<option>-mmacosx-version-min=10.3</option>
<option>-arch</option>
<option>i386</option>
<option>-arch</option>
<option>ppc</option>
<option>${debug.option}</option>
</options>
</c>
<linker>
<options>
<option>-mmacosx-version-min=10.3</option>
<option>-arch</option>
<option>i386</option>
<option>-arch</option>
<option>ppc</option>
<option>-framework</option>
<option>CoreFoundation</option>
<option>-framework</option>
<option>ApplicationServices</option>
</options>
</linker>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>debug</id>
<properties>
<debug.option>-g</debug.option>
</properties>
</profile>
</profiles>
</project>