jenkins/pom.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

601 lines
21 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
The MIT License
Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:sorokh
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.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
2011-01-31 05:18:06 +08:00
<groupId>org.jenkins-ci</groupId>
<artifactId>jenkins</artifactId>
<version>1.123</version>
<relativePath />
</parent>
2011-01-31 05:18:06 +08:00
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-parent</artifactId>
<version>${revision}${changelist}</version>
<packaging>pom</packaging>
2011-01-31 05:18:06 +08:00
<name>Jenkins main module</name>
<description>The module that constitutes the main jenkins.war</description>
2021-08-06 03:18:01 +08:00
<url>https://github.com/jenkinsci/jenkins</url>
<licenses>
<license>
<name>The MIT license</name>
2019-10-05 15:22:47 +08:00
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
2011-04-18 02:48:27 +08:00
<modules>
<module>bom</module>
<module>websocket/spi</module>
<module>websocket/jetty12-ee9</module>
<module>core</module>
<module>war</module>
<module>test</module>
<module>cli</module>
2022-04-18 04:22:11 +08:00
<module>coverage</module>
</modules>
2022-03-28 23:58:11 +08:00
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
<connection>scm:git:https://github.com/jenkinsci/jenkins.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/jenkins.git</developerConnection>
<tag>${scmTag}</tag>
2021-12-31 23:52:48 +08:00
<url>https://github.com/jenkinsci/jenkins</url>
</scm>
2011-11-27 17:15:17 +08:00
<issueManagement>
<system>jira</system>
2023-02-12 08:19:40 +08:00
<url>https://issues.jenkins.io/issues/?jql=component=15593</url>
2011-11-27 17:15:17 +08:00
</issueManagement>
<properties>
<revision>2.479.2</revision>
<changelist>-SNAPSHOT</changelist>
<project.build.outputTimestamp>2024-10-30T13:02:35Z</project.build.outputTimestamp>
2011-11-27 17:15:17 +08:00
<!-- configuration for patch tracker plugin -->
<project.patchManagement.system>github</project.patchManagement.system>
<patch.request.organisation>jenkinsci</patch.request.organisation>
<patch.request.repository>jenkins</patch.request.repository>
<project.patchManagement.url>https://api.github.com</project.patchManagement.url>
<patch.tracker.serverId>jenkins-jira</patch.tracker.serverId>
<changelog.url>https://www.jenkins.io/changelog</changelog.url>
<!-- Bundled Remoting version -->
<remoting.version>3261.v9c670a_4748a_9</remoting.version>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Medium</spotbugs.threshold>
<access-modifier.version>1.33</access-modifier.version>
<antlr.version>4.13.2</antlr.version>
<bridge-method-injector.version>1.29</bridge-method-injector.version>
<spotless.check.skip>false</spotless.check.skip>
<!-- Make sure to keep the jetty-ee9-maven-plugin version in war/pom.xml in sync with the Jetty release in Winstone: -->
<winstone.version>8.1</winstone.version>
<node.version>20.17.0</node.version>
<!-- frontend-maven-plugin will install this Yarn version as bootstrap, then hand over control to Yarn Berry. -->
<yarn.version>1.22.19</yarn.version>
<!-- maven-antrun-plugin will download this Yarn version. -->
<yarn-berry.version>4.5.0</yarn-berry.version>
<yarn-berry.sha256sum>cc00dce5de4f68d11450519a0f69eadf2a1cbe5cc0d8e740bfac817a31d76874</yarn-berry.sha256sum>
</properties>
2021-12-31 23:52:48 +08:00
<!--
Note that the 'repositories' and 'pluginRepositories' blocks below are actually copy-pasted
from the Jenkins org pom. This is on purpose to keep Jenkins core buildable even if one has
*not* defined the specific details in the settings.xml file.
-->
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
<!-- allow snapshots -->
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>
<build>
<defaultGoal>install</defaultGoal>
2011-07-05 05:18:18 +08:00
<resources>
<resource>
<filtering>false</filtering>
2021-12-31 23:52:48 +08:00
<directory>${basedir}/src/main/resources</directory>
2011-07-05 05:18:18 +08:00
</resource>
<resource>
<filtering>true</filtering>
2021-12-31 23:52:48 +08:00
<directory>${basedir}/src/filter/resources</directory>
2011-07-05 05:18:18 +08:00
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
2012-11-20 05:10:43 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- Version specified in parent POM -->
<configuration>
<compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
<compilerArgs>
2021-04-18 02:01:54 +08:00
<!--
always compile package-info.java for useIncrementalCompilation
ref: https://stackoverflow.com/questions/6770455/maven-compiling-package-info-java-to-package-info-class
-->
<compilerArg>-Xpkginfo:always</compilerArg>
</compilerArgs>
</configuration>
</plugin>
2010-12-24 21:19:10 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<!-- Version specified in parent POM -->
<configuration>
<quiet>true</quiet>
2021-11-20 04:56:34 +08:00
<splitindex>true</splitindex>
</configuration>
</plugin>
<plugin>
2010-12-24 21:19:10 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- Version specified in parent POM -->
2010-12-24 21:19:10 +08:00
<configuration>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
<runOrder>alphabetical</runOrder>
2010-12-24 21:19:10 +08:00
</configuration>
</plugin>
2011-07-05 22:44:09 +08:00
<plugin>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>3.1.0</version>
2011-07-05 22:44:09 +08:00
<configuration>
<!--
during the development, debug profile will cause
the jars to be signed by a self-certified dummy public key.
For release, you should define the real values in ~/.m2/settings.xml
-->
<alias>${hudson.sign.alias}</alias>
<storepass>${hudson.sign.storepass}</storepass>
<keystore>${hudson.sign.keystore}</keystore>
</configuration>
</plugin>
<plugin>
2011-03-28 11:25:36 +08:00
<groupId>org.kohsuke</groupId>
<artifactId>access-modifier-checker</artifactId>
<version>${access-modifier.version}</version>
2011-03-28 11:25:36 +08:00
</plugin>
<plugin>
<groupId>io.jenkins.tools.maven</groupId>
<artifactId>license-maven-plugin</artifactId>
<!-- Version specified in parent POM -->
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<phase>compile</phase>
<configuration>
<requireCompleteLicenseInfo>true</requireCompleteLicenseInfo>
<script>../licenseCompleter.groovy</script>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jvnet.localizer</groupId>
2020-12-02 00:06:52 +08:00
<artifactId>localizer-maven-plugin</artifactId>
<!-- Version specified in parent POM -->
<configuration>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
2021-04-18 02:01:54 +08:00
</plugin>
<plugin>
<groupId>org.jvnet.hudson.tools</groupId>
<artifactId>maven-encoding-plugin</artifactId>
<version>1.1</version>
</plugin>
<plugin>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-injector</artifactId>
<version>${bridge-method-injector.version}</version>
</plugin>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>${antlr.version}</version>
</plugin>
2012-09-02 20:19:30 +08:00
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
2021-04-18 02:01:54 +08:00
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<!-- Version specified in parent POM -->
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<!-- Version specified in parent POM -->
<versionRange>[2.3,)</versionRange>
<goals>
<goal>list</goal>
<goal>unpack-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
2012-09-02 20:19:30 +08:00
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<!-- Version specified in parent POM -->
2020-04-18 00:14:55 +08:00
<configuration>
<maxHeap>768</maxHeap>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<!-- Version specified in parent POM -->
<configuration>
2021-04-18 02:01:54 +08:00
<consoleOutput>true</consoleOutput>
2021-04-19 22:04:10 +08:00
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<configLocation>${maven.multiModuleProjectDirectory}/src/checkstyle/checkstyle-configuration.xml</configLocation>
<suppressionsLocation>${maven.multiModuleProjectDirectory}/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
2021-04-18 02:01:54 +08:00
</configuration>
2021-12-31 23:52:48 +08:00
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.18.1</version>
2021-12-31 23:52:48 +08:00
</dependency>
</dependencies>
2021-04-18 02:01:54 +08:00
<executions>
<execution>
<id>validate</id>
<goals>
<goal>check</goal>
</goals>
2021-12-31 23:52:48 +08:00
<phase>validate</phase>
2021-04-18 02:01:54 +08:00
</execution>
</executions>
</plugin>
2022-04-18 04:22:11 +08:00
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
2022-04-18 04:22:11 +08:00
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<!-- Version specified in parent POM -->
<configuration>
<antlr4>
<antlr4Formatter />
</antlr4>
<java combine.self="override">
<endWithNewline />
<importOrder />
<indent>
<spaces>true</spaces>
</indent>
<removeUnusedImports />
<trimTrailingWhitespace />
</java>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<!-- Version specified in parent POM -->
<configuration>
<!-- work around for a bug in javadoc plugin that causes the release to fail. see MRELEASE-271 -->
<preparationGoals>clean install</preparationGoals>
<goals>-DskipTests -Dspotbugs.skip -Dmaven.checkstyle.skip -Dspotless.check.skip generate-resources javadoc:javadoc deploy</goals>
2010-12-18 16:00:49 +08:00
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
<tagNameFormat>jenkins-@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<!-- Version specified in parent POM -->
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.jvnet.hudson:license:1.0</resourceBundle>
</resourceBundles>
</configuration>
</execution>
</executions>
</plugin>
2009-02-23 10:31:18 +08:00
enforcer rule should cover the whole core, since the remoting bulid fails on some JDK5 versions. ---------- [INFO] ---------------------------------------------------------------------------- [INFO] Building Hudson remoting layer [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from m.g.o-public [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.7 [INFO] JDK Version: 1.5.0_06 normalized as: 1.5.0-6 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.27-11-generic [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 46 source files to /files/hudson/workspace/hudson-cobertura/main/remoting/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed Mar 25 09:42:20 PDT 2009 [INFO] Final Memory: 40M/207M [INFO] ------------------------------------------------------------------------ Finished: FAILURE git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-26 00:46:42 +08:00
<plugin>
2010-12-24 21:19:10 +08:00
<groupId>org.apache.maven.plugins</groupId>
enforcer rule should cover the whole core, since the remoting bulid fails on some JDK5 versions. ---------- [INFO] ---------------------------------------------------------------------------- [INFO] Building Hudson remoting layer [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from m.g.o-public [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.7 [INFO] JDK Version: 1.5.0_06 normalized as: 1.5.0-6 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.27-11-generic [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 46 source files to /files/hudson/workspace/hudson-cobertura/main/remoting/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed Mar 25 09:42:20 PDT 2009 [INFO] Final Memory: 40M/207M [INFO] ------------------------------------------------------------------------ Finished: FAILURE git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-26 00:46:42 +08:00
<artifactId>maven-enforcer-plugin</artifactId>
<!-- Version specified in parent POM -->
enforcer rule should cover the whole core, since the remoting bulid fails on some JDK5 versions. ---------- [INFO] ---------------------------------------------------------------------------- [INFO] Building Hudson remoting layer [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from m.g.o-public [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.7 [INFO] JDK Version: 1.5.0_06 normalized as: 1.5.0-6 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.27-11-generic [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 46 source files to /files/hudson/workspace/hudson-cobertura/main/remoting/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed Mar 25 09:42:20 PDT 2009 [INFO] Final Memory: 40M/207M [INFO] ------------------------------------------------------------------------ Finished: FAILURE git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-26 00:46:42 +08:00
<executions>
<execution>
<id>enforce-banned-dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<excludes combine.children="append">
<exclude>org.sonatype.sisu:sisu-guice</exclude>
<exclude>commons-logging:commons-logging:*:jar:compile</exclude>
<exclude>commons-logging:commons-logging:*:jar:runtime</exclude>
</excludes>
</bannedDependencies>
</rules>
</configuration>
</execution>
enforcer rule should cover the whole core, since the remoting bulid fails on some JDK5 versions. ---------- [INFO] ---------------------------------------------------------------------------- [INFO] Building Hudson remoting layer [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from m.g.o-public [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.7 [INFO] JDK Version: 1.5.0_06 normalized as: 1.5.0-6 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.27-11-generic [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 46 source files to /files/hudson/workspace/hudson-cobertura/main/remoting/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed Mar 25 09:42:20 PDT 2009 [INFO] Final Memory: 40M/207M [INFO] ------------------------------------------------------------------------ Finished: FAILURE git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-26 00:46:42 +08:00
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>debug</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<hudson.sign.alias>jenkins</hudson.sign.alias>
<hudson.sign.keystore>../dummy.keystore</hudson.sign.keystore>
<hudson.sign.storepass>jenkins</hudson.sign.storepass>
</properties>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
2011-01-19 13:56:43 +08:00
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<!-- Version specified in parent POM -->
2011-01-19 13:56:43 +08:00
<executions>
<execution>
<id>sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
2021-12-31 23:52:48 +08:00
<phase>verify</phase>
2011-01-19 13:56:43 +08:00
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2015-08-30 17:52:34 +08:00
<profile>
<id>lts-release</id>
<properties>
<changelog.url>https://www.jenkins.io/changelog-stable</changelog.url>
2015-08-30 17:52:34 +08:00
</properties>
</profile>
<profile>
<id>yarn-execution</id>
<activation>
<file>
<exists>package.json</exists>
</file>
</activation>
<build>
<plugins>
<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>
<target>
<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>
<echo file="${project.basedir}/.yarnrc.yml">yarnPath: ${yarn.dest}</echo>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.15.1</version>
<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<phase>initialize</phase>
<configuration>
<nodeVersion>v${node.version}</nodeVersion>
<yarnVersion>v${yarn.version}</yarnVersion>
<nodeDownloadRoot>https://repo.jenkins-ci.org/nodejs-dist/</nodeDownloadRoot>
<!-- tried to create a mirror for yarnDownloadRoot but it did not work -->
</configuration>
</execution>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>initialize</phase>
</execution>
<execution>
<id>yarn build</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<arguments>build</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>yarn-ci-lint</id>
<activation>
<property>
<name>env.CI</name>
</property>
<file>
<exists>package.json</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.15.1</version>
<executions>
<execution>
<id>yarn lint:ci</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>test</phase>
<configuration>
<arguments>lint:ci</arguments>
<skip>${yarn.lint.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>yarn-lint</id>
<activation>
<property>
<name>!env.CI</name>
</property>
<file>
<exists>package.json</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.15.1</version>
<executions>
<execution>
<id>yarn lint</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>test</phase>
<configuration>
<arguments>lint</arguments>
<skip>${yarn.lint.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>clean-node</id>
<activation>
<property>
<name>cleanNode</name>
</property>
<file>
<exists>package.json</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<!-- Version specified in grandparent POM -->
<configuration>
<filesets>
<fileset>
<directory>node</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>node_modules</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>