pom.xml 21.3 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
K
kohsuke 已提交
2 3 4
<!--
The MIT License

5
Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:sorokh
K
kohsuke 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

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.
-->
25
<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">
K
kohsuke 已提交
26
  <modelVersion>4.0.0</modelVersion>
27

K
kohsuke 已提交
28
  <parent>
29 30
    <groupId>org.jenkins-ci</groupId>
    <artifactId>jenkins</artifactId>
31
    <version>1.88</version>
32
    <relativePath />
K
kohsuke 已提交
33
  </parent>
34

35
  <groupId>org.jenkins-ci.main</groupId>
36
  <artifactId>jenkins-parent</artifactId>
37
  <version>${revision}${changelist}</version>
K
kohsuke 已提交
38
  <packaging>pom</packaging>
39

40
  <name>Jenkins main module</name>
41
  <description>The module that constitutes the main jenkins.war</description>
42
  <url>https://github.com/jenkinsci/jenkins</url>
43

44 45 46
  <licenses>
    <license>
      <name>The MIT license</name>
R
René Scheibe 已提交
47
      <url>https://opensource.org/licenses/MIT</url>
48 49 50
      <distribution>repo</distribution>
    </license>
  </licenses>
O
Olivier Lamy 已提交
51

K
kohsuke 已提交
52
  <modules>
53
    <module>bom</module>
54 55
    <module>websocket/spi</module>
    <module>websocket/jetty9</module>
56
    <module>websocket/jetty10</module>
K
kohsuke 已提交
57 58
    <module>core</module>
    <module>war</module>
K
kohsuke 已提交
59
    <module>test</module>
60
    <module>cli</module>
B
Basil Crow 已提交
61
    <module>coverage</module>
K
kohsuke 已提交
62
  </modules>
63

B
Basil Crow 已提交
64 65 66
  <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>
67
    <tag>${scmTag}</tag>
B
Basil Crow 已提交
68
    <url>https://github.com/jenkinsci/jenkins</url>
69
  </scm>
70

O
olivier lamy 已提交
71 72
  <issueManagement>
    <system>jira</system>
73
    <url>https://issues.jenkins.io/browse/JENKINS/component/15593</url>
O
olivier lamy 已提交
74 75
  </issueManagement>

76
  <properties>
77
    <revision>2.371</revision>
78 79
    <changelist>-SNAPSHOT</changelist>

O
olivier lamy 已提交
80 81 82 83 84 85 86
    <!-- 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>

D
Daniel Beck 已提交
87
    <changelog.url>https://www.jenkins.io/changelog</changelog.url>
88

89
    <!-- Bundled Remoting version -->
90
    <remoting.version>3063.v26e24490f041</remoting.version>
91
    <!-- Minimum Remoting version, which is tested for API compatibility -->
92
    <remoting.minimum.supported.version>4.2.1</remoting.minimum.supported.version>
93

94 95
    <spotbugs.effort>Max</spotbugs.effort>
    <spotbugs.threshold>Medium</spotbugs.threshold>
96
    <spotbugs.excludeFilterFile>${maven.multiModuleProjectDirectory}/src/spotbugs/spotbugs-excludes.xml</spotbugs.excludeFilterFile>
97

98
    <access-modifier.version>1.27</access-modifier.version>
99
    <bridge-method-injector.version>1.23</bridge-method-injector.version>
100
    <spotless.version>2.27.0</spotless.version>
101 102 103
  </properties>

  <dependencyManagement>
104
    <!-- any dependencies that can be used by plugins must be defined in the bom and not here -->
105
    <dependencies>
106
      <dependency>
107
        <!--  make sure these old servlet versions are never used by us or by any plugins which end up depending on this version -->
108
        <!--  plugin-pom tries to fudge servlet support to be compatible with cores < 2.0 and JTH which needs 3.x for jetty, and ends up causing issues with some IDEs -->
109 110 111
        <groupId>javax.servlet</groupId>
        <!-- the old artifactID for the servlet API -->
        <artifactId>servlet-api</artifactId>
