This repository has been archived by the owner on May 12, 2021. It is now read-only.
/
pom.xml
100 lines (88 loc) · 3.45 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>Onyx Instrument Bootstrap</name>
<description>Onyx Instrument Bootstrap</description>
<groupId>org.obiba.onyx</groupId>
<artifactId>onyx-instrument-bootstrap</artifactId>
<packaging>jar</packaging>
<parent>
<groupId>org.obiba.onyx</groupId>
<artifactId>onyx-jade</artifactId>
<version>1.12.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<!-- NOTE: Please think twice or thrice before adding a dependency here.
Whatever is listed here becomes a dependency for EVERY instrument deployed in Onyx.
As such, we must keep them to a minimal. -->
<dependency>
<groupId>org.obiba.onyx</groupId>
<artifactId>onyx-jade-remote-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<!-- Use the JDK's logging implementation so we reduce the number of dependencies for instrument projects -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Built-By>OBiBa</Built-By>
<Permissions>all-permissions</Permissions>
<Trusted-Library>true</Trusted-Library>
<Codebase>*</Codebase>
<Application-Library-Allowable-Codebase>*</Application-Library-Allowable-Codebase>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo.webstart</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-alpha-2p01</version>
<executions>
<execution>
<id>make-jnlp</id>
<phase>package</phase>
<goals>
<goal>jnlp-single</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory -->
<libPath>lib</libPath>
<jnlp />
<!-- causes a version attribute to be output in each jar resource element, optional, default is false -->
<outputJarVersions>false</outputJarVersions>
<verbose>false</verbose>
</configuration>
</plugin>
</plugins>
</build>
</project>