Mercurial > hg > orthanc-java
diff Samples/MammographyDeepLearning/pom.xml @ 29:118adbad648f
sharing common properties between samples
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jun 2024 14:44:37 +0200 |
parents | 43923934e934 |
children |
line wrap: on
line diff
--- a/Samples/MammographyDeepLearning/pom.xml Wed Jun 12 13:58:29 2024 +0200 +++ b/Samples/MammographyDeepLearning/pom.xml Wed Jun 12 14:44:37 2024 +0200 @@ -66,12 +66,32 @@ </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>OrthancMammographyDeepLearning</groupId> <artifactId>OrthancMammographyDeepLearning</artifactId> - <version>mainline</version> + <version>${orthanc_java.version}</version> <properties> <maven.compiler.source>11</maven.compiler.source>