public class PomArtifactVersionResolver extends Object implements org.apache.sling.provisioning.model.ModelUtility.ArtifactVersionResolver
Constructor and Description |
---|
PomArtifactVersionResolver(org.apache.maven.project.MavenProject project,
boolean allowUnresolvedPomDependencies) |
Modifier and Type | Method and Description |
---|---|
String |
resolve(org.apache.sling.provisioning.model.Artifact artifact) |
public PomArtifactVersionResolver(org.apache.maven.project.MavenProject project, boolean allowUnresolvedPomDependencies)
project
- Maven projectallowUnresolvedPomDependencies
- If true, no exception is thrown when resolving is not possiblepublic String resolve(org.apache.sling.provisioning.model.Artifact artifact)
resolve
in interface org.apache.sling.provisioning.model.ModelUtility.ArtifactVersionResolver
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.