Class MavenUtil
java.lang.Object
org.jboss.resteasy.utils.maven.MavenUtil
This class was originally written by Kabir Khan to download old maven artifact in wildfly-core.
This class was updated for RESTEasy TS purposes.
Original sources can be found in wildfly-core:/model-test/src/main/java/org/jboss/as/model/test/MavenUtil.java
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MavenUtil
create
(boolean useEapRepository) createMavenGavFile
(String artifactGav) createMavenGavRecursiveFiles
(String artifactGav, String... excludes) static org.eclipse.aether.RepositorySystem
-
Field Details
-
logger
protected static final org.jboss.logging.Logger logger
-
-
Method Details
-
create
-
createMavenGavFile
- Throws:
MalformedURLException
-
createMavenGavRecursiveFiles
public List<File> createMavenGavRecursiveFiles(String artifactGav, String... excludes) throws MalformedURLException, org.eclipse.aether.collection.DependencyCollectionException, org.eclipse.aether.resolution.DependencyResolutionException - Throws:
MalformedURLException
org.eclipse.aether.collection.DependencyCollectionException
org.eclipse.aether.resolution.DependencyResolutionException
-
newRepositorySystem
public static org.eclipse.aether.RepositorySystem newRepositorySystem()
-