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

getConfiguredPackager() — spring-boot Function Reference

Architecture documentation for the getConfiguredPackager() function in AbstractPackagerMojo.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  52c9eeb4_296e_0eda_4242_7f9550c8190b["getConfiguredPackager()"]
  80c2c0fc_ee05_5ac5_8442_e2daa549b75b["getLayoutFactory()"]
  52c9eeb4_296e_0eda_4242_7f9550c8190b -->|calls| 80c2c0fc_ee05_5ac5_8442_e2daa549b75b
  dbf4364b_d122_22ac_0bc3_d784353c25c3["getLayout()"]
  52c9eeb4_296e_0eda_4242_7f9550c8190b -->|calls| dbf4364b_d122_22ac_0bc3_d784353c25c3
  457d5e5e_a789_dca2_d604_bf0e21ab6dc3["getCustomLayers()"]
  52c9eeb4_296e_0eda_4242_7f9550c8190b -->|calls| 457d5e5e_a789_dca2_d604_bf0e21ab6dc3
  bdf7fb1c_36dc_2193_0bbe_06aacf98d39c["getIncludeRelevantJarModeJars()"]
  52c9eeb4_296e_0eda_4242_7f9550c8190b -->|calls| bdf7fb1c_36dc_2193_0bbe_06aacf98d39c
  style 52c9eeb4_296e_0eda_4242_7f9550c8190b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractPackagerMojo.java lines 166–182

	protected <P extends Packager> P getConfiguredPackager(Supplier<P> supplier) {
		P packager = supplier.get();
		packager.setLayoutFactory(getLayoutFactory());
		packager.addMainClassTimeoutWarningListener(new LoggingMainClassTimeoutWarningListener(this::getLog));
		packager.setMainClass(this.mainClass);
		LayoutType layout = getLayout();
		if (layout != null) {
			getLog().info("Layout: " + layout);
			packager.setLayout(layout.layout());
		}
		if (this.layers.isEnabled()) {
			packager.setLayers((this.layers.getConfiguration() != null)
					? getCustomLayers(this.layers.getConfiguration()) : IMPLICIT_LAYERS);
		}
		packager.setIncludeRelevantJarModeJars(getIncludeRelevantJarModeJars());
		return packager;
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getConfiguredPackager() do?
getConfiguredPackager() is a function in the spring-boot codebase.
What does getConfiguredPackager() call?
getConfiguredPackager() calls 4 function(s): getCustomLayers, getIncludeRelevantJarModeJars, getLayout, getLayoutFactory.

Analyze Your Own Codebase

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

Try Supermodel Free