112
        <version>[0]</version>
B
Basil Crow 已提交
113 114 115 116 117 118 119
        <!--
          "[0]" is a range that must be exactly 0
          this is different to "0" which is hint to use version 0.
          therefore unless anyone else uses ranges (they should not) this version will always win
          We have deployed a version 0 to jenkins repo which has an empty jar
          This prevents conflicts between the old Servet API and the new Servlet API as the groupIDs have changed
          see https://github.com/jenkinsci/jenkins/pull/3033/files#r141325857 for a fuller description
120
        -->
121 122 123
        <scope>provided</scope>
        <optional>true</optional>
      </dependency>
124 125
    </dependencies>
  </dependencyManagement>
126

127
  <dependencies>
128 129 130 131 132 133
    <dependency>
      <!-- make sure our dependency tree and all others are clean of the legacy servlet api.  -->
      <groupId>javax.servlet</groupId>
      <!-- the old artifactID for the servlet API -->
      <artifactId>servlet-api</artifactId>
    </dependency>
134
  </dependencies>
135

B
Basil Crow 已提交
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
  <!--
    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>

156
  <build>
K
kohsuke 已提交
157
    <defaultGoal>install</defaultGoal>
S
Stephen Connolly 已提交
158 159 160
    <resources>
      <resource>
        <filtering>false</filtering>
B
Basil Crow 已提交
161
        <directory>${basedir}/src/main/resources</directory>
S
Stephen Connolly 已提交
162 163 164
      </resource>
      <resource>
        <filtering>true</filtering>
B
Basil Crow 已提交
165
        <directory>${basedir}/src/filter/resources</directory>
S
Stephen Connolly 已提交
166 167
      </resource>
    </resources>
A
abayer 已提交
168 169
    <pluginManagement>
      <plugins>
170
        <plugin>
S
Seiji Sogabe 已提交
171 172
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-deploy-plugin</artifactId>
173
          <!-- Version specified in parent POM -->
174
        </plugin>
O
Olivier Lamy 已提交
175 176 177
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
178
          <!-- Version specified in parent POM -->
O
Olivier Lamy 已提交
179
        </plugin>
K
Kohsuke Kawaguchi 已提交
180
        <plugin>
O
olivier lamy 已提交
181
          <groupId>org.apache.maven.plugins</groupId>
K
Kohsuke Kawaguchi 已提交
182
          <artifactId>maven-compiler-plugin</artifactId>
183
          <!-- Version specified in parent POM -->
K
Kohsuke Kawaguchi 已提交
184
          <configuration>
C
christ66 已提交
185
            <fork>true</fork>
K
Kohsuke Kawaguchi 已提交
186
            <compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
187
            <compilerArgs>
B
Basil Crow 已提交
188 189 190 191
              <!--
                always compile package-info.java for useIncrementalCompilation
                ref: https://stackoverflow.com/questions/6770455/maven-compiling-package-info-java-to-package-info-class
              -->
192 193
              <compilerArg>-Xpkginfo:always</compilerArg>
            </compilerArgs>
K
Kohsuke Kawaguchi 已提交
194 195
          </configuration>
        </plugin>
196
        <plugin>
197
          <groupId>org.apache.maven.plugins</groupId>
198
          <artifactId>maven-gpg-plugin</artifactId>
199
          <!-- Version specified in parent POM -->
200
        </plugin>
S
Seiji Sogabe 已提交
201 202 203
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-install-plugin</artifactId>
204
          <!-- Version specified in parent POM -->
205
        </plugin>
S
Seiji Sogabe 已提交
206 207
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
208
          <artifactId>maven-javadoc-plugin</artifactId>
209
          <!-- Version specified in parent POM -->
210 211
          <configuration>
            <quiet>true</quiet>
J
James Nord 已提交
212
            <splitindex>true</splitindex>
213
          </configuration>
214
        </plugin>
215
        <plugin>
S
Seiji Sogabe 已提交
216
          <groupId>org.apache.maven.plugins</groupId>
