Mercurial > hg > orthanc-java
view Samples/Dcm4Che/pom.xml @ 44:bf991ffd67cd default tip
Added a Dockerfile to build the code model
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 10 Jan 2025 17:52:50 +0100 |
parents | 118adbad648f |
children |
line wrap: on
line source
<?xml version='1.0' encoding='UTF-8'?> <!-- SPDX-FileCopyrightText: 2023-2024 Sebastien Jodogne, UCLouvain, Belgium SPDX-License-Identifier: GPL-3.0-or-later --> <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> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <!-- https://stackoverflow.com/a/1729094 --> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin> <!-- Include the Orthanc Java SDK --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${project.basedir}/../../JavaSDK/be/uclouvain/orthanc</source> </sources> </configuration> </execution> </executions> </plugin> <!-- Sharing properties between the samples --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>properties-maven-plugin</artifactId> <version>1.0.0</version> <executions> <execution> <phase>initialize</phase> <goals> <goal>read-project-properties</goal> </goals> <configuration> <files> <file>${project.basedir}/../global.properties</file> </files> </configuration> </execution> </executions> </plugin> </plugins> </build> <groupId>OrthancJava</groupId> <artifactId>OrthancDcm4Che</artifactId> <version>${orthanc_java.version}</version> <repositories> <repository> <id>dcm4che</id> <url>https://www.dcm4che.org/maven2/</url> </repository> </repositories> <dependencies> <!-- https://mvnrepository.com/artifact/org.dcm4che/dcm4che-core --> <dependency> <groupId>org.dcm4che</groupId> <artifactId>dcm4che-core</artifactId> <version>5.29.1</version> </dependency> </dependencies> </project>