mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
387 lines
19 KiB
XML
387 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<setup:Project
|
|
xmi:version="2.0"
|
|
xmlns:xmi="http://www.omg.org/XMI"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0"
|
|
xmlns:oomph="http://www.eclipse.org/buildship/oomph/1.0"
|
|
xmlns:predicates="http://www.eclipse.org/oomph/predicates/1.0"
|
|
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
|
|
xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
|
|
xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
|
|
xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0"
|
|
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/buildship/oomph/1.0 https://raw.githubusercontent.com/eclipse/buildship/master/org.eclipse.buildship.oomph/model/GradleImport-1.0.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
|
|
name="spring.boot.2.3.x"
|
|
label="Spring Boot 2.3.x">
|
|
<setupTask
|
|
xsi:type="setup:VariableTask"
|
|
type="FOLDER"
|
|
name="checkout.location"
|
|
defaultValue=""
|
|
storageURI="scope://Workspace"
|
|
label="Checkout Location"/>
|
|
<setupTask
|
|
xsi:type="jdt:JRETask"
|
|
version="JavaSE-1.8"
|
|
location="${jre.location-1.8}">
|
|
<description>
|
|
Define the JRE needed to compile and run the Java
|
|
projects of ${scope.project.label}
|
|
</description>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:EclipseIniTask"
|
|
option="-Xmx"
|
|
value="2048m"
|
|
vm="true">
|
|
<description></description>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:EclipseIniTask"
|
|
option="-Xms"
|
|
value="512m"
|
|
vm="true"/>
|
|
<setupTask
|
|
xsi:type="setup:ResourceCreationTask"
|
|
excludedTriggers="STARTUP MANUAL"
|
|
content="<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
	<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
		<item value="true" key="group_libraries"/>
		<item value="false" key="linkWithEditor"/>
		<item value="2" key="layout"/>
		<item value="2" key="rootMode"/>
		<item value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer configured=&quot;true&quot; group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;2&quot; sortWorkingSets=&quot;false&quot; workingSetName=&quot;&quot;&gt;&#x0D;&#x0A;&lt;localWorkingSetManager&gt;&#x0D;&#x0A;&lt;workingSet editPageId=&quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&quot; factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1382792884467_1&quot; label=&quot;Other Projects&quot; name=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/localWorkingSetManager&gt;&#x0D;&#x0A;&lt;activeWorkingSet workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;allWorkingSets workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;" key="memento"/>
	</section>