217
          <artifactId>maven-jar-plugin</artifactId>
218
          <!-- Version specified in parent POM -->
219
        </plugin>
220 221 222
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-war-plugin</artifactId>
223
          <!-- Version specified in parent POM -->
224
        </plugin>
225
        <plugin>
S
Seiji Sogabe 已提交
226
          <groupId>org.apache.maven.plugins</groupId>
227
          <artifactId>maven-surefire-plugin</artifactId>
228
          <!-- Version specified in parent POM -->
S
Seiji Sogabe 已提交
229
          <configuration>
230 231 232 233 234
            <systemPropertyVariables>
              <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
              <forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
              <java.awt.headless>true</java.awt.headless>
            </systemPropertyVariables>
235
            <runOrder>alphabetical</runOrder>
S
Seiji Sogabe 已提交
236
          </configuration>
237
        </plugin>
S
Stephen Connolly 已提交
238 239
        <plugin>
          <artifactId>maven-jarsigner-plugin</artifactId>
240
          <version>3.0.0</version>
S
Stephen Connolly 已提交
241 242 243 244 245 246 247 248 249 250 251 252
          <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>
S
Seiji Sogabe 已提交
253 254 255
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
256
          <!-- Version specified in parent POM -->
S
Seiji Sogabe 已提交
257
        </plugin>
258
        <plugin>
K
Kohsuke Kawaguchi 已提交
259 260
          <groupId>org.kohsuke</groupId>
          <artifactId>access-modifier-checker</artifactId>
261
          <version>${access-modifier.version}</version>
K
Kohsuke Kawaguchi 已提交
262
        </plugin>
263 264 265
        <plugin>
          <groupId>com.cloudbees</groupId>
          <artifactId>maven-license-plugin</artifactId>
266
          <!-- Version specified in parent POM -->
267 268 269 270 271 272 273 274
          <executions>
            <execution>
              <goals>
                <goal>process</goal>
              </goals>
              <phase>compile</phase>
              <configuration>
                <requireCompleteLicenseInfo>true</requireCompleteLicenseInfo>
275
                <script>../licenseCompleter.groovy</script>
276 277 278 279
              </configuration>
            </execution>
          </executions>
        </plugin>
280 281
        <plugin>
          <groupId>org.jvnet.localizer</groupId>
282
          <artifactId>localizer-maven-plugin</artifactId>
283
          <!-- Version specified in parent POM -->
284 285 286
          <configuration>
            <outputEncoding>UTF-8</outputEncoding>
          </configuration>
B
Basil Crow 已提交
287
        </plugin>
288 289 290 291 292 293 294 295
        <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>
296
          <version>${bridge-method-injector.version}</version>
297 298 299 300
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>antlr-maven-plugin</artifactId>
301
          <version>2.2</version>
302 303 304 305
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-pmd-plugin</artifactId>
306
          <!-- Version specified in parent POM -->
307
        </plugin>
308 309 310
        <plugin>
          <groupId>org.jvnet.updatecenter2</groupId>
          <artifactId>maven-makepkgs-plugin</artifactId>
C
Christoph Kutzinski 已提交
311
          <version>0.6.2</version>
312
        </plugin>
B
Basil Crow 已提交
313 314 315 316 317
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <!-- Version specified in parent POM -->
        </plugin>
I
imod 已提交
318 319
        <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
        <plugin>
B
Basil Crow 已提交
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
          <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>
I
imod 已提交
344
        </plugin>
345 346 347
        <plugin>
          <groupId>com.github.spotbugs</groupId>
          <artifactId>spotbugs-maven-plugin</artifactId>
348
          <!-- Version specified in parent POM -->
J
Jeff Thompson 已提交
349 350 351
          <configuration>
            <maxHeap>768</maxHeap>
          </configuration>
352
        </plugin>
353 354 355
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-checkstyle-plugin</artifactId>
356
          <!-- Version specified in parent POM -->
357
          <configuration>
B
Basil Crow 已提交
358
            <consoleOutput>true</consoleOutput>
