jenkins/core/pom.xml

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

788 lines
25 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
The MIT License
Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
Daniel Dyer, Erik Ramfelt, Stephen Connolly, Tom Huybrechts, Alan Harder
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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
2011-01-31 05:18:06 +08:00
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-parent</artifactId>
<version>${revision}${changelist}</version>
</parent>
<artifactId>jenkins-core</artifactId>
2011-01-31 05:18:06 +08:00
<name>Jenkins core</name>
<description>Jenkins core code and view files to render HTML.</description>
2021-08-06 03:18:01 +08:00
<url>https://github.com/jenkinsci/jenkins</url>
<properties>
<hamcrest.version>2.2</hamcrest.version>
<xmlunit.version>2.9.0</xmlunit.version>
2022-04-18 04:22:11 +08:00
<!-- Filled in by jacoco-maven-plugin -->
<jacocoSurefireArgs />
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cli</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>${project.groupId}</groupId>
<artifactId>remoting</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
</dependency>
2021-12-31 23:52:48 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>args4j</groupId>
<artifactId>args4j</artifactId>
</dependency>
2010-11-27 08:37:49 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<exclusions>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<exclusions>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<exclusions>
<exclusion>
<!-- Provided by spring-aop via spring-security-web -->
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-annotation</artifactId>
<version>${bridge-method-injector.version}</version>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<!-- Overriding Staplers 1.1.3 version to diagnose JENKINS-20618: -->
<groupId>com.jcraft</groupId>
<artifactId>jzlib</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>com.sun.solaris</groupId>
<artifactId>embedded_su4j</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>com.sun.xml.txw2</groupId>
<artifactId>txw2</artifactId>
<exclusions>
<!-- StAX is now bundled in the JRE -->
<exclusion>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
[JEP-228] Unforking XStream (#4944) * Unforking XStream * Some overrides missing from MapperDelegate * [XSTR-762] writeReplace & readResolve must be accessible to be used from subclasses * DomElement.click overloads changed incompatibly * Giving up on ToolInstallation being Serializable. Fixing MavenInstallation accordingly. AntInstallation was already fixed: https://github.com/jenkinsci/ant-plugin/commit/c957dca4cd7789e3918e90ae020687aeaeea998e * Relaxing message assertion in RobustReflectionConverter.randomExceptionsReported * Picking up https://github.com/jenkinsci/matrix-auth-plugin/pull/89 caught via JobTest * https://github.com/jenkinsci/jenkins-test-harness/pull/243 released * Another case forgotten in 0e5aeec4ccc67207c0912ffe471fe5cf2815cf04 * XStream has SecurityMapper, but we have our own system already, so suppress warning * GetMavenVersion was also serializing its outer class * Trying to make ToolInstallation serializable compatible * Avoid throwing IOException from PersistedList.inModified for common cases covered by https://github.com/jenkinsci/jenkins-test-harness/pull/243 * Found a way to avoid looking up XStream.converterRegistry by reflection * XStream2Test.crashXstream now throwing ConversionException, not ForbiddenClassException * Noting which version of the parent POM has https://github.com/jenkinsci/jenkins-test-harness/pull/243 * Refreshed Javadoc for XStream2 * The simplest solution to JENKINS-19561 seems to be to stop using autodetectAnnotations * Fixing some deprecations in Robust*Converter * Display OldDataMonitor errors from RobustReflectionConverter during functional tests * Stray digit in test name * Added XStream2AnnotationTest to clearly document incompatibility * Picking up release of https://github.com/jenkinsci/matrix-auth-plugin/pull/89 Co-authored-by: Basil Crow <me@basilcrow.com> Co-authored-by: Basil Crow <me@basilcrow.com>
2020-11-07 05:03:23 +08:00
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<exclusions>
<exclusion>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
</exclusion>
<exclusion>
<groupId>xpp3</groupId>
<artifactId>xpp3_min</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
2021-12-31 23:52:48 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-fmt</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<exclusions>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-junit</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>commons-jexl</groupId>
<artifactId>commons-jexl</artifactId>
</exclusion>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
<exclusion>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<!-- Jenkins doesn't use this directly, but some plugins wanted to use the latest -->
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>io.jenkins.stapler</groupId>
<artifactId>jenkins-stapler-support</artifactId>
</dependency>
<dependency>
<!-- needed by Jelly -->
<groupId>jakarta.servlet.jsp.jstl</groupId>
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<exclusions>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>xom</groupId>
<artifactId>xom</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<!-- Groovy shell uses this, but it uses an optional dependency. Not included into BOM. -->
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>2.14.6</version>
<scope>compile</scope>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>net.java.sezpoz</groupId>
<artifactId>sezpoz</artifactId>
</dependency>
<dependency>
<groupId>net.jcip</groupId>
<artifactId>jcip-annotations</artifactId>
</dependency>
<dependency>
<groupId>net.sf.kxml</groupId>
<artifactId>kxml2</artifactId>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
2011-09-09 05:38:04 +08:00
</dependency>
2021-12-31 23:52:48 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.connectbot.jbcrypt</groupId>
<artifactId>jbcrypt</artifactId>
</dependency>
2021-12-31 23:52:48 +08:00
<dependency>
<!-- Groovy shell uses this, but it doesn't declare the dependency -->
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
</dependency>
2021-12-05 00:17:02 +08:00
<dependency>
<groupId>org.jenkins-ci</groupId>
2022-03-13 02:06:05 +08:00
<artifactId>annotation-indexer</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jenkins-ci</groupId>
<artifactId>commons-jexl</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jenkins-ci</groupId>
<artifactId>crypto-util</artifactId>
</dependency>
2011-10-24 22:26:37 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jenkins-ci</groupId>
<artifactId>memory-monitor</artifactId>
</dependency>
2021-12-31 23:52:48 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jenkins-ci</groupId>
<artifactId>symbol-annotation</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jenkins-ci</groupId>
<artifactId>task-reactor</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jenkins-ci</groupId>
<artifactId>version-number</artifactId>
2015-06-11 04:32:13 +08:00
</dependency>
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>websocket-spi</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
2015-09-02 04:59:34 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jfree</groupId>
<artifactId>jfreechart</artifactId>
2015-09-02 04:59:34 +08:00
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jvnet.hudson</groupId>
<artifactId>commons-jelly-tags-define</artifactId>
2021-06-14 23:45:45 +08:00
<exclusions>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</exclusion>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.jvnet.hudson</groupId>
<artifactId>commons-jelly</artifactId>
2021-06-14 23:45:45 +08:00
</exclusion>
</exclusions>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jvnet.localizer</groupId>
<artifactId>localizer</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jvnet.robust-http-client</groupId>
<artifactId>robust-http-client</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.jvnet.winp</groupId>
<artifactId>winp</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.kohsuke</groupId>
<artifactId>access-modifier-annotation</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.kohsuke</groupId>
<artifactId>windows-package-checker</artifactId>
</dependency>
2009-02-23 10:31:18 +08:00
<dependency>
<groupId>org.kohsuke.jinterop</groupId>
<artifactId>j-interop</artifactId>
2009-02-23 10:31:18 +08:00
</dependency>
2021-12-31 23:52:48 +08:00
<dependency>
<groupId>org.kohsuke.metainf-services</groupId>
<artifactId>metainf-services</artifactId>
<optional>true</optional>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.kohsuke.stapler</groupId>
<artifactId>json-lib</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler</artifactId>
</dependency>
2017-10-23 21:43:19 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler-adjunct-codemirror</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler-adjunct-timeline</artifactId>
</dependency>
2011-08-24 14:16:53 +08:00
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler-groovy</artifactId>
<exclusions>
<exclusion>
2022-03-13 02:06:05 +08:00
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly</artifactId>
</exclusion>
<exclusion>
<groupId>commons-jexl</groupId>
<artifactId>commons-jexl</artifactId>
</exclusion>
<exclusion>
<!-- we bundle groovy-all -->
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
</exclusion>
<exclusion>
<groupId>org.jvnet.hudson</groupId>
<artifactId>commons-jexl</artifactId>
</exclusion>
</exclusions>
2011-08-24 14:16:53 +08:00
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-util</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-jcl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<!--
still including the xpp3 driver to ensure backwards compatibilty
for other plugins that may be depending on it. Not included into BOM
-->
<groupId>xpp3</groupId>
<artifactId>xpp3</artifactId>
<version>1.1.4c</version>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>4.0.4</version>
2022-03-13 02:06:05 +08:00
<scope>provided</scope>
</dependency>
<dependency>
<!-- working around MCOMPILER-97 -->
<groupId>org.jenkins-ci</groupId>
<artifactId>core-annotation-processors</artifactId>
<version>1.0</version>
<scope>provided</scope>
<optional>true</optional>
2017-08-04 05:12:22 +08:00
</dependency>
<!-- offline profiler API to put in the classpath if we need it -->
<!--dependency>
<groupId>com.yourkit.api</groupId>
<artifactId>yjp</artifactId>
<version>dontcare</version>
<scope>system</scope>
<systemPath>/usr/local/yjp/lib/yjp.jar</systemPath>
</dependency-->
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
2022-03-13 02:06:05 +08:00
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci</groupId>
<artifactId>test-annotations</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!-- this helps us see the source code of the control while we edit Jenkins -->
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler-adjunct-timeline</artifactId>
<version>1.5</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<scope>test</scope>
2019-12-04 02:25:16 +08:00
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<version>${xmlunit.version}</version>
2019-12-04 02:25:16 +08:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-matchers</artifactId>
<version>${xmlunit.version}</version>
2019-12-04 02:25:16 +08:00
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
2021-04-18 02:01:54 +08:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<!-- Version specified in grandparent POM -->
<executions>
<execution>
<id>add-source</id>
<goals>
<goal>add-source</goal>
</goals>
2021-12-31 23:52:48 +08:00
<phase>generate-sources</phase>
2021-04-18 02:01:54 +08:00
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/antlr</source>
<source>${project.build.directory}/generated-sources/localizer</source>
<source>${project.build.directory}/generated-sources/taglib-interface</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<!-- Version specified in grandparent POM -->
<executions>
<execution>
<goals>
<goal>generate-taglib-interface</goal>
2015-10-30 06:57:03 +08:00
<goal>record-core-location</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-injector</artifactId>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</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 grandparent pom -->
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<fileMask>Messages.properties</fileMask>
<outputDirectory>target/generated-sources/localizer</outputDirectory>
<accessModifierAnnotations>true</accessModifierAnnotations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.kohsuke</groupId>
<artifactId>access-modifier-checker</artifactId>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr-maven-plugin</artifactId>
<!-- version specified in grandparent pom -->
<executions>
<execution>
<id>cron</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
<grammars>crontab.g</grammars>
</configuration>
</execution>
<execution>
<id>labelExpr</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
<grammars>labelExpr.g</grammars>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<!-- Version specified in grandparent POM -->
<executions>
<execution>
<id>winsw</id>
<goals>
<!-- we use copy as this is a dependency from outside the reactor -->
<goal>copy</goal>
</goals>
2021-12-31 23:52:48 +08:00
<phase>generate-resources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.sun.winsw</groupId>
<artifactId>winsw</artifactId>
<version>2.9.0</version>
<classifier>net4</classifier>
<type>exe</type>
<outputDirectory>${project.build.outputDirectory}/windows-service</outputDirectory>
<destFileName>jenkins.exe</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<!-- Version specified in grandparent POM -->
<configuration>
<!-- Make sure to keep the directives in test/pom.xml and war/pom.xml in sync with these. -->
<argLine>@{jacocoSurefireArgs} --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.desktop/com.sun.beans.introspect=ALL-UNNAMED</argLine>
2021-10-26 05:03:25 +08:00
<reuseForks>false</reuseForks>
</configuration>
</plugin>
2021-12-31 23:52:48 +08:00
<plugin>
<!-- set main class -->
<artifactId>maven-jar-plugin</artifactId>
<!-- version specified in grandparent pom -->
<configuration>
<archive>
<manifest>
<mainClass>hudson.Main</mainClass>
<addClasspath>true</addClasspath>
<classpathPrefix />
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
2021-12-31 23:52:48 +08:00
<plugin>
<!-- generate Jelly tag lib documentation -->
<groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId>
<!-- Version specified in grandparent POM -->
<configuration>
<patterns>
<pattern>/lib/.*</pattern>
</patterns>
</configuration>
</plugin>
2021-12-31 23:52:48 +08:00
<plugin>
<!-- skip slow dependency analysis -->
<artifactId>maven-project-info-reports-plugin</artifactId>
<!-- Version specified in grandparent POM -->
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>debug</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<!-- Run SpotBugs for better error detection. Run as "mvn -Pspotbugs verify". -->
<!-- SpotBugs has been moved to the default build flow, but here we fail the build on errors-->
<id>spotbugs</id>
<properties>
<!-- In the default profile we always fail the build if there SpotBugs errors -->
<spotbugs.failOnError>true</spotbugs.failOnError>
</properties>
</profile>
2022-04-18 04:22:11 +08:00
<profile>
<id>enable-jacoco</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<!-- Version specified in parent POM -->
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>jacocoSurefireArgs</propertyName>
<includes>
<include>hudson/*</include>
<include>hudson/**/*</include>
<include>jenkins/*</include>
<include>jenkins/**/*</include>
<include>org/jenkins/**/*</include>
</includes>
<excludes>
<exclude>**/Messages.class</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>