Package org.springframework.boot.maven
Class ArtifactsLibraries
java.lang.Object
org.springframework.boot.maven.ArtifactsLibraries
- All Implemented Interfaces:
- org.springframework.boot.loader.tools.Libraries
public class ArtifactsLibraries
extends Object
implements org.springframework.boot.loader.tools.Libraries
Libraries backed by Maven Artifacts.- Since:
- 1.0.0
- Author:
- Phillip Webb, Andy Wilkinson, Stephane Nicoll, Scott Frederick
- 
Field SummaryFields inherited from interface org.springframework.boot.loader.tools.LibrariesNONE
- 
Constructor SummaryConstructorsConstructorDescriptionArtifactsLibraries(Set<org.apache.maven.artifact.Artifact> artifacts, Collection<org.apache.maven.project.MavenProject> localProjects, Collection<org.apache.maven.model.Dependency> unpacks, org.apache.maven.plugin.logging.Log log) Creates a newArtifactsLibrariesfrom the givenartifacts.ArtifactsLibraries(Set<org.apache.maven.artifact.Artifact> artifacts, Set<org.apache.maven.artifact.Artifact> includedArtifacts, Collection<org.apache.maven.project.MavenProject> localProjects, Collection<org.apache.maven.model.Dependency> unpacks, org.apache.maven.plugin.logging.Log log) Creates a newArtifactsLibrariesfrom the givenartifacts.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoWithLibraries(org.springframework.boot.loader.tools.LibraryCallback callback) 
- 
Constructor Details- 
ArtifactsLibrariespublic ArtifactsLibraries(Set<org.apache.maven.artifact.Artifact> artifacts, Collection<org.apache.maven.project.MavenProject> localProjects, Collection<org.apache.maven.model.Dependency> unpacks, org.apache.maven.plugin.logging.Log log) Creates a newArtifactsLibrariesfrom the givenartifacts.- Parameters:
- artifacts- the artifacts to represent as libraries
- localProjects- projects for which- locallibraries should be created
- unpacks- artifacts that should be unpacked on launch
- log- the log
- Since:
- 2.4.0
 
- 
ArtifactsLibrariespublic ArtifactsLibraries(Set<org.apache.maven.artifact.Artifact> artifacts, Set<org.apache.maven.artifact.Artifact> includedArtifacts, Collection<org.apache.maven.project.MavenProject> localProjects, Collection<org.apache.maven.model.Dependency> unpacks, org.apache.maven.plugin.logging.Log log) Creates a newArtifactsLibrariesfrom the givenartifacts.- Parameters:
- artifacts- all artifacts that can be represented as libraries
- includedArtifacts- the actual artifacts to include in the uber jar
- localProjects- projects for which- locallibraries should be created
- unpacks- artifacts that should be unpacked on launch
- log- the log
- Since:
- 2.4.8
 
 
- 
- 
Method Details- 
doWithLibrariespublic void doWithLibraries(org.springframework.boot.loader.tools.LibraryCallback callback) throws IOException - Specified by:
- doWithLibrariesin interface- org.springframework.boot.loader.tools.Libraries
- Throws:
- IOException
 
 
-