pom.xml 11.7 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
4
5
6

    <parent>
        <groupId>net.ihe.gazelle.simulators</groupId>
        <artifactId>simulator-common</artifactId>
Wylem Bars's avatar
Wylem Bars committed
7
        <version>4.5.0</version>
8
9
10
11
12
13
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>net.ihe.gazelle</groupId>
    <artifactId>gazelle-webservice-tester</artifactId>
    <packaging>pom</packaging>
gazelle-ci's avatar
gazelle-ci committed
14
    <version>1.7.4</version>
15
16
    <name>gazelle-webservice-tester</name>

17
18
19
20
21

    <scm>
        <connection>scm:git:${git.project.url}</connection>
        <url>scm:git:${git.project.url}</url>
        <developerConnection>scm:git:${git.project.url}</developerConnection>
gazelle-ci's avatar
gazelle-ci committed
22
        <tag>1.7.4</tag>
23
24
    </scm>

25
26
27
28
29
30

    <organization>
        <name>IHE</name>
        <url>http://www.ihe.net/</url>
    </organization>

31
    <developers />
32

Guillaume Thomazon's avatar
Guillaume Thomazon committed
33
34
35
36
37
38
39
40
    <contributors>
        <contributor>
            <organization>INRIA - Rennes Bretagne Atlantique</organization>
        </contributor>
        <contributor>
            <organization>Kereval</organization>
        </contributor>
    </contributors>
41
42
43
44
45
46
47

    <issueManagement>
        <system>Jira</system>
        <url>https://gazelle.ihe.net/jira/browse/gazelle-webservice-tester</url>
    </issueManagement>

    <properties>
48
49
50
51
52
        <nexus.url>https://gazelle.ihe.net/nexus</nexus.url>
        <nexus.path>/content/groups/public/</nexus.path>
        <git.user.name>gitlab-ci</git.user.name>
        <git.user.token>changeit</git.user.token>
        <git.project.url>https://${git.user.name}:${git.user.token}@gitlab.inria.fr/gazelle/applications/test-execution/simulator/gazelle-webservice-tester.git</git.project.url>
53
54
55
56
57
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <messages.mode>crowdin</messages.mode>
        <hibernate.dialect>org.hibernate.dialect.PostgreSQLDialect</hibernate.dialect>
        <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
58
        <gazelle-assets-version>${maven.build.timestamp}</gazelle-assets-version>
59
        <gazelle.plugins.version>1.60</gazelle.plugins.version>
Malo Toudic's avatar
Malo Toudic committed
60
        <sonar.jacoco.reportPaths>target/jacoco.exec</sonar.jacoco.reportPaths>
Guillaume Thomazon's avatar
Guillaume Thomazon committed
61
        <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
Guillaume Thomazon's avatar
Guillaume Thomazon committed
62
63
64
65
        <version.dependency.plugin>3.0.0</version.dependency.plugin>
        <version.surefire.plugin>2.20</version.surefire.plugin>
        <version.resources.plugin>3.0.2</version.resources.plugin>
        <version.compiler.plugin>3.6.1</version.compiler.plugin>
Malo Toudic's avatar
Malo Toudic committed
66
        <nexus.staging.maven.plugin.version>1.6.8</nexus.staging.maven.plugin.version>
67
68
69
    </properties>

    <build>
Guillaume Thomazon's avatar
Guillaume Thomazon committed
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
        <pluginManagement>
            <plugins>
                <!-- Manage plugin versions for build stability -->
                <plugin>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${version.surefire.plugin}</version>
                    <configuration>
                        <argLine>${argLine} -Xmx2048m</argLine>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>${version.dependency.plugin}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>${version.resources.plugin}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${version.compiler.plugin}</version>
                    <configuration>
                        <source>${maven.compiler.source}</source>
                        <target>${maven.compiler.target}</target>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.jacoco</groupId>
                    <artifactId>jacoco-maven-plugin</artifactId>
                    <version>0.7.9</version>
                    <executions>
                        <execution>
                            <id>default-prepare-agent</id>
                            <goals>
                                <goal>prepare-agent</goal>
                            </goals>
                        </execution>
                        <execution>
                            <id>default-report</id>
                            <phase>prepare-package</phase>
                            <goals>
                                <goal>report</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </pluginManagement>
119
        <plugins>
Guillaume Thomazon's avatar
Guillaume Thomazon committed
120

Malo Toudic's avatar
Malo Toudic committed
121
122
123
124
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
            </plugin>
125
126
127
128
129
130
131
132
133
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>
            <!-- Modules -->
            <dependency>
                <groupId>net.ihe.gazelle</groupId>
                <artifactId>gazelle-webservice-tester-ejb</artifactId>
gazelle-ci's avatar
gazelle-ci committed
134
                <version>1.7.4</version>
135
136
137
138
139
                <type>ejb</type>
            </dependency>
            <dependency>
                <groupId>net.ihe.gazelle</groupId>
                <artifactId>gazelle-webservice-tester-war</artifactId>
gazelle-ci's avatar
gazelle-ci committed
140
                <version>1.7.4</version>
141
142
143
144
145
146
147
148
                <type>war</type>
            </dependency>
            <dependency>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
                <version>3.3.1</version>
                <scope>provided</scope>
            </dependency>
