Package org.smallmind.artifact.maven
Class MavenScanner
- java.lang.Object
-
- org.smallmind.artifact.maven.MavenScanner
-
public class MavenScanner extends Object
-
-
Constructor Summary
Constructors Constructor Description MavenScanner(String repositoryId, boolean offline, Stint cycleStint, MavenCoordinate... mavenCoordinates)MavenScanner(String settingsDirectory, String repositoryId, boolean offline, Stint cycleStint, MavenCoordinate... mavenCoordinates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMavenScannerListener(MavenScannerListener listener)protected voidfinalize()voidremoveMavenScannerListener(MavenScannerListener listener)voidstart()voidstop()
-
-
-
Constructor Detail
-
MavenScanner
public MavenScanner(String repositoryId, boolean offline, Stint cycleStint, MavenCoordinate... mavenCoordinates) throws org.apache.maven.settings.building.SettingsBuildingException
- Throws:
org.apache.maven.settings.building.SettingsBuildingException
-
MavenScanner
public MavenScanner(String settingsDirectory, String repositoryId, boolean offline, Stint cycleStint, MavenCoordinate... mavenCoordinates) throws org.apache.maven.settings.building.SettingsBuildingException
- Throws:
org.apache.maven.settings.building.SettingsBuildingException
-
-
Method Detail
-
addMavenScannerListener
public void addMavenScannerListener(MavenScannerListener listener)
-
removeMavenScannerListener
public void removeMavenScannerListener(MavenScannerListener listener)
-
start
public void start() throws org.eclipse.aether.collection.DependencyCollectionException, org.eclipse.aether.resolution.DependencyResolutionException, org.eclipse.aether.resolution.ArtifactResolutionException- Throws:
org.eclipse.aether.collection.DependencyCollectionExceptionorg.eclipse.aether.resolution.DependencyResolutionExceptionorg.eclipse.aether.resolution.ArtifactResolutionException
-
stop
public void stop() throws InterruptedException- Throws:
InterruptedException
-
finalize
protected void finalize() throws InterruptedException- Overrides:
finalizein classObject- Throws:
InterruptedException
-
-