bioformats-imageinfo/pom.xml

182 lines
5.6 KiB
XML
Raw Permalink Normal View History

2022-07-12 09:40:35 +09:00
<?xml version="1.0" encoding="UTF-8"?>
2022-10-05 18:03:46 +09:00
<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">
2022-07-12 09:40:35 +09:00
<modelVersion>4.0.0</modelVersion>
<groupId>jp.riken.neurodata.tools.BioFormatsImageInfo</groupId>
<artifactId>bioformats-imageinfo</artifactId>
2023-04-20 12:25:50 +09:00
<version>1.1.3</version>
2022-07-12 09:40:35 +09:00
<name>bioformats-imageinfo</name>
<url>https://neurodata.riken.jp</url>
<properties>
2023-04-20 12:25:50 +09:00
<bio-formats.version>6.12.0</bio-formats.version>
<bioformats-imageinfo.mainClass>jp.riken.neurodata.tools.BioFormatsImageInfo</bioformats-imageinfo.mainClass>
2022-07-12 09:40:35 +09:00
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2022-07-12 09:40:35 +09:00
</properties>
<dependencies>
<dependency>
<groupId>ome</groupId>
<artifactId>bio-formats-tools</artifactId>
<version>${bio-formats.version}</version>
2022-07-12 09:40:35 +09:00
</dependency>
2023-04-20 12:25:50 +09:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.7.30</version>
</dependency>
2022-07-12 09:40:35 +09:00
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2023-04-20 12:25:50 +09:00
<artifactId>maven-enforcer-plugin</artifactId>
2022-07-12 09:40:35 +09:00
<version>3.3.0</version>
2023-04-20 12:25:50 +09:00
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.2.5</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.5.0</version>
2022-07-12 09:40:35 +09:00
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<overWriteIfNewer>true</overWriteIfNewer>
2022-10-05 18:03:46 +09:00
</configuration>
2022-07-12 09:40:35 +09:00
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
2023-04-20 12:25:50 +09:00
<version>3.3.0</version>
2022-07-12 09:40:35 +09:00
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
2022-10-05 18:03:46 +09:00
<mainClass>${bioformats-imageinfo.mainClass}</mainClass>
2022-07-12 09:40:35 +09:00
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
2023-04-20 12:25:50 +09:00
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>2.1.0</version>
2022-07-12 09:40:35 +09:00
<configuration>
2023-04-20 12:25:50 +09:00
<assembleDirectory>${project.build.directory}/dist</assembleDirectory>
<repositoryLayout>flat</repositoryLayout>
<repositoryName>lib</repositoryName>
<programs>
<program>
2022-10-05 18:03:46 +09:00
<mainClass>${bioformats-imageinfo.mainClass}</mainClass>
2023-04-20 12:25:50 +09:00
<id>${project.name}</id>
</program>
</programs>
2022-07-12 09:40:35 +09:00
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
2023-04-20 12:25:50 +09:00
<goal>assemble</goal>
2022-07-12 09:40:35 +09:00
</goals>
</execution>
</executions>
</plugin>
<plugin>
2023-04-20 12:25:50 +09:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.5.0</version>
<configuration>
2023-04-20 12:25:50 +09:00
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
2022-10-05 18:03:46 +09:00
<mainClass>${bioformats-imageinfo.mainClass}</mainClass>
2023-04-20 12:25:50 +09:00
</manifest>
</archive>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
2023-04-20 12:25:50 +09:00
<id>make-assembly</id>
<phase>package</phase>
<goals>
2023-04-20 12:25:50 +09:00
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
2023-04-20 12:25:50 +09:00
<version>8.2.1</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
2022-07-12 09:40:35 +09:00
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
2023-04-20 12:25:50 +09:00
<!-- <url>https://repo.maven.apache.org/maven2</url> -->
<url>https://repo1.maven.org/maven2/</url>
2022-07-12 09:40:35 +09:00
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
2022-07-12 09:40:35 +09:00
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
2023-04-20 12:25:50 +09:00
<!-- <url>https://repo.maven.apache.org/maven2</url> -->
<url>https://repo1.maven.org/maven2/</url>
2022-07-12 09:40:35 +09:00
</repository>
<repository>
<id>ome</id>
<name>OME Artifactory</name>
<url>https://artifacts.openmicroscopy.org/artifactory/maven/</url>
</repository>
<repository>
<id>unidata.releases</id>
<url>https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases</url>
</repository>
2022-07-12 09:40:35 +09:00
</repositories>
</project>