149
150
151
152
153
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.17</version>
            </dependency>
154
155
156
157
158
159
160
161
162
163
164
165
166
        </dependencies>
    </dependencyManagement>

    <profiles>
        <profile>
            <id>development</id>

            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>

            <properties>
                <!-- development mode (disable in production) -->
167
                <seam.debug>false</seam.debug>
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
                <!-- datasource configuration -->
                <jdbc.connection.url>jdbc:postgresql:gazelle-webservice-tester</jdbc.connection.url>
                <jdbc.driver.class>org.postgresql.Driver</jdbc.driver.class>
                <jdbc.user>gazelle</jdbc.user>
                <jdbc.password>gazelle</jdbc.password>
                <min.pool.size>1</min.pool.size>
                <max.pool.size>3</max.pool.size>

                <!-- package exploded war file -->
                <exploded.war.file>true</exploded.war.file>

                <!-- development mode (exclude in production) -->
                <exclude.bootstrap>false</exclude.bootstrap>

                <!-- persistence.xml configuration -->
                <hibernate.hbm2ddl.auto>
                    update
                </hibernate.hbm2ddl.auto>
                <hibernate.show_sql>
                    false
                </hibernate.show_sql>
            </properties>
        </profile>

        <profile>
            <id>production</id>
            <activation>
                <property>
                    <name>performRelease</name>
                    <value>true</value>
                </property>
            </activation>

            <properties>
                <!-- development mode (disable in production) -->
                <seam.debug>false</seam.debug>
                <!-- datasource configuration -->
                <jdbc.connection.url>jdbc:postgresql:gazelle-webservice-tester</jdbc.connection.url>
                <jdbc.driver.class>org.postgresql.Driver</jdbc.driver.class>
                <jdbc.user>gazelle</jdbc.user>
                <jdbc.password>gazelle</jdbc.password>
                <min.pool.size>1</min.pool.size>
                <max.pool.size>3</max.pool.size>

                <!-- development mode (exclude in production) -->
                <exclude.bootstrap>true</exclude.bootstrap>

                <!-- package exploded war file -->
                <exploded.war.file>false</exploded.war.file>

                <!-- persistence.xml configuration -->
                <hibernate.hbm2ddl.auto>
                    update
                </hibernate.hbm2ddl.auto>
                <hibernate.show_sql>
                    false
                </hibernate.show_sql>
            </properties>
        </profile>

        <profile>
            <id>release</id>
Malo Toudic's avatar
Malo Toudic committed
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
            <build>
                <plugins>
                <plugin>
                    <groupId>org.sonatype.plugins</groupId>
                    <artifactId>nexus-staging-maven-plugin</artifactId>
                    <version>${nexus.staging.maven.plugin.version}</version>
                    <executions>
                    <execution>
                        <id>default-deploy</id>
                        <phase>deploy</phase>
                        <goals>
                        <goal>deploy</goal>
                        </goals>
                    </execution>
                    </executions>
                    <configuration>
                    <serverId>nexus-releases</serverId>
                    <nexusUrl>https://gazelle.ihe.net/nexus</nexusUrl>
                    <skipStaging>true</skipStaging>
                    </configuration>
                </plugin>
                </plugins>
            </build>
253
254
        </profile>

Malo Toudic's avatar
Malo Toudic committed
255
256
257
        <profile>
            <id>sonar</id>
            <build>
Malo Toudic's avatar
Malo Toudic committed
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
            <plugins>
                <plugin>
                <groupId>org.sonarsource.scanner.maven</groupId>
                <artifactId>sonar-maven-plugin</artifactId>
                <version>${sonar.maven.plugin}</version>
                <executions>
                    <execution>
                    <phase>verify</phase>
                    <goals>
                        <goal>sonar</goal>
                    </goals>
                    </execution>
                </executions>
                </plugin>
            </plugins>
Malo Toudic's avatar
Malo Toudic committed
273
274
275
            </build>
        </profile>

276
277
278
279
    </profiles>

    <repositories>
        <repository>
Guillaume Thomazon's avatar
Guillaume Thomazon committed
280
281
            <id>IHE</id>
            <name>IHE Public Maven Repository Group</name>
282
            <url>${nexus.url}content/groups/public/</url>
283
284
285
286
287
288
289
290
291
292
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>
Guillaume Thomazon's avatar
Guillaume Thomazon committed
293
294
295
296
    <pluginRepositories>
        <pluginRepository>
            <id>IHE-plugins</id>
            <name>IHE Plugins Public Maven Repository Group</name>
297
            <url>${nexus.url}content/groups/public/</url>
Guillaume Thomazon's avatar
Guillaume Thomazon committed
298
299
300
301
302
303
304
305
306
307
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>
Malo Toudic's avatar
Malo Toudic committed
308
309
310
311
312
313
	<distributionManagement>
 		 <repository>
    		<id>nexus-releases</id>
    		<url>https://gazelle.ihe.net/nexus/content/repositories/releases</url>
  		</repository>
	</distributionManagement>
314
315
316
317
318

    <modules>
        <module>gazelle-webservice-tester-ejb</module>
        <module>gazelle-webservice-tester-war</module>
        <module>gazelle-webservice-tester-ear</module>
319
        <module>gwt-message-recording-for-mock</module>
320
    </modules>
321
</project>