Mercurial > hg > orthanc-java
comparison Samples/Basic/pom.xml @ 9:88c1614fb3dc
added sample basic plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Oct 2023 11:55:38 +0200 |
parents | |
children | 6b9433432ee0 |
comparison
equal
deleted
inserted
replaced
8:26c08ff926a3 | 9:88c1614fb3dc |
---|---|
1 <?xml version='1.0' encoding='UTF-8'?> | |
2 | |
3 <!-- | |
4 | |
5 SPDX-FileCopyrightText: 2023 Sebastien Jodogne, UCLouvain, Belgium | |
6 SPDX-License-Identifier: GPL-3.0-or-later | |
7 | |
8 --> | |
9 | |
10 <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"> | |
11 <modelVersion>4.0.0</modelVersion> | |
12 <build> | |
13 <plugins> | |
14 <plugin> | |
15 <groupId>org.apache.maven.plugins</groupId> | |
16 <artifactId>maven-compiler-plugin</artifactId> | |
17 <configuration> | |
18 <source>1.8</source> | |
19 <target>1.8</target> | |
20 </configuration> | |
21 </plugin> | |
22 | |
23 <!-- https://stackoverflow.com/a/1729094 --> | |
24 <plugin> | |
25 <artifactId>maven-assembly-plugin</artifactId> | |
26 <executions> | |
27 <execution> | |
28 <phase>package</phase> | |
29 <goals> | |
30 <goal>single</goal> | |
31 </goals> | |
32 </execution> | |
33 </executions> | |
34 <configuration> | |
35 <descriptorRefs> | |
36 <descriptorRef>jar-with-dependencies</descriptorRef> | |
37 </descriptorRefs> | |
38 </configuration> | |
39 </plugin> | |
40 | |
41 <!-- Include the Orthanc Java SDK --> | |
42 <plugin> | |
43 <groupId>org.codehaus.mojo</groupId> | |
44 <artifactId>build-helper-maven-plugin</artifactId> | |
45 <executions> | |
46 <execution> | |
47 <id>add-source</id> | |
48 <phase>generate-sources</phase> | |
49 <goals> | |
50 <goal>add-source</goal> | |
51 </goals> | |
52 <configuration> | |
53 <sources> | |
54 <source>${project.basedir}/../../JavaSDK/be/uclouvain/orthanc</source> | |
55 </sources> | |
56 </configuration> | |
57 </execution> | |
58 </executions> | |
59 </plugin> | |
60 | |
61 </plugins> | |
62 </build> | |
63 | |
64 <groupId>OrthancJava</groupId> | |
65 <artifactId>Basic</artifactId> | |
66 <version>0.0-SNAPSHOT</version> | |
67 | |
68 <dependencies> | |
69 </dependencies> | |
70 </project> |