public class AddScopedDependenciesTask extends Object implements MavenWorkingSessionTask<MavenWorkingSession>
| Constructor and Description |
|---|
AddScopedDependenciesTask(ScopeType... scopes)
Creates a task which will include all dependencies based on passed scopes
|
| Modifier and Type | Method and Description |
|---|---|
MavenWorkingSession |
execute(MavenWorkingSession session)
Executes a task on the specified session returning arbitrary object
|
public AddScopedDependenciesTask(ScopeType... scopes)
scopes - Scopes of dependencies to be added for resolutionpublic MavenWorkingSession execute(MavenWorkingSession session)
MavenWorkingSessionTaskexecute in interface MavenWorkingSessionTask<MavenWorkingSession>session - A session the task should be executed on.Copyright © 2024 JBoss by Red Hat. All rights reserved.