类 ArtifactsLibraries
java.lang.Object
org.springframework.boot.maven.ArtifactsLibraries
- 所有已实现的接口:
org.springframework.boot.loader.tools.Libraries
public class ArtifactsLibraries
extends Object
implements org.springframework.boot.loader.tools.Libraries
Libraries
backed by Maven Artifact
s.- 从以下版本开始:
- 1.0.0
- 作者:
- Phillip Webb, Andy Wilkinson, Stephane Nicoll, Scott Frederick
-
字段概要
从接口继承的字段 org.springframework.boot.loader.tools.Libraries
NONE
-
构造器概要
构造器构造器说明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 newArtifactsLibraries
from 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 newArtifactsLibraries
from the givenartifacts
. -
方法概要
-
构造器详细资料
-
ArtifactsLibraries
public 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 newArtifactsLibraries
from the givenartifacts
.- 参数:
artifacts
- the artifacts to represent as librarieslocalProjects
- projects for whichlocal
libraries should be createdunpacks
- artifacts that should be unpacked on launchlog
- the log- 从以下版本开始:
- 2.4.0
-
ArtifactsLibraries
public 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 newArtifactsLibraries
from the givenartifacts
.- 参数:
artifacts
- all artifacts that can be represented as librariesincludedArtifacts
- the actual artifacts to include in the uber jarlocalProjects
- projects for whichlocal
libraries should be createdunpacks
- artifacts that should be unpacked on launchlog
- the log- 从以下版本开始:
- 2.4.8
-
-
方法详细资料
-
doWithLibraries
public void doWithLibraries(org.springframework.boot.loader.tools.LibraryCallback callback) throws IOException - 指定者:
doWithLibraries
在接口中org.springframework.boot.loader.tools.Libraries
- 抛出:
IOException
-