1 |
<project |
2 |
xmlns="http://maven.apache.org/POM/4.0.0" |
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
5 |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 |
|
7 |
<modelVersion>4.0.0</modelVersion> |
8 |
<groupId>dk.daoas</groupId> |
9 |
<artifactId>thn_mqutils</artifactId> |
10 |
<version>1.0</version> |
11 |
|
12 |
<properties> |
13 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
14 |
</properties> |
15 |
|
16 |
<build> |
17 |
<plugins> |
18 |
<plugin> |
19 |
<groupId>org.apache.maven.plugins</groupId> |
20 |
<artifactId>maven-compiler-plugin</artifactId> |
21 |
<version>3.1</version> |
22 |
<configuration> |
23 |
<source>1.7</source> |
24 |
<target>1.7</target> |
25 |
<showWarnings>true</showWarnings> |
26 |
<showDeprecation>true</showDeprecation> |
27 |
</configuration> |
28 |
<!--Do NOT show depreciation in test compile--> |
29 |
<executions> |
30 |
<execution> |
31 |
<id>default-testCompile</id> |
32 |
<phase>test-compile</phase> |
33 |
<configuration> |
34 |
<showDeprecation>false</showDeprecation> |
35 |
</configuration> |
36 |
<goals> |
37 |
<goal>testCompile</goal> |
38 |
</goals> |
39 |
</execution> |
40 |
</executions> |
41 |
</plugin> |
42 |
<plugin> |
43 |
<groupId>org.apache.maven.plugins</groupId> |
44 |
<artifactId>maven-jar-plugin</artifactId> |
45 |
<version>2.5</version> |
46 |
<configuration> |
47 |
<archive> |
48 |
<index>true</index> |
49 |
<manifest> |
50 |
<mainClass>com.traiana.utils.mq.MQDepth</mainClass> |
51 |
<!-- |
52 |
<addClasspath>true</addClasspath> |
53 |
--> |
54 |
</manifest> |
55 |
</archive> |
56 |
</configuration> |
57 |
</plugin> |
58 |
|
59 |
<plugin> |
60 |
<groupId>org.apache.maven.plugins</groupId> |
61 |
<artifactId>maven-shade-plugin</artifactId> |
62 |
<version>2.4.1</version> |
63 |
<executions> |
64 |
<execution> |
65 |
<phase>package</phase> |
66 |
<goals> |
67 |
<goal>shade</goal> |
68 |
</goals> |
69 |
<configuration> |
70 |
<minimizeJar>false</minimizeJar> |
71 |
</configuration> |
72 |
</execution> |
73 |
</executions> |
74 |
</plugin> |
75 |
|
76 |
<!-- |
77 |
<plugin> |
78 |
<groupId>org.apache.maven.plugins</groupId> |
79 |
<artifactId>maven-dependency-plugin</artifactId> |
80 |
<executions> |
81 |
<execution> |
82 |
<id>copy-dependencies</id> |
83 |
<phase>package</phase> |
84 |
<goals> |
85 |
<goal>copy-dependencies</goal> |
86 |
</goals> |
87 |
<configuration> |
88 |
<outputDirectory>${project.build.directory}</outputDirectory> |
89 |
<overWriteReleases>false</overWriteReleases> |
90 |
<overWriteSnapshots>false</overWriteSnapshots> |
91 |
<overWriteIfNewer>true</overWriteIfNewer> |
92 |
</configuration> |
93 |
</execution> |
94 |
</executions> |
95 |
<configuration> |
96 |
<outputDirectory> |
97 |
${project.build.directory} |
98 |
</outputDirectory> |
99 |
</configuration> |
100 |
</plugin> |
101 |
--> |
102 |
|
103 |
</plugins> |
104 |
</build> |
105 |
|
106 |
|
107 |
<dependencies> |
108 |
|
109 |
|
110 |
<dependency> |
111 |
<groupId>com.ibm.mq</groupId> |
112 |
<artifactId>commonservices</artifactId> |
113 |
<version>1</version> |
114 |
</dependency> |
115 |
|
116 |
<dependency> |
117 |
<groupId>com.ibm.mq</groupId> |
118 |
<artifactId>headers</artifactId> |
119 |
<version>1</version> |
120 |
</dependency> |
121 |
|
122 |
<dependency> |
123 |
<groupId>com.ibm.mq</groupId> |
124 |
<artifactId>mq</artifactId> |
125 |
<version>1</version> |
126 |
</dependency> |
127 |
|
128 |
<dependency> |
129 |
<groupId>com.ibm.mq</groupId> |
130 |
<artifactId>connector</artifactId> |
131 |
<version>1</version> |
132 |
</dependency> |
133 |
|
134 |
<dependency> |
135 |
<groupId>com.ibm.mq</groupId> |
136 |
<artifactId>jmqi</artifactId> |
137 |
<version>1</version> |
138 |
</dependency> |
139 |
|
140 |
</dependencies> |
141 |
|
142 |
|
143 |
</project> |