2013-03-09 03:35:38 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-02-07 04:05:24 +08:00
|
|
|
<!--
|
|
|
|
|
The MIT License
|
|
|
|
|
|
2020-01-08 00:53:04 +08:00
|
|
|
Copyright (c) 2004-2018, Sun Microsystems, Inc., Kohsuke Kawaguchi, CloudBees, Inc.
|
2009-02-07 04:05:24 +08:00
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
|
THE SOFTWARE.
|
|
|
|
|
-->
|
2024-01-02 16:11:38 +08:00
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-07-05 04:34:45 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
2008-08-09 05:01:48 +08:00
|
|
|
<parent>
|
2011-01-31 05:18:06 +08:00
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
2020-01-08 00:53:04 +08:00
|
|
|
<artifactId>jenkins-parent</artifactId>
|
2024-02-27 21:13:12 +08:00
|
|
|
<version>${revision}${changelist}</version>
|
2008-08-09 05:01:48 +08:00
|
|
|
</parent>
|
2014-12-26 01:16:41 +08:00
|
|
|
|
2018-02-26 23:15:47 +08:00
|
|
|
<artifactId>jenkins-test</artifactId>
|
2011-07-05 04:34:45 +08:00
|
|
|
|
2016-01-14 07:14:37 +08:00
|
|
|
<name>Tests for Jenkins core</name>
|
|
|
|
|
<description>Functional tests for Jenkins core</description>
|
2008-08-15 07:20:30 +08:00
|
|
|
|
2020-01-08 00:53:04 +08:00
|
|
|
<properties>
|
|
|
|
|
<mavenDebug>false</mavenDebug>
|
2022-04-18 04:22:11 +08:00
|
|
|
<!-- Filled in by jacoco-maven-plugin -->
|
2021-12-31 23:52:48 +08:00
|
|
|
<jacocoSurefireArgs />
|
2022-06-25 00:56:33 +08:00
|
|
|
<!--
|
|
|
|
|
Filled in by maven-hpi-plugin from the MANIFEST.MF entry in jenkins.war, but we provide a default value for the benefit of IDEs.
|
|
|
|
|
Make sure to keep the directives in core/pom.xml and war/pom.xml in sync with these.
|
|
|
|
|
-->
|
2023-07-29 22:36:51 +08:00
|
|
|
<jenkins.addOpens>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</jenkins.addOpens>
|
2022-04-05 00:17:18 +08:00
|
|
|
<!-- Filled in by maven-hpi-plugin with the path to org-netbeans-insane-hook.jar extracted from jenkins-test-harness -->
|
|
|
|
|
<jenkins.insaneHook />
|
2020-01-08 00:53:04 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
|
|
|
|
<artifactId>jenkins-bom</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
2023-09-07 00:45:59 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>commons-lang3-api</artifactId>
|
|
|
|
|
<version>3.13.0-62.v7d18e55f51e2</version>
|
|
|
|
|
</dependency>
|
2022-09-28 21:59:07 +08:00
|
|
|
<dependency>
|
2023-04-08 01:18:54 +08:00
|
|
|
<!-- RequireUpperBoundDeps between checks-api, plugin-util-api, and font-awesome-api -->
|
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>commons-text-api</artifactId>
|
2023-12-06 07:20:00 +08:00
|
|
|
<version>1.11.0-95.v22a_d30ee5d36</version>
|
2023-04-08 01:18:54 +08:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<!-- RequireUpperBoundDeps between bootstrap5-api and echarts-api -->
|
2022-09-28 21:59:07 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>font-awesome-api</artifactId>
|
2024-02-27 01:15:25 +08:00
|
|
|
<version>6.5.1-3</version>
|
2023-04-08 01:18:54 +08:00
|
|
|
</dependency>
|
2023-06-06 23:43:32 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>ionicons-api</artifactId>
|
|
|
|
|
<version>56.v1b_1c8c49374e</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>javax-activation-api</artifactId>
|
|
|
|
|
<version>1.2.0-6</version>
|
|
|
|
|
</dependency>
|
2023-12-06 07:20:00 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>plugin-util-api</artifactId>
|
2023-12-26 02:04:14 +08:00
|
|
|
<version>3.8.0</version>
|
2023-12-06 07:20:00 +08:00
|
|
|
</dependency>
|
2020-11-07 05:03:23 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>ant</artifactId>
|
2023-06-29 17:17:55 +08:00
|
|
|
<version>497.v94e7d9fffa_b_9</version>
|
2020-11-07 05:03:23 +08:00
|
|
|
</dependency>
|
2021-08-18 03:40:27 +08:00
|
|
|
<dependency>
|
|
|
|
|
<!-- RequireUpperBoundDeps via mailer and junit -->
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>display-url-api</artifactId>
|
2023-10-02 21:30:55 +08:00
|
|
|
<version>2.200.vb_9327d658781</version>
|
2021-08-18 03:40:27 +08:00
|
|
|
</dependency>
|
2021-01-22 15:27:20 +08:00
|
|
|
<dependency>
|
|
|
|
|
<!-- requireUpperBoundDeps via matrix-project and junit -->
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>script-security</artifactId>
|
2024-02-17 05:34:20 +08:00
|
|
|
<version>1326.vdb_c154de8669</version>
|
2021-01-22 15:27:20 +08:00
|
|
|
</dependency>
|
2023-12-06 07:20:00 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
|
|
|
<artifactId>workflow-api</artifactId>
|
2024-01-31 00:35:28 +08:00
|
|
|
<version>1291.v51fd2a_625da_7</version>
|
2023-12-06 07:20:00 +08:00
|
|
|
</dependency>
|
2023-10-03 02:11:49 +08:00
|
|
|
<dependency>
|
|
|
|
|
<!-- Required by plugin-util-api -->
|
|
|
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
|
|
|
<artifactId>workflow-support</artifactId>
|
|
|
|
|
<version>865.v43e78cc44e0d</version>
|
|
|
|
|
</dependency>
|
2020-01-08 00:53:04 +08:00
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
<dependencies>
|
2022-04-05 00:17:18 +08:00
|
|
|
<!-- For maven-hpi-plugin -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
|
<artifactId>jenkins-core</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
2020-01-08 00:53:04 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
|
<artifactId>jenkins-test-harness</artifactId>
|
2024-02-23 00:56:08 +08:00
|
|
|
<version>2165.vf0266a_2d187f</version>
|
2020-01-08 00:53:04 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
|
<artifactId>jenkins-war</artifactId>
|
|
|
|
|
</exclusion>
|
2023-05-25 14:55:36 +08:00
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
|
</exclusion>
|
2020-01-08 00:53:04 +08:00
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
|
<artifactId>jenkins-test-harness-tools</artifactId>
|
2021-01-10 00:41:33 +08:00
|
|
|
<version>2.2</version>
|
2020-01-08 00:53:04 +08:00
|
|
|
<scope>test</scope>
|
2021-12-05 00:17:46 +08:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
|
<artifactId>jenkins-test-harness</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2020-01-08 00:53:04 +08:00
|
|
|
</dependency>
|
2021-12-05 00:17:02 +08:00
|
|
|
<dependency>
|
2022-03-13 02:06:05 +08:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
|
<artifactId>jenkins-war</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>executable-war</type>
|
2021-12-05 00:17:02 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2021-04-18 02:01:54 +08:00
|
|
|
<dependency>
|
2022-03-13 02:06:05 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>javax-mail-api</artifactId>
|
2023-02-18 21:41:52 +08:00
|
|
|
<version>1.6.2-9</version>
|
2020-01-08 00:53:04 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2022-03-13 02:06:05 +08:00
|
|
|
<groupId>org.awaitility</groupId>
|
|
|
|
|
<artifactId>awaitility</artifactId>
|
|
|
|
|
<version>4.2.0</version>
|
2021-05-14 00:08:04 +08:00
|
|
|
<scope>test</scope>
|
2020-01-08 00:53:04 +08:00
|
|
|
</dependency>
|
2022-01-18 16:19:08 +08:00
|
|
|
<dependency>
|
2022-03-13 02:06:05 +08:00
|
|
|
<groupId>org.hamcrest</groupId>
|
2023-05-25 14:55:36 +08:00
|
|
|
<artifactId>hamcrest</artifactId>
|
2022-01-18 16:19:08 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2020-01-08 00:53:04 +08:00
|
|
|
<dependency>
|
2022-03-13 02:06:05 +08:00
|
|
|
<groupId>org.jenkins-ci</groupId>
|
|
|
|
|
<artifactId>test-annotations</artifactId>
|
2021-05-14 00:08:04 +08:00
|
|
|
<scope>test</scope>
|
2020-01-08 00:53:04 +08:00
|
|
|
</dependency>
|
2022-06-23 06:17:16 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
|
|
|
|
<artifactId>instance-identity</artifactId>
|
2023-11-02 05:08:08 +08:00
|
|
|
<version>185.v303dc7c645f9</version>
|
2022-06-23 06:17:16 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2020-01-08 00:53:04 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>antisamy-markup-formatter</artifactId>
|
2023-08-06 19:19:10 +08:00
|
|
|
<version>162.v0e6ec0fcfcf6</version>
|
2020-01-08 00:53:04 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
2022-03-13 02:06:05 +08:00
|
|
|
<artifactId>cloudbees-folder</artifactId>
|
2024-02-21 05:36:55 +08:00
|
|
|
<version>6.921.vfb_b_224371fb_4</version>
|
2021-05-14 00:08:04 +08:00
|
|
|
<scope>test</scope>
|
2020-01-08 00:53:04 +08:00
|
|
|
</dependency>
|
2022-12-08 22:11:36 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>credentials</artifactId>
|
2024-01-30 01:33:57 +08:00
|
|
|
<version>1319.v7eb_51b_3a_c97b_</version>
|
2022-12-08 22:11:36 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2020-01-08 00:53:04 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
2024-02-06 04:20:36 +08:00
|
|
|
<version>1259.v65ffcef24a_88</version>
|
2020-01-08 00:53:04 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
2022-03-13 02:06:05 +08:00
|
|
|
<artifactId>mailer</artifactId>
|
2023-08-06 19:19:31 +08:00
|
|
|
<version>463.vedf8358e006b_</version>
|
2020-01-08 00:53:04 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2022-03-13 02:06:05 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>matrix-auth</artifactId>
|
2023-09-21 02:47:19 +08:00
|
|
|
<version>3.2.1</version>
|
2022-03-13 02:06:05 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>matrix-project</artifactId>
|
2024-01-25 05:30:34 +08:00
|
|
|
<version>822.824.v14451b_c0fd42</version>
|
2022-03-13 02:06:05 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
|
<artifactId>structs</artifactId>
|
2024-01-25 04:49:21 +08:00
|
|
|
<version>337.v1b_04ea_4df7c8</version>
|
2021-05-14 00:08:04 +08:00
|
|
|
<scope>test</scope>
|
2020-01-08 00:53:04 +08:00
|
|
|
</dependency>
|
2022-07-22 22:47:55 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
|
<scope>test</scope>
|
2023-05-25 14:55:36 +08:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2022-07-22 22:47:55 +08:00
|
|
|
</dependency>
|
2020-01-08 00:53:04 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
2023-04-20 05:49:34 +08:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2020-01-08 00:53:04 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jenkins-ci.tools</groupId>
|
|
|
|
|
<artifactId>maven-hpi-plugin</artifactId>
|
2021-03-07 03:28:36 +08:00
|
|
|
<!-- Version specified in grandparent POM -->
|
2020-01-08 00:53:04 +08:00
|
|
|
<extensions>true</extensions>
|
2022-04-05 00:17:18 +08:00
|
|
|
<executions>
|
2022-07-06 13:00:56 +08:00
|
|
|
<execution>
|
|
|
|
|
<id>prepare-test-plugins</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>resolve-test-dependencies</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
|
</execution>
|
2022-04-05 00:17:18 +08:00
|
|
|
<execution>
|
|
|
|
|
<id>test-runtime</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>test-runtime</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>test</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2020-01-08 00:53:04 +08:00
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2021-03-07 03:28:36 +08:00
|
|
|
<!-- Version specified in grandparent POM -->
|
2020-01-08 00:53:04 +08:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>old-remoting-for-test</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<!-- we use copy as this is a dependency from outside the reactor -->
|
|
|
|
|
<goal>copy</goal>
|
|
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>generate-test-resources</phase>
|
2020-01-08 00:53:04 +08:00
|
|
|
<configuration>
|
|
|
|
|
<artifactItems>
|
|
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
|
|
|
|
<artifactId>remoting</artifactId>
|
|
|
|
|
<version>${remoting.minimum.supported.version}</version>
|
|
|
|
|
<type>jar</type>
|
|
|
|
|
<outputDirectory>${project.build.outputDirectory}/old-remoting</outputDirectory>
|
2022-11-02 22:46:52 +08:00
|
|
|
<destFileName>remoting-minimum-supported.jar</destFileName>
|
2020-01-08 00:53:04 +08:00
|
|
|
</artifactItem>
|
2022-04-07 11:30:53 +08:00
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
|
|
|
|
<artifactId>remoting</artifactId>
|
2023-09-21 02:42:44 +08:00
|
|
|
<version>4.12</version>
|
2022-04-07 11:30:53 +08:00
|
|
|
<type>jar</type>
|
|
|
|
|
<outputDirectory>${project.build.outputDirectory}/old-remoting</outputDirectory>
|
|
|
|
|
<destFileName>remoting-unsupported.jar</destFileName>
|
|
|
|
|
</artifactItem>
|
2022-12-20 18:25:42 +08:00
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
|
<artifactId>design-library</artifactId>
|
|
|
|
|
<version>91.v257f311ea_1dc</version>
|
|
|
|
|
<type>hpi</type>
|
|
|
|
|
<outputDirectory>${project.build.outputDirectory}/plugins</outputDirectory>
|
|
|
|
|
<destFileName>design-library.jpi</destFileName>
|
|
|
|
|
</artifactItem>
|
2020-01-08 00:53:04 +08:00
|
|
|
</artifactItems>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<!-- version specified in grandparent pom -->
|
|
|
|
|
<configuration>
|
2022-04-18 04:22:11 +08:00
|
|
|
<argLine>@{jacocoSurefireArgs} -Xmx1g @{jenkins.addOpens} @{jenkins.insaneHook}</argLine>
|
2020-01-08 00:53:04 +08:00
|
|
|
<systemPropertyVariables>
|
2021-04-18 02:01:54 +08:00
|
|
|
<hudson.maven.debug>${mavenDebug}</hudson.maven.debug>
|
|
|
|
|
<buildDirectory>${project.build.directory}</buildDirectory>
|
2020-01-08 00:53:04 +08:00
|
|
|
</systemPropertyVariables>
|
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
|
</configuration>
|
2022-04-05 00:17:18 +08:00
|
|
|
<executions>
|
|
|
|
|
<!-- Unbind the default execution so that it does not run before test-runtime. -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>default-test</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>test</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>none</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
<!-- Bind a new execution which, by virtue of being declared after test-runtime, will also run after it. -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>functional-test</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>test</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>test</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2020-01-08 00:53:04 +08:00
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2021-03-07 03:28:36 +08:00
|
|
|
<!-- Version specified in grandparent POM -->
|
2020-01-08 00:53:04 +08:00
|
|
|
<configuration>
|
|
|
|
|
<skip>true</skip>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2021-03-07 03:28:36 +08:00
|
|
|
<!-- Version specified in grandparent POM -->
|
2020-01-08 00:53:04 +08:00
|
|
|
<configuration>
|
|
|
|
|
<fork>true</fork>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<!-- Profile, which allows skipping all integration tests -->
|
|
|
|
|
<id>light-test</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<!-- Profile, which runs only a number of quick integration tests so that the build takes less than 5 minutes -->
|
|
|
|
|
<id>smoke-test</id>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2021-03-07 03:28:36 +08:00
|
|
|
<!-- Version specified in grandparent POM -->
|
2020-01-08 00:53:04 +08:00
|
|
|
<configuration>
|
|
|
|
|
<groups>org.jvnet.hudson.test.SmokeTest</groups>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>all-tests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
|
|
|
|
<name>!test</name>
|
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.skipAfterFailureCount>100</surefire.skipAfterFailureCount>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
2022-04-18 04:22:11 +08:00
|
|
|
<id>enable-jacoco</id>
|
2020-01-08 00:53:04 +08:00
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2022-04-18 04:22:11 +08:00
|
|
|
<!-- Version specified in parent POM -->
|
2020-01-08 00:53:04 +08:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<propertyName>jacocoSurefireArgs</propertyName>
|
2022-04-18 04:22:11 +08:00
|
|
|
<includes>
|
|
|
|
|
<include>hudson/*</include>
|
|
|
|
|
<include>hudson/**/*</include>
|
|
|
|
|
<include>jenkins/*</include>
|
|
|
|
|
<include>jenkins/**/*</include>
|
|
|
|
|
<include>org/jenkins/**/*</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/Messages.class</exclude>
|
|
|
|
|
</excludes>
|
2020-01-08 00:53:04 +08:00
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
2009-02-26 02:29:28 +08:00
|
|
|
</project>
|