public class MavenArtifactVersionResolver extends Object
Constructor and Description |
---|
MavenArtifactVersionResolver(String groupId,
String artifactId,
ClassLoader classLoader)
Creates an instance to look for the version in the Meta Data of the artifact with given
groupId and artifactId . |
public MavenArtifactVersionResolver(String groupId, String artifactId, ClassLoader classLoader)
groupId
and artifactId
.groupId
- The groupId as defined in the pom.xml file of the moduleartifactId
- The artifactId as defined in the pom.xml file of the moduleclassLoader
- The class loader to load the artifact configuration withpublic String get() throws IOException
IOException
- When an exception occurs reading from the maven configuration fileCopyright © 2010–2023. All rights reserved.