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.
|
|
|
|
-->
|
2006-11-07 03:53:54 +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 http://maven.apache.org/maven-v4_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>
|
2022-03-29 22:59:40 +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>
|
2021-03-08 15:59:10 +08:00
|
|
|
<node.version>14.16.0</node.version>
|
2020-12-01 15:59:55 +08:00
|
|
|
<yarn.version>1.22.10</yarn.version>
|
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>
|
|
|
|
<exclusions>
|
2022-03-13 02:06:05 +08:00
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
</exclusion>
|
2011-07-05 04:34:45 +08:00
|
|
|
<!--
|
|
|
|
jars that are not needed in war. most of the exclusions should happen in the core, to make IDEs happy, not here.
|
|
|
|
-->
|
|
|
|
<exclusion>
|
2017-09-22 19:05:53 +08:00
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
2011-07-05 04:34:45 +08:00
|
|
|
</exclusion>
|
2012-08-04 05:19:01 +08:00
|
|
|
<!-- Stapler 1.195 fails to declare this as optional, and the 1.1 version lacks a license: -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.kohsuke.metainf-services</groupId>
|
2021-12-31 23:52:48 +08:00
|
|
|
<artifactId>metainf-services</artifactId>
|
2012-08-04 05:19:01 +08:00
|
|
|
</exclusion>
|
2011-07-05 04:34:45 +08:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
|
|
|
<artifactId>instance-identity</artifactId>
|
2016-07-26 00:00:10 +08:00
|
|
|
</dependency>
|
2013-02-13 03:51:08 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
2022-03-13 02:06:05 +08:00
|
|
|
<artifactId>launchd-slave-installer</artifactId>
|
2011-07-05 04:34:45 +08:00
|
|
|
</dependency>
|
2012-11-14 03:53:27 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
2022-03-13 02:06:05 +08:00
|
|
|
<artifactId>slave-installer</artifactId>
|
2012-11-14 03:53:27 +08:00
|
|
|
</dependency>
|
2012-10-13 03:53:15 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
2022-03-13 02:06:05 +08:00
|
|
|
<artifactId>systemd-slave-installer</artifactId>
|
2012-11-14 03:53:27 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
|
|
|
<artifactId>upstart-slave-installer</artifactId>
|
2012-10-13 03:53:15 +08:00
|
|
|
</dependency>
|
2014-02-21 13:20:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
2022-03-13 02:06:05 +08:00
|
|
|
<artifactId>windows-slave-installer</artifactId>
|
2014-02-21 13:20:03 +08:00
|
|
|
</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>
|
2022-03-13 02:06:05 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jenkins-ci</groupId>
|
|
|
|
<artifactId>executable-war</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</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>
|
|
|
|
<!-- Make sure to keep jetty-maven-plugin elsewhere in this file in sync with the Jetty release in Winstone -->
|
|
|
|
<version>5.24</version>
|
|
|
|
<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>
|
|
|
|
<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>
|
2007-02-12 03:09:53 +08:00
|
|
|
<mainClass>Main</mainClass>
|
|
|
|
</manifest>
|
2009-10-08 22:41:26 +08:00
|
|
|
<manifestEntries>
|
2022-03-29 12:51:23 +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 05:12:52 +08:00
|
|
|
<execution>
|
|
|
|
<!-- put executable war header -->
|
|
|
|
<id>executable-war-header</id>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>generate-resources</phase>
|
2011-07-05 05:12:52 +08:00
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>org.jenkins-ci</includeGroupIds>
|
|
|
|
<includeArtifactIds>executable-war</includeArtifactIds>
|
|
|
|
<includeScope>provided</includeScope>
|
|
|
|
<includes>**/*.class</includes>
|
2011-07-05 22:52:58 +08:00
|
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory>
|
2011-07-05 22:44:09 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<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>
|
2011-07-05 22:52:58 +08:00
|
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}</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>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>display-url-api</artifactId>
|
2022-02-26 04:09:49 +08:00
|
|
|
<version>2.3.5</version>
|
2017-05-13 18:01:10 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2012-11-22 23:07:51 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>mailer</artifactId>
|
2022-01-28 19:03:08 +08:00
|
|
|
<version>408.vd726a_1130320</version>
|
2012-11-22 23:07:51 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2013-10-05 04:27:15 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>matrix-auth</artifactId>
|
2021-05-14 00:08:04 +08:00
|
|
|
<version>2.6.6</version>
|
2013-10-05 04:27:15 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2014-01-04 06:20:01 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>windows-slaves</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2014-02-17 23:45:07 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>antisamy-markup-formatter</artifactId>
|
2014-04-15 04:55:02 +08:00
|
|
|
<version>1.1</version>
|
2014-02-17 23:45:07 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2014-04-15 09:10:17 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>matrix-project</artifactId>
|
2022-01-28 19:03:08 +08:00
|
|
|
<version>1.20</version>
|
2015-02-05 03:58:22 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>script-security</artifactId>
|
2020-09-26 04:33:52 +08:00
|
|
|
<version>1.75</version>
|
2014-04-15 09:10:17 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2014-08-12 01:45:23 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2022-01-28 19:03:08 +08:00
|
|
|
<version>1.47</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
|
|
<artifactId>workflow-api</artifactId>
|
2021-10-04 21:21:27 +08:00
|
|
|
<version>2.42</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2022-01-28 19:03:08 +08:00
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>plugin-util-api</artifactId>
|
|
|
|
<version>1.5.0</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>bootstrap4-api</artifactId>
|
|
|
|
<version>4.5.3-1</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>checks-api</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>jackson2-api</artifactId>
|
|
|
|
<version>2.12.0</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of junit -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>echarts-api</artifactId>
|
|
|
|
<version>4.9.0-2</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of jackson2-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>snakeyaml-api</artifactId>
|
|
|
|
<version>1.27.0</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of echarts-api and bootstrap4-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>jquery3-api</artifactId>
|
|
|
|
<version>3.5.1-2</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of echarts-api -->
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>jackson2-api</artifactId>
|
|
|
|
<version>2.12.0</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of bootstrap4-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>popper-api</artifactId>
|
|
|
|
<version>1.16.0-7</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of bootstrap4-api -->
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>font-awesome-api</artifactId>
|
|
|
|
<version>5.15.1-1</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
2021-10-04 21:21:27 +08:00
|
|
|
<!-- dependency of junit and workflow-api -->
|
2019-08-02 01:54:39 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
|
|
<artifactId>workflow-step-api</artifactId>
|
2021-10-04 21:21:27 +08:00
|
|
|
<version>2.23</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<!-- dependency of workflow-api -->
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>scm-api</artifactId>
|
2021-10-04 21:21:27 +08:00
|
|
|
<version>2.6.5</version>
|
2019-08-02 01:54:39 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
2021-10-04 21:21:27 +08:00
|
|
|
<!-- dependency of junit and scm-api -->
|
2019-08-02 01:54:39 +08:00
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>structs</artifactId>
|
2021-10-04 21:21:27 +08:00
|
|
|
<version>1.23</version>
|
2014-08-12 01:45:23 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2016-07-26 00:09:24 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>bouncycastle-api</artifactId>
|
2021-11-09 04:33:19 +08:00
|
|
|
<version>2.25</version>
|
2016-07-26 00:09:24 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2017-10-12 04:43:06 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>command-launcher</artifactId>
|
2019-07-11 22:50:06 +08:00
|
|
|
<version>1.2</version>
|
2017-10-12 04:43:06 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2018-03-17 06:29:52 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>jdk-tool</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2019-02-03 17:56:26 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>jaxb</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2021-02-26 05:05:23 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.modules</groupId>
|
|
|
|
<artifactId>sshd</artifactId>
|
2021-03-05 15:19:32 +08:00
|
|
|
<version>3.0.3</version>
|
2021-02-26 05:05:23 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2019-07-11 22:54:07 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
|
|
<artifactId>trilead-api</artifactId>
|
2019-07-12 21:23:54 +08:00
|
|
|
<version>1.0.4</version>
|
2019-07-11 22:54:07 +08:00
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
2022-01-18 16:19:08 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>javax-activation-api</artifactId>
|
|
|
|
<version>1.2.0-2</version>
|
|
|
|
<type>hpi</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>io.jenkins.plugins</groupId>
|
|
|
|
<artifactId>javax-mail-api</artifactId>
|
|
|
|
<version>1.6.2-5</version>
|
|
|
|
<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>
|
2021-12-30 00:00:18 +08:00
|
|
|
<version>1.1</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>
|
2021-12-31 23:52:48 +08:00
|
|
|
<plugin>
|
|
|
|
<!-- generate licenses.xml -->
|
2011-04-20 02:39:22 +08:00
|
|
|
<groupId>com.cloudbees</groupId>
|
|
|
|
<artifactId>maven-license-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);
|
|
|
|
def p = mojo.projectBuilder.buildFromRepository(a, project.getRemoteArtifactRepositories(), mojo.localRepository)
|
|
|
|
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>
|
2022-02-10 02:04:35 +08:00
|
|
|
<version>9.4.45.v20220203</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>
|
|
|
|
<systemProperty>
|
2011-02-25 15:53:59 +08:00
|
|
|
<name>JENKINS_HOME</name>
|
|
|
|
<value>${JENKINS_HOME}</value>
|
2006-11-06 06:57:18 +08:00
|
|
|
</systemProperty>
|
|
|
|
<systemProperty>
|
|
|
|
<!-- always reload views during debugging -->
|
|
|
|
<name>stapler.jelly.noCache</name>
|
2006-11-07 00:42:40 +08:00
|
|
|
<value>true</value>
|
|
|
|
</systemProperty>
|
2009-05-09 06:51:13 +08:00
|
|
|
<systemProperty>
|
|
|
|
<!-- show the stapler evaluation during execution -->
|
|
|
|
<name>stapler.trace</name>
|
|
|
|
<value>true</value>
|
|
|
|
</systemProperty>
|
2020-02-15 02:41:12 +08:00
|
|
|
<systemProperty>
|
|
|
|
<!-- show the full stack trace on errors (the oops page) -->
|
|
|
|
<name>jenkins.model.Jenkins.SHOW_STACK_TRACE</name>
|
|
|
|
<value>true</value>
|
|
|
|
</systemProperty>
|
Merged revisions 17324-17325,17428,17430,17473-17475,17481-17482,17555-17563,17571,17593-17595,17619-17620,17637-17644,17656-17657,17663-17665,17667-17670,17730,17753,17755-17758,17763-17768,17770-17771,17901,17906,17911-17912,17958,17961-17962,17970-17977 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/tool-autoinstallation
........
r17324 | jglick | 2009-04-20 18:24:32 -0700 (Mon, 20 Apr 2009) | 2 lines
Defensive cloning and Javadoc corrections.
(Though it seems no one is using the default impls of these methods yet anyway.)
........
r17325 | jglick | 2009-04-20 18:29:06 -0700 (Mon, 20 Apr 2009) | 1 line
Deprecation of delegate method is intentional.
........
r17428 | jglick | 2009-04-23 08:07:14 -0700 (Thu, 23 Apr 2009) | 1 line
Noting ToolLocationTranslator more prominently.
........
r17430 | jglick | 2009-04-23 09:16:40 -0700 (Thu, 23 Apr 2009) | 1 line
Unused imports.
........
r17473 | jglick | 2009-04-23 19:21:11 -0700 (Thu, 23 Apr 2009) | 1 line
Allow Plugin.configure to see the StaplerRequest, needed for some kinds of calls.
........
r17474 | jglick | 2009-04-23 19:25:54 -0700 (Thu, 23 Apr 2009) | 3 lines
Initial sketch of plugin to manage tool installations across slaves.
(Should really be under ../plugins/ but that was not branched, so putting here for the moment.)
........
r17475 | jglick | 2009-04-23 20:29:36 -0700 (Thu, 23 Apr 2009) | 1 line
Typo in Javadoc.
........
r17481 | jglick | 2009-04-23 22:46:26 -0700 (Thu, 23 Apr 2009) | 1 line
Unzip of an unbuffered stream is painfully slow.
........
r17482 | jglick | 2009-04-23 22:48:01 -0700 (Thu, 23 Apr 2009) | 1 line
ZIP-based tool installer now functional.
........
r17555 | jglick | 2009-04-27 17:50:38 -0700 (Mon, 27 Apr 2009) | 1 line
Build against newest trunk.
........
r17556 | jglick | 2009-04-27 18:38:28 -0700 (Mon, 27 Apr 2009) | 1 line
Adding help.
........
r17557 | jglick | 2009-04-27 18:57:46 -0700 (Mon, 27 Apr 2009) | 1 line
Moving toolName & label config GUI into generic files.
........
r17558 | jglick | 2009-04-27 19:37:30 -0700 (Mon, 27 Apr 2009) | 1 line
Typo.
........
r17559 | jglick | 2009-04-27 20:07:47 -0700 (Mon, 27 Apr 2009) | 1 line
Second tool installer type based on a freeform command.
........
r17560 | jglick | 2009-04-27 20:24:36 -0700 (Mon, 27 Apr 2009) | 1 line
installIfNecessaryFrom will now just return false in case the target dir exists but the URL cannot be opened.
........
r17561 | jglick | 2009-04-27 20:25:22 -0700 (Mon, 27 Apr 2009) | 2 lines
chmod only if something was actually installed.
Use a+x, not o+x.
........
r17562 | jglick | 2009-04-27 20:26:46 -0700 (Mon, 27 Apr 2009) | 1 line
Comment only.
........
r17563 | jglick | 2009-04-27 20:41:12 -0700 (Mon, 27 Apr 2009) | 1 line
I18N.
........
r17571 | jglick | 2009-04-28 08:15:31 -0700 (Tue, 28 Apr 2009) | 2 lines
Wiki link.
........
r17593 | jglick | 2009-04-28 15:38:33 -0700 (Tue, 28 Apr 2009) | 1 line
Turn off echo mode, it's just noise.
........
r17594 | jglick | 2009-04-28 15:39:29 -0700 (Tue, 28 Apr 2009) | 2 lines
Synchronizing access to installers for a given node/tool combo.
Sending log messages to Hudson log in real time.
........
r17595 | jglick | 2009-04-28 15:46:29 -0700 (Tue, 28 Apr 2009) | 1 line
Copyrights.
........
r17619 | jglick | 2009-04-29 06:25:23 -0700 (Wed, 29 Apr 2009) | 1 line
Improved Javadoc.
........
r17620 | jglick | 2009-04-29 06:51:11 -0700 (Wed, 29 Apr 2009) | 1 line
Demonstraing how to use DLJ to mechanically install official JDK releases on supported operating systems.
........
r17637 | kohsuke | 2009-04-30 16:15:24 -0700 (Thu, 30 Apr 2009) | 1 line
fixed what appears to be a C&P mistake
........
r17638 | kohsuke | 2009-04-30 16:16:21 -0700 (Thu, 30 Apr 2009) | 1 line
show YUI logger if YUI debugging mode is set.
........
r17639 | kohsuke | 2009-04-30 16:52:28 -0700 (Thu, 30 Apr 2009) | 7 lines
Fixed a UI script problem when <hetero-list> nests inside <repeatable>.
The cause of the problem was that the behavior for inner <hetero-list> kicks in first, altering HTML (by removing "prototypes"), before behavior for outer <repetable> kicks in and removes the master copy from DOM tree.
So <repeatable> ends up computing a master copy after some elements are removed, and hence when we try to reinsert them later by clicking "Add", it'll get incorrect copy, and re-execution of the <hetero-list> behavior bombs out.
I fixed this by skipping those HTML-altering behaviors if they show up in the part of DOM tree that's supposed to be snapshotted and removed.
........
r17640 | kohsuke | 2009-04-30 16:57:58 -0700 (Thu, 30 Apr 2009) | 7 lines
Added ToolProperty to ToolInstallation (which acts like NodeProperty to Node --- basically decorates the base object with additional properties.)
The original motivation is to implement ToolInstaller this way, if Jesse is OK. But decorating tools seem to have some other interesting use, such as a plugin for configuring $M2_HOME/conf/settings.xml, or a plugin to insert unlimited cryptography extension to JDK, or a plugin to add a few more jars into $ANT_HOME/lib.
For this to work, ToolInstallations that want properties needs to be modified to use a new constructor. For a starter, I modified the JDK class to do this.
I also took the opportunity to modernize JDK/config.jelly.
........
r17641 | kohsuke | 2009-04-30 17:02:04 -0700 (Thu, 30 Apr 2009) | 1 line
this appears to be a left-over from early days when we didn't have a means to do form validation
........
r17642 | kohsuke | 2009-04-30 17:02:35 -0700 (Thu, 30 Apr 2009) | 1 line
we don't need no.such.JDK but we need name. rebranching
........
r17643 | kohsuke | 2009-04-30 17:03:22 -0700 (Thu, 30 Apr 2009) | 1 line
rebranched from Hudson's configure.properties
........
r17644 | kohsuke | 2009-04-30 17:05:31 -0700 (Thu, 30 Apr 2009) | 1 line
removed unnecessary translations
........
r17656 | kohsuke | 2009-05-01 11:27:36 -0700 (Fri, 01 May 2009) | 1 line
Less hack for improved type safety. Asking people to write more code is not necessarily bad as long as what they need to do is obvious to them.
........
r17657 | kohsuke | 2009-05-01 12:07:20 -0700 (Fri, 01 May 2009) | 5 lines
The toolautoinst part of the change that corresponds to rev.17640.
ToolInstallers are now hooked under ToolInstallation through InstallSourceProperty as a ToolProperty.
This allows the relevant UIs to be shown in one place. Still pending Jesse's feedback. Making it a single commit to simplify a revert if necessary
........
r17663 | kohsuke | 2009-05-01 13:23:51 -0700 (Fri, 01 May 2009) | 1 line
doc improvement
........
r17664 | kohsuke | 2009-05-01 13:24:10 -0700 (Fri, 01 May 2009) | 1 line
needs this to allow Stapler to databind hetero-list automatically
........
r17665 | jglick | 2009-05-01 13:31:27 -0700 (Fri, 01 May 2009) | 1 line
Warnings.
........
r17667 | kohsuke | 2009-05-01 14:20:53 -0700 (Fri, 01 May 2009) | 1 line
added a method to do chmod
........
r17668 | kohsuke | 2009-05-01 14:30:35 -0700 (Fri, 01 May 2009) | 1 line
prefer JDK6 version to avoid unnecessary JNA loading
........
r17669 | kohsuke | 2009-05-01 14:33:09 -0700 (Fri, 01 May 2009) | 1 line
no, I must have confused this.
........
r17670 | kohsuke | 2009-05-01 15:57:11 -0700 (Fri, 01 May 2009) | 2 lines
- Automated JDK installer and its test.
- Minor update to the signature of ToolInstaller for supplying the expected default location.
........
r17730 | kohsuke | 2009-05-04 11:27:34 -0700 (Mon, 04 May 2009) | 1 line
avoid NPE as reported in HUDSON-3608
........
r17753 | jglick | 2009-05-04 19:34:08 -0700 (Mon, 04 May 2009) | 2 lines
Moved toolautoinst functionality into core.
........
r17755 | jglick | 2009-05-04 20:28:34 -0700 (Mon, 04 May 2009) | 8 lines
Added TaskListener parameter and IOException and InterruptedException to several methods:
Run.getEnvironment
NodeSpecific.forNode
ToolLocationTranslator.getToolHome
ToolLocationNodeProperty.getToolHome
ToolInstallation.translateFor
ProcessCache.Factory.getMavenInstallation
ProcessCache.Factory.getJava
........
r17756 | jglick | 2009-05-04 20:36:56 -0700 (Mon, 04 May 2009) | 1 line
expectedLocation was never strictly necessary, and will soon no longer be used even by JDKInstaller.
........
r17757 | jglick | 2009-05-04 20:40:41 -0700 (Mon, 04 May 2009) | 1 line
Not sure yet what @since should be.
........
r17758 | jglick | 2009-05-04 20:41:51 -0700 (Mon, 04 May 2009) | 1 line
getDefaultInstallers method added. Not yet in use.
........
r17763 | kohsuke | 2009-05-05 10:50:36 -0700 (Tue, 05 May 2009) | 1 line
deprecated redundant getJavaHome method
........
r17764 | kohsuke | 2009-05-05 12:10:45 -0700 (Tue, 05 May 2009) | 1 line
added general-purpose property defaulting mechanism, and added default tool installer for JDK
........
r17765 | jglick | 2009-05-05 12:35:56 -0700 (Tue, 05 May 2009) | 1 line
capitalize("") -> ""
........
r17766 | jglick | 2009-05-05 12:49:52 -0700 (Tue, 05 May 2009) | 1 line
Missing @since.
........
r17767 | jglick | 2009-05-05 13:01:41 -0700 (Tue, 05 May 2009) | 1 line
Unchecked warning.
........
r17768 | jglick | 2009-05-05 13:19:49 -0700 (Tue, 05 May 2009) | 2 lines
Two unsuccessful attempts at form validation.
........
r17770 | jglick | 2009-05-05 13:48:37 -0700 (Tue, 05 May 2009) | 1 line
Better class names.
........
r17771 | kohsuke | 2009-05-05 14:12:21 -0700 (Tue, 05 May 2009) | 5 lines
brought the form validation check back. The trick is to use the 'value' parameter.
In the end we'd expect this check to go away anyway, as we change input field to drop-down list, but in the mean time, this is why it didn't work.
Maybe we probably need more static code checkers? Like FindBugs rules?
........
r17901 | kohsuke | 2009-05-09 19:15:40 -0700 (Sat, 09 May 2009) | 1 line
having two toolHome is odd.
........
r17906 | kohsuke | 2009-05-10 11:09:13 -0700 (Sun, 10 May 2009) | 1 line
adding the generalization of UpdateCenter, but for compatibility reasons, we are leaving UpdateCenter as-is.
........
r17911 | kohsuke | 2009-05-10 17:02:53 -0700 (Sun, 10 May 2009) | 1 line
integrated json-lib with a bit of bug fix
........
r17912 | kohsuke | 2009-05-10 17:13:05 -0700 (Sun, 10 May 2009) | 1 line
JDK list is now fetched from hudson.dev.java.net
........
r17958 | kohsuke | 2009-05-11 13:44:25 -0700 (Mon, 11 May 2009) | 48 lines
Handle AbortException better to avoid error like this:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to delete directory: C:\files\hudson\workspace\hudson\hudson\main\remoting\target. Reason: Unable to delete file C:\files\hudson\workspace\hudson\hudson\main\remoting\target\remoting-1.304-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31 seconds
[INFO] Finished at: Sun May 10 18:15:33 PDT 2009
[INFO] Final Memory: 25M/48M
[INFO] ------------------------------------------------------------------------
Recording fingerprints
Archiving artifacts
Recording test results
ERROR: Failed to archive JUnit reports
hudson.util.IOException2: remote file operation failed
at hudson.FilePath.act(FilePath.java:596)
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:82)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360)
at hudson.model.Build$RunnerImpl.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)
at hudson.model.Run.run(Run.java:943)
at hudson.model.Build.run(Build.java:112)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
Caused by: hudson.AbortException: Test reports were found but none of them are new. Did tests run?
For example, \files\hudson\workspace\hudson\hudson\main\core\target\surefire-reports\TEST-hudson.BulkChangeTest.xml is 2 days 23 hr old
at hudson.tasks.junit.TestResult.parse(TestResult.java:134)
at hudson.tasks.junit.TestResult.<init>(TestResult.java:95)
at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:95)
at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:82)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1583)
at hudson.remoting.UserRequest.perform(UserRequest.java:92)
at hudson.remoting.UserRequest.perform(UserRequest.java:46)
at hudson.remoting.Request$2.run(Request.java:236)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
........
r17961 | kohsuke | 2009-05-11 15:16:39 -0700 (Mon, 11 May 2009) | 1 line
adding Windows JDK silent installation
........
r17962 | kohsuke | 2009-05-11 16:08:13 -0700 (Mon, 11 May 2009) | 1 line
Fixing JDK offline installatino for Windows
........
r17970 | kohsuke | 2009-05-11 19:37:59 -0700 (Mon, 11 May 2009) | 1 line
Fixing a problem that prevents the usage of this tag in <repeatable> block, which reinserts the same fragment over and over. So statically assigning IDs won't work
........
r17971 | kohsuke | 2009-05-11 22:17:09 -0700 (Mon, 11 May 2009) | 1 line
continuing to remove static ID generation, which breaks the tag when used inside <repetable> tag.
........
r17972 | kohsuke | 2009-05-11 22:19:11 -0700 (Mon, 11 May 2009) | 1 line
I don't know when this started, but even in the hudson-dev:run mode, the versionis no longer '?', so we need a different way to force reload
........
r17973 | kohsuke | 2009-05-11 22:26:34 -0700 (Mon, 11 May 2009) | 1 line
adjusted the text a bit since multiple "add" and "delete"s were rather confusing
........
r17974 | kohsuke | 2009-05-11 22:31:58 -0700 (Mon, 11 May 2009) | 1 line
added help screen
........
r17975 | kohsuke | 2009-05-11 22:41:39 -0700 (Mon, 11 May 2009) | 1 line
form validation now works against the checkbox, too
........
r17976 | kohsuke | 2009-05-11 22:43:00 -0700 (Mon, 11 May 2009) | 1 line
with auto installation, we expect users to specify a directory that doesn't exist yet, so don't report it as an error
........
r17977 | kohsuke | 2009-05-11 22:43:24 -0700 (Mon, 11 May 2009) | 1 line
improving the text
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17985 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-12 21:59:10 +08:00
|
|
|
<systemProperty>
|
|
|
|
<!-- always reload scripts during debugging -->
|
|
|
|
<name>hudson.script.noCache</name>
|
|
|
|
<value>true</value>
|
|
|
|
</systemProperty>
|
2006-11-07 00:42:40 +08:00
|
|
|
<systemProperty>
|
|
|
|
<!-- load view resources from the source directly, again for real time change -->
|
|
|
|
<name>stapler.resourcePath</name>
|
2021-12-31 23:52:48 +08:00
|
|
|
<value>../core/src/main/resources;</value>
|
2006-11-06 06:57:18 +08:00
|
|
|
</systemProperty>
|
Merged revisions 16689-16697,16701-16710,16712-16714 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/HUDSON-3251
........
r16689 | kohsuke | 2009-03-29 08:52:25 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (1/18) moving maven-related source to maven-plugin
........
r16690 | kohsuke | 2009-03-29 08:57:23 -0700 (Sun, 29 Mar 2009) | 4 lines
[HUDSON-3251] (3/18) moved KeptBecauseOfParent message
Note I skipped (2/18) to move the logic into MavenProject.DescriptorImpl.isApplicable.
........
r16691 | kohsuke | 2009-03-29 08:58:21 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] (4/18) removed imports and javadoc links to Maven-related classes
........
r16692 | kohsuke | 2009-03-29 08:59:49 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (5/18) moving maven-related functionality to maven plugin.
........
r16693 | kohsuke | 2009-03-29 09:01:11 -0700 (Sun, 29 Mar 2009) | 5 lines
[HUDSON-3251] (5/18) moving maven-related functionality to maven plugin
Forgot to add a newly created file.
........
r16694 | kohsuke | 2009-03-29 09:02:24 -0700 (Sun, 29 Mar 2009) | 1 line
needs a copyright header on all files in the core
........
r16695 | kohsuke | 2009-03-29 09:07:03 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
r16696 | kohsuke | 2009-03-29 09:17:58 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
r16697 | kohsuke | 2009-03-29 09:38:23 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (7/18) add a hudson.bundled.plugins property that can override the default bundled plugins.
........
r16701 | kohsuke | 2009-03-29 15:14:38 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (8/18) finding Maven jars through reflection for now. TODO: introduce a post-initialization hook
........
r16702 | kohsuke | 2009-03-29 15:20:36 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (10/18) use lastModified to avoid unpacking bundled plugins unnecessarily.
........
r16703 | kohsuke | 2009-03-29 15:21:15 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (12/18) updating poms and packaging to bundle maven plugin
........
r16704 | kohsuke | 2009-03-29 15:37:32 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (15/18) resolve plugins from the classpath in tests. Slightly reworked.
........
r16705 | kohsuke | 2009-03-29 15:38:12 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (16/18) update hpi plugin version
........
r16706 | kohsuke | 2009-03-29 15:38:54 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (17/18) moved createExecutedMojoCache
........
r16707 | kohsuke | 2009-03-29 15:42:38 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] after looking at (18/18), I think the same effect can be achieved more easily by not setting this system property at all.
Or am I missing something?
........
r16708 | kohsuke | 2009-03-29 15:43:30 -0700 (Sun, 29 Mar 2009) | 1 line
formatting change
........
r16709 | kohsuke | 2009-03-29 15:58:16 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] ignore certain builders and publishers in Maven2 job type. This does the same thing as (2/18) in Tom's patch, but I believe this is better. Still needs to figure out how to do this for MavenModule, which doesn't have a descriptor.
........
r16710 | kohsuke | 2009-03-29 16:01:00 -0700 (Sun, 29 Mar 2009) | 1 line
ignore generated files
........
r16712 | kohsuke | 2009-03-29 16:29:05 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] revisited patch (8/18). ComputerListener is extended to support the preOnline step, so that some operations can be carried out whose failure will result in the node failing to become online.
Maven-plugin uses this now to avoid the use of reflection.
........
r16713 | kohsuke | 2009-03-29 16:38:48 -0700 (Sun, 29 Mar 2009) | 1 line
switching to fork because otherwise the test fails with PermGen out of space
........
r16714 | kohsuke | 2009-03-29 16:39:36 -0700 (Sun, 29 Mar 2009) | 1 line
no, the next version is 1.295.
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16734 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-31 05:55:33 +08:00
|
|
|
<systemProperty>
|
2010-03-13 07:14:47 +08:00
|
|
|
<!-- enable the plugins in main by default -->
|
Merged revisions 16689-16697,16701-16710,16712-16714 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/HUDSON-3251
........
r16689 | kohsuke | 2009-03-29 08:52:25 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (1/18) moving maven-related source to maven-plugin
........
r16690 | kohsuke | 2009-03-29 08:57:23 -0700 (Sun, 29 Mar 2009) | 4 lines
[HUDSON-3251] (3/18) moved KeptBecauseOfParent message
Note I skipped (2/18) to move the logic into MavenProject.DescriptorImpl.isApplicable.
........
r16691 | kohsuke | 2009-03-29 08:58:21 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] (4/18) removed imports and javadoc links to Maven-related classes
........
r16692 | kohsuke | 2009-03-29 08:59:49 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (5/18) moving maven-related functionality to maven plugin.
........
r16693 | kohsuke | 2009-03-29 09:01:11 -0700 (Sun, 29 Mar 2009) | 5 lines
[HUDSON-3251] (5/18) moving maven-related functionality to maven plugin
Forgot to add a newly created file.
........
r16694 | kohsuke | 2009-03-29 09:02:24 -0700 (Sun, 29 Mar 2009) | 1 line
needs a copyright header on all files in the core
........
r16695 | kohsuke | 2009-03-29 09:07:03 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
r16696 | kohsuke | 2009-03-29 09:17:58 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
r16697 | kohsuke | 2009-03-29 09:38:23 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (7/18) add a hudson.bundled.plugins property that can override the default bundled plugins.
........
r16701 | kohsuke | 2009-03-29 15:14:38 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (8/18) finding Maven jars through reflection for now. TODO: introduce a post-initialization hook
........
r16702 | kohsuke | 2009-03-29 15:20:36 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (10/18) use lastModified to avoid unpacking bundled plugins unnecessarily.
........
r16703 | kohsuke | 2009-03-29 15:21:15 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (12/18) updating poms and packaging to bundle maven plugin
........
r16704 | kohsuke | 2009-03-29 15:37:32 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (15/18) resolve plugins from the classpath in tests. Slightly reworked.
........
r16705 | kohsuke | 2009-03-29 15:38:12 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (16/18) update hpi plugin version
........
r16706 | kohsuke | 2009-03-29 15:38:54 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (17/18) moved createExecutedMojoCache
........
r16707 | kohsuke | 2009-03-29 15:42:38 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] after looking at (18/18), I think the same effect can be achieved more easily by not setting this system property at all.
Or am I missing something?
........
r16708 | kohsuke | 2009-03-29 15:43:30 -0700 (Sun, 29 Mar 2009) | 1 line
formatting change
........
r16709 | kohsuke | 2009-03-29 15:58:16 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] ignore certain builders and publishers in Maven2 job type. This does the same thing as (2/18) in Tom's patch, but I believe this is better. Still needs to figure out how to do this for MavenModule, which doesn't have a descriptor.
........
r16710 | kohsuke | 2009-03-29 16:01:00 -0700 (Sun, 29 Mar 2009) | 1 line
ignore generated files
........
r16712 | kohsuke | 2009-03-29 16:29:05 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] revisited patch (8/18). ComputerListener is extended to support the preOnline step, so that some operations can be carried out whose failure will result in the node failing to become online.
Maven-plugin uses this now to avoid the use of reflection.
........
r16713 | kohsuke | 2009-03-29 16:38:48 -0700 (Sun, 29 Mar 2009) | 1 line
switching to fork because otherwise the test fails with PermGen out of space
........
r16714 | kohsuke | 2009-03-29 16:39:36 -0700 (Sun, 29 Mar 2009) | 1 line
no, the next version is 1.295.
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16734 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-31 05:55:33 +08:00
|
|
|
<name>hudson.bundled.plugins</name>
|
2021-12-31 23:52:48 +08:00
|
|
|
<!-- run "mvn install" once will generate the.hpl -->
|
|
|
|
<value>${project.build.directory}/${project.build.finalName}/WEB-INF/plugins/*.hpi</value>
|
Merged revisions 16689-16697,16701-16710,16712-16714 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/HUDSON-3251
........
r16689 | kohsuke | 2009-03-29 08:52:25 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (1/18) moving maven-related source to maven-plugin
........
r16690 | kohsuke | 2009-03-29 08:57:23 -0700 (Sun, 29 Mar 2009) | 4 lines
[HUDSON-3251] (3/18) moved KeptBecauseOfParent message
Note I skipped (2/18) to move the logic into MavenProject.DescriptorImpl.isApplicable.
........
r16691 | kohsuke | 2009-03-29 08:58:21 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] (4/18) removed imports and javadoc links to Maven-related classes
........
r16692 | kohsuke | 2009-03-29 08:59:49 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (5/18) moving maven-related functionality to maven plugin.
........
r16693 | kohsuke | 2009-03-29 09:01:11 -0700 (Sun, 29 Mar 2009) | 5 lines
[HUDSON-3251] (5/18) moving maven-related functionality to maven plugin
Forgot to add a newly created file.
........
r16694 | kohsuke | 2009-03-29 09:02:24 -0700 (Sun, 29 Mar 2009) | 1 line
needs a copyright header on all files in the core
........
r16695 | kohsuke | 2009-03-29 09:07:03 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
r16696 | kohsuke | 2009-03-29 09:17:58 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
r16697 | kohsuke | 2009-03-29 09:38:23 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (7/18) add a hudson.bundled.plugins property that can override the default bundled plugins.
........
r16701 | kohsuke | 2009-03-29 15:14:38 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (8/18) finding Maven jars through reflection for now. TODO: introduce a post-initialization hook
........
r16702 | kohsuke | 2009-03-29 15:20:36 -0700 (Sun, 29 Mar 2009) | 2 lines
[HUDSON-3251] (10/18) use lastModified to avoid unpacking bundled plugins unnecessarily.
........
r16703 | kohsuke | 2009-03-29 15:21:15 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (12/18) updating poms and packaging to bundle maven plugin
........
r16704 | kohsuke | 2009-03-29 15:37:32 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (15/18) resolve plugins from the classpath in tests. Slightly reworked.
........
r16705 | kohsuke | 2009-03-29 15:38:12 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (16/18) update hpi plugin version
........
r16706 | kohsuke | 2009-03-29 15:38:54 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] (17/18) moved createExecutedMojoCache
........
r16707 | kohsuke | 2009-03-29 15:42:38 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] after looking at (18/18), I think the same effect can be achieved more easily by not setting this system property at all.
Or am I missing something?
........
r16708 | kohsuke | 2009-03-29 15:43:30 -0700 (Sun, 29 Mar 2009) | 1 line
formatting change
........
r16709 | kohsuke | 2009-03-29 15:58:16 -0700 (Sun, 29 Mar 2009) | 1 line
[HUDSON-3251] ignore certain builders and publishers in Maven2 job type. This does the same thing as (2/18) in Tom's patch, but I believe this is better. Still needs to figure out how to do this for MavenModule, which doesn't have a descriptor.
........
r16710 | kohsuke | 2009-03-29 16:01:00 -0700 (Sun, 29 Mar 2009) | 1 line
ignore generated files
........
r16712 | kohsuke | 2009-03-29 16:29:05 -0700 (Sun, 29 Mar 2009) | 3 lines
[HUDSON-3251] revisited patch (8/18). ComputerListener is extended to support the preOnline step, so that some operations can be carried out whose failure will result in the node failing to become online.
Maven-plugin uses this now to avoid the use of reflection.
........
r16713 | kohsuke | 2009-03-29 16:38:48 -0700 (Sun, 29 Mar 2009) | 1 line
switching to fork because otherwise the test fails with PermGen out of space
........
r16714 | kohsuke | 2009-03-29 16:39:36 -0700 (Sun, 29 Mar 2009) | 1 line
no, the next version is 1.295.
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16734 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-31 05:55:33 +08:00
|
|
|
</systemProperty>
|
2009-05-22 01:05:12 +08:00
|
|
|
<systemProperty>
|
|
|
|
<!-- stat collection pointless -->
|
|
|
|
<name>hudson.model.UsageStatistics.disabled</name>
|
|
|
|
<value>true</value>
|
|
|
|
</systemProperty>
|
2010-08-24 03:05:03 +08:00
|
|
|
<systemProperty>
|
|
|
|
<name>hudson.Main.development</name>
|
|
|
|
<value>true</value>
|
|
|
|
</systemProperty>
|
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. -->
|
|
|
|
<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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2021-03-07 03:28:36 +08:00
|
|
|
<!-- Version specified in grandparent POM -->
|
2016-04-23 18:20:46 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-versions</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireMavenVersion>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</requireMavenVersion>
|
2017-09-11 07:45:00 +08:00
|
|
|
<requireJavaVersion>
|
|
|
|
<!-- let's encrypt certs used for https://updates.jenkins.io -->
|
|
|
|
<version>[1.8.0-101,]</version>
|
|
|
|
</requireJavaVersion>
|
2016-04-23 18:20:46 +08:00
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
2021-12-31 23:54:22 +08:00
|
|
|
<version>1.12.1</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
|
|
|
<configuration>
|
2017-05-19 04:33:20 +08:00
|
|
|
<!-- ensure only one concurrent 'yarn install' -->
|
|
|
|
<!-- when yarn cache is empty, multiple yarns performing network fetches frequently results in opaque errors -->
|
|
|
|
<arguments>--mutex network</arguments>
|
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>
|
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
|
|
|
|
2016-04-23 18:20:46 +08:00
|
|
|
<execution>
|
2020-01-15 23:08:26 +08:00
|
|
|
<id>yarn test</id>
|
2016-04-23 18:20:46 +08:00
|
|
|
<goals>
|
2020-01-15 23:08:26 +08:00
|
|
|
<goal>yarn</goal>
|
2016-04-23 18:20:46 +08:00
|
|
|
</goals>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>test</phase>
|
2016-04-23 18:20:46 +08:00
|
|
|
<configuration>
|
2020-01-15 23:08:26 +08:00
|
|
|
<arguments>test</arguments>
|
2016-04-23 18:20:46 +08:00
|
|
|
<skip>${skipTests}</skip>
|
|
|
|
</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>
|
2021-12-31 23:52:48 +08:00
|
|
|
<phase>test</phase>
|
2020-01-21 23:48:26 +08:00
|
|
|
<configuration>
|
|
|
|
<arguments>lint</arguments>
|
|
|
|
<skip>${skipTests}</skip>
|
|
|
|
</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>
|