Home / Function/ getTargetMajorVersion() — spring-boot Function Reference

getTargetMajorVersion() — spring-boot Function Reference

Architecture documentation for the getTargetMajorVersion() function in JavaCompilerPluginConfiguration.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  41574849_8554_f362_53ca_fe75a679f6b6["getTargetMajorVersion()"]
  1523465b_5f0f_4665_4355_b8bef4c9e688["getConfigurationValue()"]
  41574849_8554_f362_53ca_fe75a679f6b6 -->|calls| 1523465b_5f0f_4665_4355_b8bef4c9e688
  cd5f418b_c259_4904_49e5_1919016a3be0["getPropertyValue()"]
  41574849_8554_f362_53ca_fe75a679f6b6 -->|calls| cd5f418b_c259_4904_49e5_1919016a3be0
  b4994b0f_d1bf_57dd_8d2f_b6ea99d18458["majorVersionFor()"]
  41574849_8554_f362_53ca_fe75a679f6b6 -->|calls| b4994b0f_d1bf_57dd_8d2f_b6ea99d18458
  style 41574849_8554_f362_53ca_fe75a679f6b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/JavaCompilerPluginConfiguration.java lines 51–59

	@Nullable String getTargetMajorVersion() {
		String version = getConfigurationValue("target");

		if (version == null) {
			version = getPropertyValue("maven.compiler.target");
		}

		return majorVersionFor(version);
	}

Domain

Subdomains

Frequently Asked Questions

What does getTargetMajorVersion() do?
getTargetMajorVersion() is a function in the spring-boot codebase.
What does getTargetMajorVersion() call?
getTargetMajorVersion() calls 3 function(s): getConfigurationValue, getPropertyValue, majorVersionFor.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free