B
Basil Crow 已提交
359
            <includeTestSourceDirectory>true</includeTestSourceDirectory>
360
            <configLocation>${maven.multiModuleProjectDirectory}/src/checkstyle/checkstyle-configuration.xml</configLocation>
361
            <suppressionsLocation>${maven.multiModuleProjectDirectory}/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
B
Basil Crow 已提交
362
          </configuration>
B
Basil Crow 已提交
363 364 365 366
          <dependencies>
            <dependency>
              <groupId>com.puppycrawl.tools</groupId>
              <artifactId>checkstyle</artifactId>
367
              <version>10.3.3</version>
B
Basil Crow 已提交
368 369
            </dependency>
          </dependencies>
B
Basil Crow 已提交
370 371 372 373 374 375
          <executions>
            <execution>
              <id>validate</id>
              <goals>
                <goal>check</goal>
              </goals>
B
Basil Crow 已提交
376
              <phase>validate</phase>
B
Basil Crow 已提交
377 378
            </execution>
          </executions>
379
        </plugin>
380 381 382 383 384 385
        <plugin>
          <groupId>com.diffplug.spotless</groupId>
          <artifactId>spotless-maven-plugin</artifactId>
          <version>${spotless.version}</version>
          <configuration>
            <java>
386
              <endWithNewline />
B
Basil Crow 已提交
387
              <importOrder />
388 389 390
              <indent>
                <spaces>true</spaces>
              </indent>
391
              <removeUnusedImports />
B
Basil Crow 已提交
392
              <trimTrailingWhitespace />
393
            </java>
B
Basil Crow 已提交
394 395 396 397 398 399
            <pom>
              <sortPom>
                <encoding>${project.build.sourceEncoding}</encoding>
                <lineSeparator>\n</lineSeparator>
                <expandEmptyElements>false</expandEmptyElements>
                <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
B
Basil Crow 已提交
400 401
                <sortDependencies>scope,groupId,artifactId</sortDependencies>
                <sortDependencyExclusions>groupId,artifactId</sortDependencyExclusions>
B
Basil Crow 已提交
402 403
              </sortPom>
            </pom>
404 405 406 407 408 409 410 411 412 413 414
          </configuration>
          <executions>
            <execution>
              <!-- Runs in verify phase by default -->
              <goals>
                <!-- Can be disabled using -Dspotless.check.skip -->
                <goal>check</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
B
Basil Crow 已提交
415 416 417 418 419
        <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>0.8.8</version>
        </plugin>
A
abayer 已提交
420 421
      </plugins>
    </pluginManagement>
422

423 424 425
    <plugins>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
426
        <!-- Version specified in parent POM -->
427
        <configuration>
428 429
          <!-- work around for a bug in javadoc plugin that causes the release to fail. see MRELEASE-271 -->
          <preparationGoals>clean install</preparationGoals>
430
          <goals>-DskipTests -Dspotbugs.skip -Dmaven.checkstyle.skip -Dspotless.check.skip generate-resources javadoc:javadoc deploy</goals>
K
Kohsuke Kawaguchi 已提交
431 432
          <pushChanges>false</pushChanges>
          <localCheckout>true</localCheckout>
433
          <tagNameFormat>jenkins-@{project.version}</tagNameFormat>
434 435
        </configuration>
      </plugin>
K
kohsuke 已提交
436 437
      <plugin>
        <artifactId>maven-remote-resources-plugin</artifactId>
438
        <!-- Version specified in parent POM -->
K
kohsuke 已提交
439 440 441 442 443 444 445 446 447 448 449 450 451
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
            <configuration>
              <resourceBundles>
                <resourceBundle>org.jvnet.hudson:license:1.0</resourceBundle>
              </resourceBundles>
            </configuration>
          </execution>
        </executions>
      </plugin>
452

453
      <plugin>
S
Seiji Sogabe 已提交
454
        <groupId>org.apache.maven.plugins</groupId>
455
        <artifactId>maven-enforcer-plugin</artifactId>
456
        <!-- Version specified in parent POM -->
