2021-04-18 02:01:54 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-02-07 04:05:24 +08:00
|
|
|
<!--
|
|
|
|
The MIT License
|
|
|
|
|
2009-07-09 04:11:20 +08:00
|
|
|
Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly, Tom Huybrechts, Yahoo! 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">
|
2006-11-06 05:16:01 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2011-07-05 04:34:45 +08:00
|
|
|
|
2006-11-06 05:16:01 +08:00
|
|
|
<parent>
|
2011-01-31 05:18:06 +08:00
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
2018-02-26 23:15:47 +08:00
|
|
|
<artifactId>jenkins-parent</artifactId>
|
2024-07-03 02:30:22 +08:00
|
|
|
<version>${revision}${changelist}</version>
|
2006-11-06 05:16:01 +08:00
|
|
|
</parent>
|
2011-07-05 04:34:45 +08:00
|
|
|
|
2011-01-31 05:27:59 +08:00
|
|
|
<artifactId>jenkins-war</artifactId>
|
2006-11-06 05:16:01 +08:00
|
|
|
<packaging>war</packaging>
|
2011-07-05 04:34:45 +08:00
|
|
|
|
2011-01-31 05:18:06 +08:00
|
|
|
<name>Jenkins war</name>
|
2014-12-26 01:16:41 +08:00
|
|
|
<description>Creates a war file. Also includes additional static web resources, such as images, CSS, JavaScript, and some HTML files.</description>
|
2021-08-06 03:18:01 +08:00
|
|
|
<url>https://github.com/jenkinsci/jenkins</url>
|
2011-07-05 04:34:45 +08:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<JENKINS_HOME>${basedir}/work</JENKINS_HOME>
|
2021-12-31 23:52:48 +08:00
|
|
|
<!-- context path during test -->
|
|
|
|
<contextPath>/jenkins</contextPath>
|
|
|
|
<!-- HTTP listener host/interface -->
|
|
|
|
<host>localhost</host>
|
|
|
|
<!-- HTTP listener port -->
|
|
|
|
<port>8080</port>
|
2024-07-03 23:05:30 +08:00
|
|
|
<mina-sshd-api.version>2.13.1-117.v2f1a_b_66ff91d</mina-sshd-api.version>
|
2024-06-24 15:31:58 +08:00
|
|
|
<node.version>20.15.0</node.version>
|
2022-07-21 14:37:01 +08:00
|
|
|
<!-- frontend-maven-plugin will install this Yarn version as bootstrap, then hand over control to Yarn Berry. -->
|
2022-07-04 01:06:37 +08:00
|
|
|
<yarn.version>1.22.19</yarn.version>
|
2022-07-21 14:37:01 +08:00
|
|
|
<!-- maven-antrun-plugin will download this Yarn version. -->
|
2024-05-13 01:16:19 +08:00
|
|
|
<yarn-berry.version>4.2.2</yarn-berry.version>
|
|
|
|
<yarn-berry.sha256sum>1aa43a5304405be7a7cb9cb5de7b97de9c4e8ddd3273e4dad00d6ae3eb39f0ef</yarn-berry.sha256sum>
|
2011-07-05 04:34:45 +08:00
|
|
|
</properties>
|
|
|
|
|
2019-08-09 17:08:39 +08:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
|
|
|
<artifactId>jenkins-bom</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2011-07-05 04:34:45 +08:00
|
|
|
<dependencies>
|
2011-07-05 05:12:52 +08:00
|
|
|
<dependency>
|
2022-03-13 02:06:05 +08:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>cli</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>remoting</artifactId>
|
|
|
|
<!-- specified in the parent -->
|
2011-07-05 05:12:52 +08:00
|
|
|
</dependency>
|
2011-07-05 04:34:45 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
|
|
|
<artifactId>jenkins-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-08-03 02:26:04 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.main</groupId>
|
|
|
|
<artifactId>websocket-jetty10</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2012-02-11 02:51:22 +08:00
|
|
|
<dependency>
|
|
|
|
<!--
|
|
|
|
We bundle slf4j binding since we got some components (sshd for example)
|
|
|
|
that uses slf4j.
|
|
|
|
|
|
|
|
The problem with not shipping any binding in the war is that if the
|
|
|
|
servlet container does use slf4j in itself, then we got a classloader
|
|
|
|
constraint violation (see JENKINS-12334) as we try to load StaticLoggerBinder
|
|
|
|
which resides in the binding jar (this jar would be from container implementation,
|
|
|
|
which relies on slf4j api in the container, when we have our own slf4j API jar
|
|
|
|
statically depending on the binding jar.)
|
|
|
|
|
|
|
|
We also get tickets like JENKINS-12650 for not reporting logs at all
|
|
|
|
(although this is a non-fatal problem.)
|
|
|
|
|
|
|
|
The downside of adding a jar is that we can potentially get "multiple binding jar"
|
|
|
|
warning like http://www.slf4j.org/codes.html, but that's at least non-fatal.
|
|
|
|
-->
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
|
|
</dependency>
|
2011-07-05 04:34:45 +08:00
|
|
|
<!-- offline profiler API when we need it -->
|
2012-02-11 02:51:22 +08:00
|
|
|
<!--dependency
|
2011-07-05 04:34:45 +08:00
|
|
|
<groupId>com.yourkit.api</groupId>
|
|
|
|
<artifactId>yjp</artifactId>
|
|
|
|
<version>dontcare</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>/usr/local/yjp/lib/yjp.jar</systemPath>
|
|
|
|
</dependency-->
|
2022-03-13 02:06:05 +08:00
|
|
|
<dependency>
|
|
|
|
<!--
|
|
|
|
not actually used by test but used by dependency plugin to include it inside the war.
|
|
|
|
-->
|
|
|
|
<groupId>org.jenkins-ci</groupId>
|
|
|
|
<artifactId>winstone</artifactId>
|
2022-10-10 23:49:54 +08:00
|
|
|
<version>${winstone.version}</version>
|
2022-03-13 02:06:05 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-07-03 00:10:20 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-07-05 04:34:45 +08:00
|
|
|
</dependencies>
|
|
|
|
|
2006-11-06 05:16:01 +08:00
|
|
|
<build>
|
2011-01-31 05:27:59 +08:00
|
|
|
<finalName>jenkins</finalName>
|
2006-11-06 05:16:01 +08:00
|
|
|
<plugins>
|
2024-06-11 22:52:23 +08:00
|
|
|
<!-- TODO When Java 11 usage declines to a terminal level, this can be deleted. -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>display-info</id>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
|
|
|
<version>11</version>
|
|
|
|
</requireJavaVersion>
|
|
|
|
<enforceBytecodeVersion>
|
|
|
|
<maxJdkVersion>11</maxJdkVersion>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.jenkins-ci:commons-jelly</exclude>
|
|
|
|
<exclude>org.jenkins-ci.main:cli</exclude>
|
|
|
|
<exclude>org.jenkins-ci.main:jenkins-core</exclude>
|
|
|
|
<exclude>org.jenkins-ci.main:websocket-jetty10</exclude>
|
|
|
|
<exclude>org.jenkins-ci.main:websocket-spi</exclude>
|
|
|
|
<exclude>org.kohsuke.stapler:stapler</exclude>
|
|
|
|
<exclude>org.kohsuke.stapler:stapler-groovy</exclude>
|
|
|
|
<exclude>org.kohsuke.stapler:stapler-jelly</exclude>
|
|
|
|
</excludes>
|
|
|
|
</enforceBytecodeVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<release>11</release>
|
|
|
|
<testRelease>11</testRelease>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<release>11</release>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2006-11-06 05:16:01 +08:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2011-05-19 14:58:24 +08:00
|
|
|
<!-- version specified in grandparent pom -->
|
2006-11-06 05:16:01 +08:00
|
|
|
<configuration>
|
2010-08-26 02:51:27 +08:00
|
|
|
<filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
|
2007-02-12 03:09:53 +08:00
|
|
|
<!-- for putting Main-Class into war -->
|
|
|
|
<archive>
|
2009-02-18 09:40:43 +08:00
|
|
|
<manifest>
|
2022-07-03 00:10:20 +08:00
|
|
|
<mainClass>executable.Main</mainClass>
|
2007-02-12 03:09:53 +08:00
|
|
|
</manifest>
|
2009-10-08 22:41:26 +08:00
|
|
|
<manifestEntries>
|
2022-04-05 00:17:18 +08:00
|
|
|
<!-- Make sure to keep the directives in core/pom.xml and test/pom.xml in sync with these. -->
|
2023-07-29 22:36:51 +08:00
|
|
|
<Add-Opens>java.base/java.lang java.base/java.io java.base/java.util</Add-Opens>
|
2009-10-08 22:41:26 +08:00
|
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
2011-04-16 13:56:03 +08:00
|
|
|
<Hudson-Version>1.395</Hudson-Version>
|
2011-01-31 05:18:06 +08:00
|
|
|
<Jenkins-Version>${project.version}</Jenkins-Version>
|
2018-01-22 19:04:54 +08:00
|
|
|
<Remoting-Embedded-Version>${remoting.version}</Remoting-Embedded-Version>
|
|
|
|
<Remoting-Minimum-Supported-Version>${remoting.minimum.supported.version}</Remoting-Minimum-Supported-Version>
|
2009-10-08 22:41:26 +08:00
|
|
|
</manifestEntries>
|
2007-02-12 03:09:53 +08:00
|
|
|
</archive>
|
2009-10-02 09:49:31 +08:00
|
|
|
<!--outputFileNameMapping>@{artifactId}@.@{extension}@</outputFileNameMapping-->
|
2006-11-06 05:16:01 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-10-02 09:49:31 +08:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2011-05-19 14:58:24 +08:00
|
|
|
<!-- version specified in grandparent pom -->
|
2009-10-02 09:49:31 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2011-07-05 05:12:52 +08:00
|
|
|
<id>list-dependencies</id>
|
2009-10-02 09:49:31 +08:00
|
|
|
<goals>
|
|
|
|
<goal>list</goal>
|
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>generate-resources</phase>
|
2009-10-02 09:49:31 +08:00
|
|
|
<configuration>
|
2011-07-05 22:44:09 +08:00
|
|
|
<outputFile>${project.build.outputDirectory}/dependencies.txt</outputFile>
|
2009-10-02 09:49:31 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2011-07-05 22:44:09 +08:00
|
|
|
<execution>
|
|
|
|
<id>resgen</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>generate-resources</phase>
|
2011-07-05 22:44:09 +08:00
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<!-- dependencies that goes to unusual locations -->
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci</groupId>
|
|
|
|
<artifactId>winstone</artifactId>
|
2022-07-03 00:10:20 +08:00
|
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}/executable</outputDirectory>
|
2011-07-05 22:44:09 +08:00
|
|
|
<destFileName>winstone.jar</destFileName>
|
|
|
|
</artifactItem>
|
2016-01-19 23:13:33 +08:00
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/plugins</outputDirectory>
|
|
|
|
<stripVersion>true</stripVersion>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>detached-plugins</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>generate-resources</phase>
|
2016-01-19 23:13:33 +08:00
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<!--
|
2021-04-18 02:01:54 +08:00
|
|
|
Detached plugins and their dependencies - detached plugins that used to be bundled plugins
|
2016-01-19 23:13:33 +08:00
|
|
|
-->
|
2017-05-13 18:01:10 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of checks-api, junit, and mailer -->
|
2017-05-13 18:01:10 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>display-url-api</artifactId>
|
2024-04-30 09:40:05 +08:00
|
|
|
<version>2.204.vf6fddd8a_8b_e9</version>
|
2017-05-13 18:01:10 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2012-11-22 23:07:51 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 1.493 -->
|
2012-11-22 23:07:51 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>mailer</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>472.vf7c289a_4b_420</version>
|
2012-11-22 23:07:51 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2013-10-05 04:27:15 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 1.535 -->
|
2013-10-05 04:27:15 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>matrix-auth</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>3.2.2</version>
|
2013-10-05 04:27:15 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2014-02-17 23:45:07 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 1.553 -->
|
2014-02-17 23:45:07 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>antisamy-markup-formatter</artifactId>
|
2023-12-03 04:17:45 +08:00
|
|
|
<version>162.v0e6ec0fcfcf6</version>
|
2014-02-17 23:45:07 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2014-04-15 09:10:17 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 1.561 -->
|
2014-04-15 09:10:17 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>matrix-project</artifactId>
|
2024-06-04 10:41:26 +08:00
|
|
|
<version>832.va_66e270d2946</version>
|
2015-02-05 03:58:22 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of command-launcher, junit, matrix-project, and workflow-support -->
|
2015-02-05 03:58:22 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>script-security</artifactId>
|
2024-05-31 11:08:37 +08:00
|
|
|
<version>1341.va_2819b_414686</version>
|
2014-04-15 09:10:17 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2014-08-12 01:45:23 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 1.577 -->
|
2014-08-12 01:45:23 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>1265.v65b_14fa_f12f0</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2023-06-15 15:56:47 +08:00
|
|
|
<!-- dependency of junit, plugin-util-api, and workflow-support -->
|
2019-08-02 01:54:39 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
|
|
<artifactId>workflow-api</artifactId>
|
2024-05-29 12:49:13 +08:00
|
|
|
<version>1316.v33eb_726c50b_a_</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of checks-api, echarts-api, font-awesome-api, and junit -->
|
2022-01-28 19:03:08 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>plugin-util-api</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>4.1.0</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of echarts-api and junit -->
|
2022-01-28 19:03:08 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
2022-06-28 03:14:19 +08:00
|
|
|
<artifactId>bootstrap5-api</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>5.3.3-1</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>checks-api</artifactId>
|
2024-04-06 15:51:51 +08:00
|
|
|
<version>2.2.0</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2022-06-28 03:14:19 +08:00
|
|
|
|
2022-01-28 19:03:08 +08:00
|
|
|
<artifactItem>
|
2023-06-15 15:56:47 +08:00
|
|
|
<!-- dependency of checks-api and plugin-util-api -->
|
2022-06-28 03:14:19 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
|
|
<artifactId>workflow-support</artifactId>
|
2024-05-02 05:35:24 +08:00
|
|
|
<version>907.v6713a_ed8a_573</version>
|
2022-06-28 03:14:19 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit and echarts-api -->
|
2022-01-28 19:03:08 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>jackson2-api</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>2.17.0-379.v02de8ec9f64c</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>echarts-api</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>5.5.0-1</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2024-05-31 20:05:34 +08:00
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of trilead-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>eddsa-api</artifactId>
|
|
|
|
<version>0.3.0-4.v84c6f0f4969e</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2022-01-28 19:03:08 +08:00
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of jackson2-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>snakeyaml-api</artifactId>
|
2023-11-04 00:14:31 +08:00
|
|
|
<version>2.2-111.vc6598e30cc65</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
2022-05-20 00:10:44 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of script-security and workflow-support -->
|
2022-05-20 00:10:44 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>caffeine-api</artifactId>
|
2023-12-03 04:17:45 +08:00
|
|
|
<version>3.1.8-133.v17b_1ff2e0599</version>
|
2022-05-20 00:10:44 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
2022-01-28 19:03:08 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of echarts-api -->
|
2022-01-28 19:03:08 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>jquery3-api</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>3.7.1-2</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of bootstrap5-api and echarts-api -->
|
2022-01-28 19:03:08 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>font-awesome-api</artifactId>
|
2024-04-24 08:31:59 +08:00
|
|
|
<version>6.5.2-1</version>
|
2022-01-28 19:03:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
2023-06-15 15:56:47 +08:00
|
|
|
<!-- dependency of checks-api, junit, plugin-util-api, workflow-api, and workflow-support -->
|
2019-08-02 01:54:39 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
|
|
<artifactId>workflow-step-api</artifactId>
|
2024-03-28 01:29:13 +08:00
|
|
|
<version>657.v03b_e8115821b_</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of workflow-api and workflow-support -->
|
2019-08-02 01:54:39 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>scm-api</artifactId>
|
2024-04-24 12:07:31 +08:00
|
|
|
<version>690.vfc8b_54395023</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- dependency of scm-api and workflow-step-api -->
|
2019-08-02 01:54:39 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>structs</artifactId>
|
2024-06-27 04:03:12 +08:00
|
|
|
<version>338.v848422169819</version>
|
2014-08-12 01:45:23 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2016-07-26 00:09:24 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.16 -->
|
2016-07-26 00:09:24 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>bouncycastle-api</artifactId>
|
2024-07-06 03:15:56 +08:00
|
|
|
<version>2.30.1.78.1-248.ve27176eb_46cb_</version>
|
2016-07-26 00:09:24 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2017-10-12 04:43:06 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.86 -->
|
2017-10-12 04:43:06 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>command-launcher</artifactId>
|
2023-12-03 04:17:45 +08:00
|
|
|
<version>107.v773860566e2e</version>
|
2017-10-12 04:43:06 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2018-03-17 06:29:52 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.112 -->
|
2018-03-17 06:29:52 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>jdk-tool</artifactId>
|
2023-12-03 04:17:45 +08:00
|
|
|
<version>73.vddf737284550</version>
|
2018-03-17 06:29:52 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2019-02-03 17:56:26 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.163 -->
|
2019-02-03 17:56:26 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>jaxb</artifactId>
|
2023-12-03 04:17:45 +08:00
|
|
|
<version>2.3.9-1</version>
|
2019-02-03 17:56:26 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2021-02-26 05:05:23 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.281 -->
|
2021-02-26 05:05:23 +08:00
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
|
|
|
<artifactId>sshd</artifactId>
|
2024-06-11 03:17:27 +08:00
|
|
|
<version>3.330.vc866a_8389b_58</version>
|
2021-02-26 05:05:23 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2019-07-11 22:54:07 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.184 -->
|
2019-07-11 22:54:07 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>trilead-api</artifactId>
|
2024-05-30 02:07:13 +08:00
|
|
|
<version>2.147.vb_73cc728a_32e</version>
|
2019-07-11 22:54:07 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2022-01-18 16:19:08 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.330 -->
|
2022-01-18 16:19:08 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>javax-activation-api</artifactId>
|
2024-05-25 05:18:00 +08:00
|
|
|
<version>1.2.0-7</version>
|
2022-01-18 16:19:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.330 -->
|
2022-01-18 16:19:08 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>javax-mail-api</artifactId>
|
2024-05-25 05:17:29 +08:00
|
|
|
<version>1.6.2-10</version>
|
2022-01-18 16:19:08 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2022-06-23 06:17:16 +08:00
|
|
|
<artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<!-- detached after 2.356 -->
|
2022-06-23 06:17:16 +08:00
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
|
|
|
<artifactId>instance-identity</artifactId>
|
2023-12-03 04:17:45 +08:00
|
|
|
<version>185.v303dc7c645f9</version>
|
2022-06-23 06:17:16 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2022-11-08 17:20:02 +08:00
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of jdk-tool -->
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>apache-httpcomponents-client-4-api</artifactId>
|
2023-12-03 04:17:45 +08:00
|
|
|
<version>4.5.14-208.v438351942757</version>
|
2022-11-08 17:20:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2024-03-29 03:24:01 +08:00
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of scm-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>asm-api</artifactId>
|
2024-04-16 00:37:18 +08:00
|
|
|
<version>9.7-33.v4d23ef79fcc8</version>
|
2024-03-29 03:24:01 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2022-11-14 01:35:02 +08:00
|
|
|
<artifactItem>
|
2023-06-15 15:56:47 +08:00
|
|
|
<!-- dependency of bootstrap5-api, checks-api, commons-text-api, echarts-api, font-awesome-api, jquery3-api, and plugin-util-api -->
|
2022-11-14 01:35:02 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>commons-lang3-api</artifactId>
|
2024-06-07 04:06:26 +08:00
|
|
|
<version>3.14.0-76.vda_5591261cfe</version>
|
2022-11-14 01:35:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2023-06-15 15:56:47 +08:00
|
|
|
<!-- dependency of bootstrap5-api, checks-api, echarts-api, font-awesome-api, jquery3-api, and plugin-util-api -->
|
2022-11-14 01:35:02 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>commons-text-api</artifactId>
|
2024-06-14 01:54:00 +08:00
|
|
|
<version>1.12.0-119.v73ef73f2345d</version>
|
2024-03-29 03:24:01 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of trilead-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>gson-api</artifactId>
|
2024-05-29 04:37:22 +08:00
|
|
|
<version>2.11.0-41.v019fcf6125dc</version>
|
2022-11-14 01:35:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2023-12-03 04:17:45 +08:00
|
|
|
<!-- dependency of junit and matrix-auth -->
|
2022-11-14 01:35:02 +08:00
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>ionicons-api</artifactId>
|
2024-05-14 10:53:46 +08:00
|
|
|
<version>74.v93d5eb_813d5f</version>
|
2022-11-14 01:35:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of jakarta-mail-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>jakarta-activation-api</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>2.1.3-1</version>
|
2022-11-14 01:35:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of mailer -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>jakarta-mail-api</artifactId>
|
2024-03-29 03:24:01 +08:00
|
|
|
<version>2.1.3-1</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of jackson2-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>json-api</artifactId>
|
|
|
|
<version>20240303-41.v94e11e6de726</version>
|
2022-11-14 01:35:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2023-06-15 15:56:47 +08:00
|
|
|
<!-- dependency of mina-sshd-api-core and sshd -->
|
2022-11-14 01:35:02 +08:00
|
|
|
<groupId>io.jenkins.plugins.mina-sshd-api</groupId>
|
|
|
|
<artifactId>mina-sshd-api-common</artifactId>
|
2024-03-30 02:21:23 +08:00
|
|
|
<version>${mina-sshd-api.version}</version>
|
2022-11-14 01:35:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of sshd -->
|
|
|
|
<groupId>io.jenkins.plugins.mina-sshd-api</groupId>
|
|
|
|
<artifactId>mina-sshd-api-core</artifactId>
|
2024-03-30 02:21:23 +08:00
|
|
|
<version>${mina-sshd-api.version}</version>
|
2022-11-14 01:35:02 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2011-07-05 22:44:09 +08:00
|
|
|
</artifactItems>
|
2016-01-19 23:13:33 +08:00
|
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/detached-plugins</outputDirectory>
|
2011-07-05 22:44:09 +08:00
|
|
|
<stripVersion>true</stripVersion>
|
2011-07-05 22:52:58 +08:00
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
2011-07-05 05:12:52 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-12-31 23:52:48 +08:00
|
|
|
<execution>
|
|
|
|
<!-- see jetty-maven-plugin config and WebAppMain -->
|
2020-07-21 22:50:13 +08:00
|
|
|
<id>support-log-formatter</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>generate-resources</phase>
|
2020-07-21 22:50:13 +08:00
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>io.jenkins.lib</groupId>
|
|
|
|
<artifactId>support-log-formatter</artifactId>
|
2022-12-03 00:11:09 +08:00
|
|
|
<version>1.2</version>
|
2020-07-21 22:50:13 +08:00
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
<stripVersion>true</stripVersion>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2009-10-02 09:49:31 +08:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-07-03 00:10:20 +08:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>classes-copy</id>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<configuration>
|
2022-07-24 06:38:18 +08:00
|
|
|
<target>
|
2022-07-03 00:10:20 +08:00
|
|
|
<move todir="${project.build.directory}/${project.build.finalName}">
|
|
|
|
<fileset dir="${project.build.directory}/classes">
|
|
|
|
<include name="executable/**/*.class" />
|
|
|
|
</fileset>
|
|
|
|
</move>
|
2022-07-24 06:38:18 +08:00
|
|
|
</target>
|
2022-07-03 00:10:20 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-12-31 23:52:48 +08:00
|
|
|
<plugin>
|
|
|
|
<!-- generate licenses.xml -->
|
2023-07-07 01:47:41 +08:00
|
|
|
<groupId>io.jenkins.tools.maven</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
2011-05-19 14:58:24 +08:00
|
|
|
<!-- version specified in grandparent pom -->
|
2011-04-20 02:39:22 +08:00
|
|
|
<configuration>
|
2011-07-05 22:44:09 +08:00
|
|
|
<generateLicenseXml>${project.build.outputDirectory}/META-INF/licenses.xml</generateLicenseXml>
|
2011-09-13 05:28:35 +08:00
|
|
|
<generateLicenseHtml>${project.build.outputDirectory}/META-INF/licenses.html</generateLicenseHtml>
|
|
|
|
<attach>true</attach>
|
2021-12-31 23:52:48 +08:00
|
|
|
<inlineScript>filter {
|
2011-04-20 02:39:22 +08:00
|
|
|
// add Winstone since we are bundling it.
|
|
|
|
def d = project.dependencies.find { it.artifactId=="winstone" };
|
|
|
|
def a = mojo.artifactFactory.createProjectArtifact(d.groupId,d.artifactId,d.version);
|
2022-10-24 23:42:20 +08:00
|
|
|
def buildingRequest = new org.apache.maven.project.DefaultProjectBuildingRequest(mojo.session.projectBuildingRequest)
|
|
|
|
buildingRequest.remoteRepositories = project.remoteArtifactRepositories
|
|
|
|
buildingRequest.processPlugins = false // improve performance
|
|
|
|
def p = mojo.projectBuilder.build(a, buildingRequest).project
|
2011-04-20 02:39:22 +08:00
|
|
|
models.put(a,p);
|
2021-12-31 23:52:48 +08:00
|
|
|
}</inlineScript>
|
2011-04-20 02:39:22 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2006-12-30 03:15:53 +08:00
|
|
|
<plugin>
|
2019-11-09 08:19:49 +08:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2024-02-06 17:50:22 +08:00
|
|
|
<version>10.0.20</version>
|
2006-11-06 06:57:18 +08:00
|
|
|
<configuration>
|
2011-03-29 07:52:10 +08:00
|
|
|
<!--
|
|
|
|
Reload webapp when you hit ENTER. (See JETTY-282 for more)
|
|
|
|
-->
|
|
|
|
<reload>manual</reload>
|
2019-04-14 00:43:46 +08:00
|
|
|
<httpConnector>
|
2020-02-22 09:26:49 +08:00
|
|
|
<host>${host}</host>
|
|
|
|
<port>${port}</port>
|
2019-04-14 00:43:46 +08:00
|
|
|
</httpConnector>
|
2012-06-12 08:04:42 +08:00
|
|
|
<loginServices>
|
|
|
|
<loginService implementation="org.eclipse.jetty.security.HashLoginService">
|
2007-04-15 00:57:07 +08:00
|
|
|
<name>default</name>
|
2007-10-02 02:19:08 +08:00
|
|
|
<config>${basedir}/src/realm.properties</config>
|
2012-06-12 08:04:42 +08:00
|
|
|
</loginService>
|
|
|
|
</loginServices>
|
2006-11-06 06:57:18 +08:00
|
|
|
<systemProperties>
|
2022-08-03 02:26:04 +08:00
|
|
|
<JENKINS_HOME>${JENKINS_HOME}</JENKINS_HOME>
|
|
|
|
<!-- always reload views during debugging -->
|
|
|
|
<stapler.jelly.noCache>true</stapler.jelly.noCache>
|
|
|
|
<!-- show the stapler evaluation during execution -->
|
|
|
|
<stapler.trace>true</stapler.trace>
|
|
|
|
<!-- show the full stack trace on errors (the oops page) -->
|
|
|
|
<jenkins.model.Jenkins.SHOW_STACK_TRACE>true</jenkins.model.Jenkins.SHOW_STACK_TRACE>
|
|
|
|
<!-- always reload scripts during debugging -->
|
|
|
|
<hudson.script.noCache>true</hudson.script.noCache>
|
|
|
|
<!-- load view resources from the source directly, again for real time change -->
|
|
|
|
<stapler.resourcePath>../core/src/main/resources;</stapler.resourcePath>
|
|
|
|
<!-- enable the plugins in main by default -->
|
|
|
|
<!-- run "mvn install" once will generate the.hpl -->
|
|
|
|
<hudson.bundled.plugins>${project.build.directory}/${project.build.finalName}/WEB-INF/plugins/*.hpi</hudson.bundled.plugins>
|
|
|
|
<!-- stat collection pointless -->
|
|
|
|
<hudson.model.UsageStatistics.disabled>true</hudson.model.UsageStatistics.disabled>
|
|
|
|
<hudson.Main.development>true</hudson.Main.development>
|
2006-11-06 06:57:18 +08:00
|
|
|
</systemProperties>
|
2012-06-12 08:04:42 +08:00
|
|
|
<webApp>
|
2020-07-21 22:50:13 +08:00
|
|
|
<!-- Allows resources to be reloaded, and enable nicer console logging. -->
|
2022-09-20 07:32:23 +08:00
|
|
|
<extraClasspath>${project.basedir}/../core/src/main/resources,${project.basedir}/../core/target/classes,${project.build.directory}/support-log-formatter.jar</extraClasspath>
|
2013-03-01 03:49:01 +08:00
|
|
|
<contextPath>${contextPath}</contextPath>
|
2012-06-12 08:04:42 +08:00
|
|
|
<configurationDiscovered>false</configurationDiscovered>
|
2021-12-31 23:52:48 +08:00
|
|
|
<!-- see https://wiki.eclipse.org/Jetty/Howto/Avoid_slow_deployment -->
|
|
|
|
<webInfIncludeJarPattern>NONE</webInfIncludeJarPattern>
|
2012-06-12 08:04:42 +08:00
|
|
|
</webApp>
|
2006-11-06 06:57:18 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2006-11-06 05:16:01 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2006-12-19 22:27:35 +08:00
|
|
|
|
2007-07-27 16:59:20 +08:00
|
|
|
<profiles>
|
2008-07-29 06:38:21 +08:00
|
|
|
<profile>
|
|
|
|
<!-- sign war -->
|
|
|
|
<id>sign</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2011-07-05 22:44:09 +08:00
|
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
2008-07-29 06:38:21 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>signWar</id>
|
|
|
|
<goals>
|
2011-07-05 22:44:09 +08:00
|
|
|
<goal>sign</goal>
|
2008-07-29 06:38:21 +08:00
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>pre-integration-test</phase>
|
2008-07-29 06:38:21 +08:00
|
|
|
<configuration>
|
2011-07-05 22:52:58 +08:00
|
|
|
<archive>${project.build.directory}/${project.build.finalName}.war</archive>
|
2016-04-23 06:20:05 +08:00
|
|
|
<arguments>
|
|
|
|
<argument>-tsa</argument>
|
2020-07-22 06:33:01 +08:00
|
|
|
<argument>http://timestamp.digicert.com</argument>
|
2016-04-23 06:20:05 +08:00
|
|
|
</arguments>
|
2008-07-29 06:38:21 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-01-19 23:13:33 +08:00
|
|
|
|
|
|
|
<!--
|
2021-04-18 02:01:54 +08:00
|
|
|
The following profiles are required to integration the node/yarn build into this maven build.
|
|
|
|
Hopefully we can push these profiles down into a parent pom.
|
2016-01-19 23:13:33 +08:00
|
|
|
-->
|
2013-07-04 18:23:11 +08:00
|
|
|
<profile>
|
2020-01-10 19:45:42 +08:00
|
|
|
<id>yarn-execution</id>
|
2016-04-23 18:20:46 +08:00
|
|
|
<activation>
|
|
|
|
<file>
|
2020-01-10 19:45:42 +08:00
|
|
|
<exists>package.json</exists>
|
2016-04-23 18:20:46 +08:00
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-07-21 14:37:01 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>download-yarn</id>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<configuration>
|
2022-07-24 06:38:18 +08:00
|
|
|
<target>
|
2022-07-21 14:37:01 +08:00
|
|
|
<property name="yarn.dest" value="${project.basedir}/.yarn/releases/yarn-${yarn-berry.version}.cjs" />
|
|
|
|
<dirname file="${yarn.dest}" property="yarn.dest.dir" />
|
|
|
|
<mkdir dir="${yarn.dest.dir}" />
|
|
|
|
<get dest="${yarn.dest}" src="https://repo.yarnpkg.com/${yarn-berry.version}/packages/yarnpkg-cli/bin/yarn.js" usetimestamp="true" />
|
|
|
|
<checksum algorithm="SHA-256" file="${yarn.dest}" property="${yarn-berry.sha256sum}" verifyProperty="yarn.checksum.matches" />
|
|
|
|
<condition property="yarn.checksum.matches.fail">
|
|
|
|
<equals arg1="${yarn.checksum.matches}" arg2="false" />
|
|
|
|
</condition>
|
|
|
|
<fail if="yarn.checksum.matches.fail">Checksum error</fail>
|
2022-07-22 22:47:30 +08:00
|
|
|
<echo file="${project.basedir}/.yarnrc.yml">yarnPath: ${yarn.dest}</echo>
|
2022-07-24 06:38:18 +08:00
|
|
|
</target>
|
2022-07-21 14:37:01 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-04-23 18:20:46 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
2023-12-02 05:11:58 +08:00
|
|
|
<version>1.15.0</version>
|
2016-04-23 18:20:46 +08:00
|
|
|
<executions>
|
2016-01-19 23:13:33 +08:00
|
|
|
|
2016-04-23 18:20:46 +08:00
|
|
|
<execution>
|
2017-05-19 04:33:20 +08:00
|
|
|
<id>install node and yarn</id>
|
2016-04-23 18:20:46 +08:00
|
|
|
<goals>
|
2017-05-19 04:33:20 +08:00
|
|
|
<goal>install-node-and-yarn</goal>
|
2016-04-23 18:20:46 +08:00
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>initialize</phase>
|
2016-04-23 18:20:46 +08:00
|
|
|
<configuration>
|
|
|
|
<nodeVersion>v${node.version}</nodeVersion>
|
2017-05-19 04:33:20 +08:00
|
|
|
<yarnVersion>v${yarn.version}</yarnVersion>
|
2017-05-19 22:28:54 +08:00
|
|
|
<nodeDownloadRoot>https://repo.jenkins-ci.org/nodejs-dist/</nodeDownloadRoot>
|
2017-05-19 04:33:20 +08:00
|
|
|
<!-- tried to create a mirror for yarnDownloadRoot but it did not work -->
|
2016-04-23 18:20:46 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-01-19 23:13:33 +08:00
|
|
|
|
2016-04-23 18:20:46 +08:00
|
|
|
<execution>
|
2017-05-19 04:33:20 +08:00
|
|
|
<id>yarn install</id>
|
2016-04-23 18:20:46 +08:00
|
|
|
<goals>
|
2017-05-19 04:33:20 +08:00
|
|
|
<goal>yarn</goal>
|
2016-04-23 18:20:46 +08:00
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>initialize</phase>
|
2016-04-23 18:20:46 +08:00
|
|
|
</execution>
|
2016-01-19 23:13:33 +08:00
|
|
|
|
2016-04-23 18:20:46 +08:00
|
|
|
<execution>
|
2019-12-09 23:19:06 +08:00
|
|
|
<id>yarn build</id>
|
2016-04-23 18:20:46 +08:00
|
|
|
<goals>
|
2019-12-09 23:19:06 +08:00
|
|
|
<goal>yarn</goal>
|
2016-04-23 18:20:46 +08:00
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>generate-sources</phase>
|
2016-04-23 18:20:46 +08:00
|
|
|
<configuration>
|
2019-12-09 23:19:06 +08:00
|
|
|
<arguments>build</arguments>
|
2016-04-23 18:20:46 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-01-19 23:13:33 +08:00
|
|
|
|
2020-01-21 23:48:26 +08:00
|
|
|
<execution>
|
|
|
|
<id>yarn lint</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-07-22 22:47:30 +08:00
|
|
|
<arguments>lint:ci</arguments>
|
|
|
|
<skip>${yarn.lint.skip}</skip>
|
2020-01-21 23:48:26 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-04-23 18:20:46 +08:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2013-07-04 18:23:11 +08:00
|
|
|
</profile>
|
2016-01-19 23:13:33 +08:00
|
|
|
|
|
|
|
<profile>
|
2016-04-23 18:20:46 +08:00
|
|
|
<id>clean-node</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>cleanNode</name>
|
|
|
|
</property>
|
2021-12-31 23:52:48 +08:00
|
|
|
<file>
|
|
|
|
<exists>package.json</exists>
|
|
|
|
</file>
|
2016-04-23 18:20:46 +08:00
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2021-03-07 03:28:36 +08:00
|
|
|
<!-- Version specified in grandparent POM -->
|
2016-04-23 18:20:46 +08:00
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>node</directory>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
<fileset>
|
|
|
|
<directory>node_modules</directory>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-01-19 23:13:33 +08:00
|
|
|
</profile>
|
2016-04-23 18:20:46 +08:00
|
|
|
</profiles>
|
2009-02-12 05:24:31 +08:00
|
|
|
</project>
|