</section>
"
|
|
targetURL="${workspace.location|uri}/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml"
|
|
encoding="UTF-8">
|
|
<description>
|
|
Initialize JDT's package explorer to show working sets as
|
|
its root objects
|
|
</description>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup.p2:P2Task">
|
|
<requirement
|
|
name="org.eclipse.platform.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.jdt.feature.group"/>
|
|
<requirement
|
|
name="io.spring.javaformat.eclipse.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.jst.server_adapters.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.jst.server_adapters.ext.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.jst.server_ui.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.jst.web_ui.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.m2e.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.oomph.setup.maven.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.oomph.setup.workingsets.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.wst.server_adapters.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.wst.web_ui.feature.feature.group"/>
|
|
<requirement
|
|
name="org.sonatype.m2e.buildhelper.feature.feature.group"/>
|
|
<requirement
|
|
name="org.springframework.boot.ide.main.feature.feature.group"/>
|
|
<requirement
|
|
name="org.springframework.ide.eclipse.boot.dash.feature.feature.group"/>
|
|
<requirement
|
|
name="org.springframework.tooling.boot.ls.feature.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.buildship.feature.group"/>
|
|
<requirement
|
|
name="org.eclipse.buildship.oomph.feature.group"/>
|
|
<repository
|
|
url="https://repo.spring.io/javaformat-eclipse-update-site/"/>
|
|
<repository
|
|
url="https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-buildhelper/0.15.0/N/0.15.0.201405280027/"/>
|
|
<repository
|
|
url="https://download.springsource.com/release/TOOLS/sts4/update/latest/"/>
|
|
<repository
|
|
url="https://download.eclipse.org/buildship/updates/e411/releases/"/>
|
|
<description>
|
|
Install the tools needed in the IDE to work with the
|
|
source code for ${scope.project.label}
|
|
</description>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="oomph:GradleImportTask">
|
|
<sourceLocator
|
|
rootFolder="${checkout.location}"
|
|
locateNestedProjects="true"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup.workingsets:WorkingSetTask">
|
|
<workingSet
|
|
name="spring-boot">
|
|
<predicate
|
|
xsi:type="predicates:AndPredicate">
|
|
<operand
|
|
xsi:type="predicates:NamePredicate"
|
|
pattern="spring-boot.*"/>
|
|
<operand
|
|
xsi:type="workingsets:ExclusionPredicate"
|
|
excludedWorkingSet="//@setupTasks.7/@workingSets.3 //@setupTasks.7/@workingSets.2 //@setupTasks.7/@workingSets.4 //@setupTasks.7/@workingSets.1"/>
|
|
</predicate>
|
|
</workingSet>
|
|
<workingSet
|
|
name="spring-boot-tools">
|
|
<predicate
|
|
xsi:type="predicates:NamePredicate"
|
|
pattern="spring-boot-(tools|antlib|configuration-.*|loader|.*-tools|.*-layertools|.*-plugin|autoconfigure-processor|buildpack.*)"/>
|
|
</workingSet>
|
|
<workingSet
|
|
name="spring-boot-starters">
|
|
<predicate
|
|
xsi:type="predicates:OrPredicate">
|
|
<operand
|
|
xsi:type="predicates:NamePredicate"
|
|
pattern="spring-boot-starter(s|-.*)"/>
|
|
<operand
|
|
xsi:type="predicates:NamePredicate"
|
|
pattern="spring-boot-starter"/>
|
|
</predicate>
|
|
</workingSet>
|
|
<workingSet
|
|
name="spring-boot-smoke-tests">
|
|
<predicate
|
|
xsi:type="predicates:OrPredicate">
|
|
<operand
|
|
xsi:type="predicates:NamePredicate"
|
|
pattern="spring-boot-smoke-test(s|-.*)"/>
|
|
<operand
|
|
xsi:type="predicates:NamePredicate"
|
|
pattern="spring-boot-smoke-tests-invoker"/>
|
|
</predicate>
|
|
</workingSet>
|
|
<workingSet
|
|
name="spring-boot-tests">
|
|
<predicate
|
|
xsi:type="predicates:AndPredicate">
|
|
<operand
|
|
xsi:type="predicates:NamePredicate"
|
|
pattern="spring-boot-(.*-test|tests).*"/>
|
|
<operand
|
|
xsi:type="workingsets:ExclusionPredicate"
|
|
excludedWorkingSet="//@setupTasks.7/@workingSets.3"/>
|
|
</predicate>
|
|
</workingSet>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.eclipse.jdt.ui">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/content_assist_autoactivation_delay"
|
|
value="40"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/content_assist_disabled_computers"
|
|
value="org.eclipse.jdt.ui.javaNoTypeProposalCategory$${0x0}org.eclipse.jdt.ui.javaTypeProposalCategory$${0x0}org.eclipse.jdt.ui.textProposalCategory$${0x0}org.eclipse.recommenders.calls.rcp.proposalCategory.templates$${0x0}"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.typefilter.enabled"
|
|
value="java.awt.*;org.hibernate.collection.*;"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/escape¥Strings"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/content_assist_favorite_static_members"
|
|
value="org.assertj.core.api.Assertions.*;org.hamcrest.Matchers.*;org.junit.Assert.*;org.mockito.BDDMockito.*;org.mockito.Matchers.*;org.mockito.Mockito.*;org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;org.springframework.test.web.servlet.result.MockMvcResultMatchers.*"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/smart_backspace"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/smart_opening_brace"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/smart_semicolon"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/smart_tab"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/smartIndentAfterNewline"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/smartPaste"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_templates"
|
|
value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="java" deleted="false" description="Surround code with formatter off and formatter on tags" enabled="true" name="noformat">// @formatter:off
$${cursor} $${line_selection}
// @formatter:on</template></templates>"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.eclipse.jdt.core">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral"
|
|
value="ignore"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.eclipse.core.resources">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.core.resources/encoding"
|
|
value="UTF-8"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.core.resources/refresh.enabled"
|
|
value="false"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.eclipse.m2e.core">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.m2e.core/eclipse.m2.hideFoldersOfNestedProjects"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.m2e.core/eclipse.m2.updateIndexes"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.m2e.core/eclipse.m2.defaultPomEditorPage"
|
|
value="true"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.eclipse.ui.editors">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.ui.editors/printMarginColumn"
|
|
value="120"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.ui.editors/lineNumberRuler"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.ui.editors/printMargin"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.ui.editors/showWhitespaceCharacters"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.ui.editors/whitespaceCharacterAlphaValue"
|
|
value="20"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.springframework.ide.eclipse.beans.core">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.beans.core/org.springframework.ide.eclipse.beans.core.BeansCorePlugin.DISABLE_AUTO_DETECTION"
|
|
value="true"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.eclipse.wst.xml.core">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.wst.xml.core/indicateNoGrammar"
|
|
value="-1"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.springframework.ide.eclipse.core">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.useChangeDetectionForJavaFiles"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.boot.bootvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
|
value="false"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.boot.missingConfigurationProcessor-org.springframework.ide.eclipse.boot.bootvalidator"
|
|
value="false"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="org.eclipse.ui.workbench">
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.ui.workbench/HeapStatus.showMax"
|
|
value="true"/>
|
|
<setupTask
|
|
xsi:type="setup:PreferenceTask"
|
|
key="/instance/org.eclipse.ui.workbench/RUN_IN_BACKGROUND"
|
|
value="true"/>
|
|
</setupTask>
|
|
<stream name="default"
|
|
label="Default"/>
|
|
<logicalProjectContainer
|
|
xsi:type="setup:ProjectCatalog"
|
|
href="index:/org.eclipse.setup#//@projectCatalogs[name='com.github']"/>
|
|
<description>
|
|
Eclipse project setup for people wishing to contribute to
|
|
Spring Boot.
|
|
</description>
|
|
</setup:Project>
|