457
        <executions>
458 459 460 461 462 463 464 465 466 467
          <execution>
            <id>enforce-banned-dependencies</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <bannedDependencies>
                  <excludes>
                    <exclude>org.sonatype.sisu:sisu-guice</exclude>
468 469 470 471
                    <exclude>log4j:log4j:*:jar:compile</exclude>
                    <exclude>log4j:log4j:*:jar:runtime</exclude>
                    <exclude>commons-logging:commons-logging:*:jar:compile</exclude>
                    <exclude>commons-logging:commons-logging:*:jar:runtime</exclude>
472 473 474 475 476
                  </excludes>
                </bannedDependencies>
              </rules>
            </configuration>
          </execution>
477
        </executions>
478 479 480 481
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
482
        <!-- Version specified in parent POM -->
483
      </plugin>
484 485 486 487 488
      <plugin>
        <groupId>com.diffplug.spotless</groupId>
        <artifactId>spotless-maven-plugin</artifactId>
        <version>${spotless.version}</version>
      </plugin>
489 490
    </plugins>
  </build>
491

492
  <profiles>
493
    <profile>
A
abayer 已提交
494
      <id>metrics</id>
495
      <build>
A
abayer 已提交
496 497
        <plugins>
          <plugin>
B
Basil Crow 已提交
498 499
            <groupId>com.github.spotbugs</groupId>
            <artifactId>spotbugs-maven-plugin</artifactId>
500
            <!-- Version specified in parent POM -->
A
abayer 已提交
501 502 503 504 505
            <configuration>
              <threshold>High</threshold>
            </configuration>
          </plugin>
        </plugins>
506
      </build>
A
abayer 已提交
507
    </profile>
508 509 510 511 512 513
    <profile>
      <id>debug</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
514
        <hudson.sign.alias>jenkins</hudson.sign.alias>
515
        <hudson.sign.keystore>../dummy.keystore</hudson.sign.keystore>
516
        <hudson.sign.storepass>jenkins</hudson.sign.storepass>
517 518
      </properties>
    </profile>
519 520 521 522
    <profile>
      <id>release</id>
      <build>
        <plugins>
K
Kohsuke Kawaguchi 已提交
523 524
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
525
            <!-- Version specified in parent POM -->
K
Kohsuke Kawaguchi 已提交
526 527 528 529 530 531
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <goals>
                  <goal>sign</goal>
                </goals>
B
Basil Crow 已提交
532
                <phase>verify</phase>
K
Kohsuke Kawaguchi 已提交
533 534 535
              </execution>
            </executions>
          </plugin>
536 537 538
        </plugins>
      </build>
    </profile>
539 540 541
    <profile>
      <id>lts-release</id>
      <properties>
D
Daniel Beck 已提交
542
        <changelog.url>https://www.jenkins.io/changelog-stable</changelog.url>
543 544
      </properties>
    </profile>
S
Seiji Sogabe 已提交
545 546 547 548 549 550 551
    <profile>
      <id>m2e</id>
      <activation>
        <property>
          <name>m2e.version</name>
        </property>
      </activation>
B
Basil Crow 已提交
552 553 554
      <properties>
        <m2BuildDirectory>target</m2BuildDirectory>
      </properties>
S
Seiji Sogabe 已提交
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575
      <build>
        <directory>${m2BuildDirectory}</directory>
        <plugins>
          <plugin>
            <groupId>org.maven.ide.eclipse</groupId>
            <artifactId>lifecycle-mapping</artifactId>
            <version>0.12.0</version>
            <configuration>
              <mappingId>customizable</mappingId>
              <configurators>
                <configurator id="org.maven.ide.eclipse.jdt.javaConfigurator" />
                <configurator id="org.maven.ide.eclipse.plexus.annotations.plexusConfigurator" />
              </configurators>
              <mojoExecutions>
                <mojoExecution>org.apache.maven.plugins:maven-resources-plugin::</mojoExecution>
              </mojoExecutions>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
576
  </profiles>
577
</project>