public class ArtifactsLibraries
extends java.lang.Object
implements org.springframework.boot.loader.tools.Libraries
Libraries
backed by Maven Artifact
s.Constructor and Description |
---|
ArtifactsLibraries(java.util.Set<org.apache.maven.artifact.Artifact> artifacts,
java.util.Collection<org.apache.maven.project.MavenProject> localProjects,
java.util.Collection<org.apache.maven.model.Dependency> unpacks,
org.apache.maven.plugin.logging.Log log)
Creates a new
ArtifactsLibraries from the given artifacts . |
ArtifactsLibraries(java.util.Set<org.apache.maven.artifact.Artifact> artifacts,
java.util.Set<org.apache.maven.artifact.Artifact> includedArtifacts,
java.util.Collection<org.apache.maven.project.MavenProject> localProjects,
java.util.Collection<org.apache.maven.model.Dependency> unpacks,
org.apache.maven.plugin.logging.Log log)
Creates a new
ArtifactsLibraries from the given artifacts . |
Modifier and Type | Method and Description |
---|---|
void |
doWithLibraries(org.springframework.boot.loader.tools.LibraryCallback callback) |
public ArtifactsLibraries(java.util.Set<org.apache.maven.artifact.Artifact> artifacts, java.util.Collection<org.apache.maven.project.MavenProject> localProjects, java.util.Collection<org.apache.maven.model.Dependency> unpacks, org.apache.maven.plugin.logging.Log log)
ArtifactsLibraries
from the given artifacts
.artifacts
- the artifacts to represent as librarieslocalProjects
- projects for which local
libraries
should be createdunpacks
- artifacts that should be unpacked on launchlog
- the logpublic ArtifactsLibraries(java.util.Set<org.apache.maven.artifact.Artifact> artifacts, java.util.Set<org.apache.maven.artifact.Artifact> includedArtifacts, java.util.Collection<org.apache.maven.project.MavenProject> localProjects, java.util.Collection<org.apache.maven.model.Dependency> unpacks, org.apache.maven.plugin.logging.Log log)
ArtifactsLibraries
from the given artifacts
.artifacts
- all artifacts that can be represented as librariesincludedArtifacts
- the actual artifacts to include in the fat jarlocalProjects
- projects for which local
libraries
should be createdunpacks
- artifacts that should be unpacked on launchlog
- the log