Package aQute.bnd.maven.support
Class Maven
- java.lang.Object
-
- aQute.bnd.maven.support.Maven
-
public class Maven extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String[]
ALGORITHMS
(package private) java.util.Map<java.lang.String,MavenEntry>
entries
(package private) java.util.concurrent.Executor
executor
(package private) static java.lang.String
MAVEN_REPO_LOCAL
(package private) java.io.File
repository
(package private) boolean
usecache
-
Constructor Summary
Constructors Constructor Description Maven(java.util.concurrent.Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectPom
createProjectModel(java.io.File file)
private java.lang.String
dirpath(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
MavenEntry
getEntry(Pom pom)
MavenEntry
getEntry(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
CachedPom
getPom(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.net.URI... extra)
void
schedule(java.lang.Runnable runnable)
void
setM2(java.io.File dir)
java.lang.String
toString()
-
-
-
Field Detail
-
entries
final java.util.Map<java.lang.String,MavenEntry> entries
-
ALGORITHMS
static final java.lang.String[] ALGORITHMS
-
usecache
boolean usecache
-
executor
final java.util.concurrent.Executor executor
-
MAVEN_REPO_LOCAL
static final java.lang.String MAVEN_REPO_LOCAL
-
repository
java.io.File repository
-
-
Method Detail
-
getPom
public CachedPom getPom(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.net.URI... extra) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getEntry
public MavenEntry getEntry(java.lang.String groupId, java.lang.String artifactId, java.lang.String version) throws java.lang.Exception
- Parameters:
groupId
-artifactId
-version
-- Throws:
java.lang.Exception
-
dirpath
private java.lang.String dirpath(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
-
schedule
public void schedule(java.lang.Runnable runnable)
-
createProjectModel
public ProjectPom createProjectModel(java.io.File file) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getEntry
public MavenEntry getEntry(Pom pom) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setM2
public void setM2(java.io.File dir)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-