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.model.Dependency> unpacks,
org.apache.maven.plugin.logging.Log log)
Deprecated.
since 2.4.0 for removal in 2.6.0 in favor of
ArtifactsLibraries(Set, Collection, Collection, Log) |
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) |
@Deprecated public ArtifactsLibraries(java.util.Set<org.apache.maven.artifact.Artifact> artifacts, java.util.Collection<org.apache.maven.model.Dependency> unpacks, org.apache.maven.plugin.logging.Log log)
ArtifactsLibraries(Set, Collection, Collection, Log)
ArtifactsLibraries
from the given artifacts
.artifacts
- the artifacts to represent as librariesunpacks
- artifacts that should be unpacked on launchlog
- the logpublic 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