-
Notifications
You must be signed in to change notification settings - Fork 40.2k
/
plugin.xml
911 lines (909 loc) · 40.7 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by maven-plugin-tools 3.6 -->
<plugin>
<name>Spring Boot Maven Plugin</name>
<description></description>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.0.GRADLE-SNAPSHOT</version>
<goalPrefix>spring-boot</goalPrefix>
<isolatedRealm>false</isolatedRealm>
<inheritedByDefault>true</inheritedByDefault>
<mojos>
<mojo>
<goal>build-info</goal>
<description>Generate a {@code build-info.properties} file based on the content of the current
{@link MavenProject}.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>generate-resources</phase>
<implementation>org.springframework.boot.maven.BuildInfoMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.4.0</since>
<threadSafe>true</threadSafe>
<parameters>
<parameter>
<name>additionalProperties</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Additional properties to store in the build-info.properties. Each entry is prefixed
by {@code build.} in the generated build-info.properties.</description>
</parameter>
<parameter>
<name>outputFile</name>
<type>java.io.File</type>
<required>false</required>
<editable>true</editable>
<description>The location of the generated build-info.properties.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<required>true</required>
<editable>false</editable>
<description>The Maven project.</description>
</parameter>
<parameter>
<name>session</name>
<type>org.apache.maven.execution.MavenSession</type>
<required>true</required>
<editable>false</editable>
<description>The Maven session.</description>
</parameter>
<parameter>
<name>time</name>
<type>java.lang.String</type>
<since>2.2.0</since>
<required>false</required>
<editable>true</editable>
<description>The value used for the {@code build.time} property in a form suitable for
{@link Instant#parse(CharSequence)}. Defaults to {@code session.request.startTime}.
To disable the {@code build.time} property entirely, use {@code 'off'}.</description>
</parameter>
</parameters>
<configuration>
<outputFile implementation="java.io.File" default-value="${project.build.outputDirectory}/META-INF/build-info.properties"/>
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
<session implementation="org.apache.maven.execution.MavenSession" default-value="${session}"/>
</configuration>
<requirements>
<requirement>
<role>org.sonatype.plexus.build.incremental.BuildContext</role>
<field-name>buildContext</field-name>
</requirement>
</requirements>
</mojo>
<mojo>
<goal>help</goal>
<description>Display help information on spring-boot-maven-plugin.<br>
Call <code>mvn spring-boot:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>false</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<implementation>org.springframework.boot.maven.HelpMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<threadSafe>true</threadSafe>
<parameters>
<parameter>
<name>detail</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>If <code>true</code>, display all settable properties for each goal.</description>
</parameter>
<parameter>
<name>goal</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The name of the goal for which to show help. If unspecified, all goals will be displayed.</description>
</parameter>
<parameter>
<name>indentSize</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The number of spaces per indentation level, should be positive.</description>
</parameter>
<parameter>
<name>lineLength</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The maximum length of a display line, should be positive.</description>
</parameter>
</parameters>
<configuration>
<detail implementation="boolean" default-value="false">${detail}</detail>
<goal implementation="java.lang.String">${goal}</goal>
<indentSize implementation="int" default-value="2">${indentSize}</indentSize>
<lineLength implementation="int" default-value="80">${lineLength}</lineLength>
</configuration>
</mojo>
<mojo>
<goal>repackage</goal>
<description>Repackages existing JAR and WAR archives so that they can be executed from the command
line using {@literal java -jar}. With <code>layout=NONE</code> can also be used simply
to package a JAR with nested dependencies (and no main class, so not executable).</description>
<requiresDependencyResolution>compile+runtime</requiresDependencyResolution>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>package</phase>
<implementation>org.springframework.boot.maven.RepackageMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<requiresDependencyCollection>compile+runtime</requiresDependencyCollection>
<threadSafe>true</threadSafe>
<parameters>
<parameter>
<name>attach</name>
<type>boolean</type>
<since>1.4.0</since>
<required>false</required>
<editable>true</editable>
<description>Attach the repackaged archive to be installed and deployed.</description>
</parameter>
<parameter>
<name>classifier</name>
<type>java.lang.String</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Classifier to add to the repackaged archive. If not given, the main artifact will
be replaced by the repackaged archive. If given, the classifier will also be used
to determine the source archive to repackage: if an artifact with that classifier
already exists, it will be used as source and replaced. If no such artifact exists,
the main artifact will be used as source and the repackaged archive will be
attached as a supplemental artifact with that classifier. Attaching the artifact
allows to deploy it alongside to the original one, see <a href=
"https://maven.apache.org/plugins/maven-deploy-plugin/examples/deploying-with-classifiers.html"
>the Maven documentation for more details</a>.</description>
</parameter>
<parameter>
<name>embeddedLaunchScript</name>
<type>java.io.File</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>The embedded launch script to prepend to the front of the jar if it is fully
executable. If not specified the 'Spring Boot' default script will be used.</description>
</parameter>
<parameter>
<name>embeddedLaunchScriptProperties</name>
<type>java.util.Properties</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>Properties that should be expanded in the embedded launch script.</description>
</parameter>
<parameter>
<name>excludeDevtools</name>
<type>boolean</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>Exclude Spring Boot devtools from the repackaged archive.</description>
</parameter>
<parameter>
<name>excludeGroupIds</name>
<type>java.lang.String</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>Comma separated list of groupId names to exclude (exact match).</description>
</parameter>
<parameter>
<name>excludes</name>
<type>java.util.List</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>Collection of artifact definitions to exclude. The {@link Exclude} element defines
a {@code groupId} and {@code artifactId} mandatory properties and an optional
{@code classifier} property.</description>
</parameter>
<parameter>
<name>executable</name>
<type>boolean</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>Make a fully executable jar for *nix machines by prepending a launch script to the
jar.
<p>
Currently, some tools do not accept this format so you may not always be able to
use this technique. For example, {@code jar -xf} may silently fail to extract a jar
or war that has been made fully-executable. It is recommended that you only enable
this option if you intend to execute it directly, rather than running it with
{@code java -jar} or deploying it to a servlet container.</description>
</parameter>
<parameter>
<name>finalName</name>
<type>java.lang.String</type>
<since>1.0.0</since>
<required>false</required>
<editable>false</editable>
<description>Name of the generated archive.</description>
</parameter>
<parameter>
<name>includeSystemScope</name>
<type>boolean</type>
<since>1.4.0</since>
<required>false</required>
<editable>true</editable>
<description>Include system scoped dependencies.</description>
</parameter>
<parameter>
<name>includes</name>
<type>java.util.List</type>
<since>1.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Collection of artifact definitions to include. The {@link Include} element defines
a {@code groupId} and {@code artifactId} mandatory properties and an optional
{@code classifier} property.</description>
</parameter>
<parameter>
<name>layout</name>
<type>org.springframework.boot.maven.RepackageMojo$LayoutType</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>The type of archive (which corresponds to how the dependencies are laid out inside
it). Possible values are JAR, WAR, ZIP, DIR, NONE. Defaults to a guess based on the
archive type.</description>
</parameter>
<parameter>
<name>layoutFactory</name>
<type>org.springframework.boot.loader.tools.LayoutFactory</type>
<since>1.5.0</since>
<required>false</required>
<editable>true</editable>
<description>The layout factory that will be used to create the executable archive if no
explicit layout is set. Alternative layouts implementations can be provided by 3rd
parties.</description>
</parameter>
<parameter>
<name>mainClass</name>
<type>java.lang.String</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>The name of the main class. If not specified the first compiled class found that
contains a 'main' method will be used.</description>
</parameter>
<parameter>
<name>outputDirectory</name>
<type>java.io.File</type>
<since>1.0.0</since>
<required>true</required>
<editable>true</editable>
<description>Directory containing the generated archive.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<since>1.0.0</since>
<required>true</required>
<editable>false</editable>
<description>The Maven project.</description>
</parameter>
<parameter>
<name>requiresUnpack</name>
<type>java.util.List</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>A list of the libraries that must be unpacked from fat jars in order to run.
Specify each library as a {@code <dependency>} with a {@code <groupId>} and a
{@code <artifactId>} and they will be unpacked at runtime.</description>
</parameter>
<parameter>
<name>skip</name>
<type>boolean</type>
<since>1.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Skip the execution.</description>
</parameter>
</parameters>
<configuration>
<attach implementation="boolean" default-value="true"/>
<excludeDevtools implementation="boolean" default-value="true">${spring-boot.repackage.excludeDevtools}</excludeDevtools>
<excludeGroupIds implementation="java.lang.String" default-value="">${spring-boot.excludeGroupIds}</excludeGroupIds>
<excludes implementation="java.util.List">${spring-boot.excludes}</excludes>
<executable implementation="boolean" default-value="false"/>
<finalName implementation="java.lang.String" default-value="${project.build.finalName}"/>
<includeSystemScope implementation="boolean" default-value="false"/>
<includes implementation="java.util.List">${spring-boot.includes}</includes>
<layout implementation="org.springframework.boot.maven.RepackageMojo$LayoutType">${spring-boot.repackage.layout}</layout>
<outputDirectory implementation="java.io.File" default-value="${project.build.directory}"/>
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
<skip implementation="boolean" default-value="false">${spring-boot.repackage.skip}</skip>
</configuration>
<requirements>
<requirement>
<role>org.apache.maven.project.MavenProjectHelper</role>
<field-name>projectHelper</field-name>
</requirement>
</requirements>
</mojo>
<mojo>
<goal>run</goal>
<description>Run an executable archive application.</description>
<requiresDependencyResolution>test</requiresDependencyResolution>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>validate</phase>
<executePhase>test-compile</executePhase>
<implementation>org.springframework.boot.maven.RunMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<threadSafe>false</threadSafe>
<parameters>
<parameter>
<name>addResources</name>
<type>boolean</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Add maven resources to the classpath directly, this allows live in-place editing of
resources. Duplicate resources are removed from {@code target/classes} to prevent
them to appear twice if {@code ClassLoader.getResources()} is called. Please
consider adding {@code spring-boot-devtools} to your project instead as it provides
this feature and many more.</description>
</parameter>
<parameter>
<name>agent</name>
<type>java.io.File[]</type>
<since>1.0.0</since>
<deprecated>since 2.2.0 in favor of {@code agents}</deprecated>
<required>false</required>
<editable>true</editable>
<description>Path to agent jar. NOTE: a forked process is required to use this feature.</description>
</parameter>
<parameter>
<name>agents</name>
<type>java.io.File[]</type>
<since>2.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Path to agent jars. NOTE: a forked process is required to use this feature.</description>
</parameter>
<parameter>
<name>arguments</name>
<type>java.lang.String[]</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Arguments that should be passed to the application. On command line use commas to
separate multiple arguments.</description>
</parameter>
<parameter>
<name>classesDirectory</name>
<type>java.io.File</type>
<since>1.0.0</since>
<required>true</required>
<editable>true</editable>
<description>Directory containing the classes and resource files that should be packaged into
the archive.</description>
</parameter>
<parameter>
<name>environmentVariables</name>
<type>java.util.Map</type>
<since>2.1.0</since>
<required>false</required>
<editable>true</editable>
<description>List of Environment variables that should be associated with the forked process
used to run the application. NOTE: a forked process is required to use this
feature.</description>
</parameter>
<parameter>
<name>excludeGroupIds</name>
<type>java.lang.String</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>Comma separated list of groupId names to exclude (exact match).</description>
</parameter>
<parameter>
<name>excludes</name>
<type>java.util.List</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>Collection of artifact definitions to exclude. The {@link Exclude} element defines
a {@code groupId} and {@code artifactId} mandatory properties and an optional
{@code classifier} property.</description>
</parameter>
<parameter>
<name>folders</name>
<type>java.lang.String[]</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Additional folders besides the classes directory that should be added to the
classpath.</description>
</parameter>
<parameter>
<name>fork</name>
<type>boolean</type>
<since>1.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Flag to indicate if the run processes should be forked. Disabling forking will
disable some features such as an agent, custom JVM arguments, devtools or
specifying the working directory to use.</description>
</parameter>
<parameter>
<name>includes</name>
<type>java.util.List</type>
<since>1.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Collection of artifact definitions to include. The {@link Include} element defines
a {@code groupId} and {@code artifactId} mandatory properties and an optional
{@code classifier} property.</description>
</parameter>
<parameter>
<name>jvmArguments</name>
<type>java.lang.String</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>JVM arguments that should be associated with the forked process used to run the
application. On command line, make sure to wrap multiple values between quotes.
NOTE: a forked process is required to use this feature.</description>
</parameter>
<parameter>
<name>mainClass</name>
<type>java.lang.String</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>The name of the main class. If not specified the first compiled class found that
contains a 'main' method will be used.</description>
</parameter>
<parameter>
<name>noverify</name>
<type>boolean</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Flag to say that the agent requires -noverify.</description>
</parameter>
<parameter>
<name>optimizedLaunch</name>
<type>boolean</type>
<since>2.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Whether the JVM's launch should be optimized.</description>
</parameter>
<parameter>
<name>profiles</name>
<type>java.lang.String[]</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>The spring profiles to activate. Convenience shortcut of specifying the
'spring.profiles.active' argument. On command line use commas to separate multiple
profiles.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<since>1.0.0</since>
<required>true</required>
<editable>false</editable>
<description>The Maven project.</description>
</parameter>
<parameter>
<name>skip</name>
<type>boolean</type>
<since>1.3.2</since>
<required>false</required>
<editable>true</editable>
<description>Skip the execution.</description>
</parameter>
<parameter>
<name>systemPropertyVariables</name>
<type>java.util.Map</type>
<since>2.1.0</since>
<required>false</required>
<editable>true</editable>
<description>List of JVM system properties to pass to the process. NOTE: a forked process is
required to use this feature.</description>
</parameter>
<parameter>
<name>useTestClasspath</name>
<type>java.lang.Boolean</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>Flag to include the test classpath when running.</description>
</parameter>
<parameter>
<name>workingDirectory</name>
<type>java.io.File</type>
<since>1.5.0</since>
<required>false</required>
<editable>true</editable>
<description>Current working directory to use for the application. If not specified, basedir
will be used. NOTE: a forked process is required to use this feature.</description>
</parameter>
</parameters>
<configuration>
<addResources implementation="boolean" default-value="false">${spring-boot.run.addResources}</addResources>
<agent implementation="java.io.File[]">${spring-boot.run.agent}</agent>
<agents implementation="java.io.File[]">${spring-boot.run.agents}</agents>
<arguments implementation="java.lang.String[]">${spring-boot.run.arguments}</arguments>
<classesDirectory implementation="java.io.File" default-value="${project.build.outputDirectory}"/>
<excludeGroupIds implementation="java.lang.String" default-value="">${spring-boot.excludeGroupIds}</excludeGroupIds>
<excludes implementation="java.util.List">${spring-boot.excludes}</excludes>
<folders implementation="java.lang.String[]">${spring-boot.run.folders}</folders>
<fork implementation="boolean" default-value="true">${spring-boot.run.fork}</fork>
<includes implementation="java.util.List">${spring-boot.includes}</includes>
<jvmArguments implementation="java.lang.String">${spring-boot.run.jvmArguments}</jvmArguments>
<mainClass implementation="java.lang.String">${spring-boot.run.main-class}</mainClass>
<noverify implementation="boolean">${spring-boot.run.noverify}</noverify>
<optimizedLaunch implementation="boolean" default-value="true">${spring-boot.run.optimizedLaunch}</optimizedLaunch>
<profiles implementation="java.lang.String[]">${spring-boot.run.profiles}</profiles>
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
<skip implementation="boolean" default-value="false">${spring-boot.run.skip}</skip>
<useTestClasspath implementation="java.lang.Boolean" default-value="false">${spring-boot.run.useTestClasspath}</useTestClasspath>
<workingDirectory implementation="java.io.File">${spring-boot.run.workingDirectory}</workingDirectory>
</configuration>
</mojo>
<mojo>
<goal>start</goal>
<description>Start a spring application. Contrary to the {@code run} goal, this does not block and
allows other goal to operate on the application. This goal is typically used in
integration test scenario where the application is started before a test suite and
stopped after.</description>
<requiresDependencyResolution>test</requiresDependencyResolution>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>pre-integration-test</phase>
<implementation>org.springframework.boot.maven.StartMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.3.0</since>
<threadSafe>false</threadSafe>
<parameters>
<parameter>
<name>addResources</name>
<type>boolean</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Add maven resources to the classpath directly, this allows live in-place editing of
resources. Duplicate resources are removed from {@code target/classes} to prevent
them to appear twice if {@code ClassLoader.getResources()} is called. Please
consider adding {@code spring-boot-devtools} to your project instead as it provides
this feature and many more.</description>
</parameter>
<parameter>
<name>agent</name>
<type>java.io.File[]</type>
<since>1.0.0</since>
<deprecated>since 2.2.0 in favor of {@code agents}</deprecated>
<required>false</required>
<editable>true</editable>
<description>Path to agent jar. NOTE: a forked process is required to use this feature.</description>
</parameter>
<parameter>
<name>agents</name>
<type>java.io.File[]</type>
<since>2.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Path to agent jars. NOTE: a forked process is required to use this feature.</description>
</parameter>
<parameter>
<name>arguments</name>
<type>java.lang.String[]</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Arguments that should be passed to the application. On command line use commas to
separate multiple arguments.</description>
</parameter>
<parameter>
<name>classesDirectory</name>
<type>java.io.File</type>
<since>1.0.0</since>
<required>true</required>
<editable>true</editable>
<description>Directory containing the classes and resource files that should be packaged into
the archive.</description>
</parameter>
<parameter>
<name>environmentVariables</name>
<type>java.util.Map</type>
<since>2.1.0</since>
<required>false</required>
<editable>true</editable>
<description>List of Environment variables that should be associated with the forked process
used to run the application. NOTE: a forked process is required to use this
feature.</description>
</parameter>
<parameter>
<name>excludeGroupIds</name>
<type>java.lang.String</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>Comma separated list of groupId names to exclude (exact match).</description>
</parameter>
<parameter>
<name>excludes</name>
<type>java.util.List</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>Collection of artifact definitions to exclude. The {@link Exclude} element defines
a {@code groupId} and {@code artifactId} mandatory properties and an optional
{@code classifier} property.</description>
</parameter>
<parameter>
<name>folders</name>
<type>java.lang.String[]</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Additional folders besides the classes directory that should be added to the
classpath.</description>
</parameter>
<parameter>
<name>fork</name>
<type>boolean</type>
<since>1.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Flag to indicate if the run processes should be forked. Disabling forking will
disable some features such as an agent, custom JVM arguments, devtools or
specifying the working directory to use.</description>
</parameter>
<parameter>
<name>includes</name>
<type>java.util.List</type>
<since>1.2.0</since>
<required>false</required>
<editable>true</editable>
<description>Collection of artifact definitions to include. The {@link Include} element defines
a {@code groupId} and {@code artifactId} mandatory properties and an optional
{@code classifier} property.</description>
</parameter>
<parameter>
<name>jmxName</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The JMX name of the automatically deployed MBean managing the lifecycle of the
spring application.</description>
</parameter>
<parameter>
<name>jmxPort</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The port to use to expose the platform MBeanServer if the application is forked.</description>
</parameter>
<parameter>
<name>jvmArguments</name>
<type>java.lang.String</type>
<since>1.1.0</since>
<required>false</required>
<editable>true</editable>
<description>JVM arguments that should be associated with the forked process used to run the
application. On command line, make sure to wrap multiple values between quotes.
NOTE: a forked process is required to use this feature.</description>
</parameter>
<parameter>
<name>mainClass</name>
<type>java.lang.String</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>The name of the main class. If not specified the first compiled class found that
contains a 'main' method will be used.</description>
</parameter>
<parameter>
<name>maxAttempts</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The maximum number of attempts to check if the spring application is ready.
Combined with the "wait" argument, this gives a global timeout value (30 sec by
default)</description>
</parameter>
<parameter>
<name>noverify</name>
<type>boolean</type>
<since>1.0.0</since>
<required>false</required>
<editable>true</editable>
<description>Flag to say that the agent requires -noverify.</description>
</parameter>
<parameter>
<name>profiles</name>
<type>java.lang.String[]</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>The spring profiles to activate. Convenience shortcut of specifying the
'spring.profiles.active' argument. On command line use commas to separate multiple
profiles.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<since>1.0.0</since>
<required>true</required>
<editable>false</editable>
<description>The Maven project.</description>
</parameter>
<parameter>
<name>skip</name>
<type>boolean</type>
<since>1.3.2</since>
<required>false</required>
<editable>true</editable>
<description>Skip the execution.</description>
</parameter>
<parameter>
<name>systemPropertyVariables</name>
<type>java.util.Map</type>
<since>2.1.0</since>
<required>false</required>
<editable>true</editable>
<description>List of JVM system properties to pass to the process. NOTE: a forked process is
required to use this feature.</description>
</parameter>
<parameter>
<name>useTestClasspath</name>
<type>java.lang.Boolean</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>Flag to include the test classpath when running.</description>
</parameter>
<parameter>
<name>wait</name>
<type>long</type>
<required>false</required>
<editable>true</editable>
<description>The number of milliseconds to wait between each attempt to check if the spring
application is ready.</description>
</parameter>
<parameter>
<name>workingDirectory</name>
<type>java.io.File</type>
<since>1.5.0</since>
<required>false</required>
<editable>true</editable>
<description>Current working directory to use for the application. If not specified, basedir
will be used. NOTE: a forked process is required to use this feature.</description>
</parameter>
</parameters>
<configuration>
<addResources implementation="boolean" default-value="false">${spring-boot.run.addResources}</addResources>
<agent implementation="java.io.File[]">${spring-boot.run.agent}</agent>
<agents implementation="java.io.File[]">${spring-boot.run.agents}</agents>
<arguments implementation="java.lang.String[]">${spring-boot.run.arguments}</arguments>
<classesDirectory implementation="java.io.File" default-value="${project.build.outputDirectory}"/>
<excludeGroupIds implementation="java.lang.String" default-value="">${spring-boot.excludeGroupIds}</excludeGroupIds>
<excludes implementation="java.util.List">${spring-boot.excludes}</excludes>
<folders implementation="java.lang.String[]">${spring-boot.run.folders}</folders>
<fork implementation="boolean" default-value="true">${spring-boot.run.fork}</fork>
<includes implementation="java.util.List">${spring-boot.includes}</includes>
<jvmArguments implementation="java.lang.String">${spring-boot.run.jvmArguments}</jvmArguments>
<mainClass implementation="java.lang.String">${spring-boot.run.main-class}</mainClass>
<noverify implementation="boolean">${spring-boot.run.noverify}</noverify>
<profiles implementation="java.lang.String[]">${spring-boot.run.profiles}</profiles>
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
<skip implementation="boolean" default-value="false">${spring-boot.run.skip}</skip>
<useTestClasspath implementation="java.lang.Boolean" default-value="false">${spring-boot.run.useTestClasspath}</useTestClasspath>
<workingDirectory implementation="java.io.File">${spring-boot.run.workingDirectory}</workingDirectory>
</configuration>
</mojo>
<mojo>
<goal>stop</goal>
<description>Stop a spring application that has been started by the "start" goal. Typically invoked
once a test suite has completed.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>post-integration-test</phase>
<implementation>org.springframework.boot.maven.StopMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.3.0</since>
<threadSafe>false</threadSafe>
<parameters>
<parameter>
<name>fork</name>
<type>java.lang.Boolean</type>
<since>1.3.0</since>
<required>false</required>
<editable>true</editable>
<description>Flag to indicate if process to stop was forked. By default, the value is inherited
from the {@link MavenProject}. If it is set, it must match the value used to
{@link StartMojo start} the process.</description>
</parameter>
<parameter>
<name>jmxName</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The JMX name of the automatically deployed MBean managing the lifecycle of the
application.</description>
</parameter>
<parameter>
<name>jmxPort</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The port to use to look up the platform MBeanServer if the application has been
forked.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<since>1.4.1</since>
<required>true</required>
<editable>false</editable>
<description>The Maven project.</description>
</parameter>
<parameter>
<name>skip</name>
<type>boolean</type>
<since>1.3.2</since>
<required>false</required>
<editable>true</editable>
<description>Skip the execution.</description>
</parameter>
</parameters>
<configuration>
<fork implementation="java.lang.Boolean">${spring-boot.stop.fork}</fork>
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
<skip implementation="boolean" default-value="false">${spring-boot.stop.skip}</skip>
</configuration>
</mojo>
</mojos>
<dependencies/>
</plugin>