public class FixNotMavenizedArtifactInfo extends Object
Maven auto-generate a `pom.properties` to store GAV information, and it also embeds the original pom file into the produced artifacts. However, this meta information is not always available if the artifact was created using a different system like ant. Even if the artifact doesn't have the necessary embedded information, those artifacts can be available in maven repositories, but the metadata are provided differently.
To build the GAV information out of a .jar file, this class uses as input a `not-mavenized-artifacts.properties` from classpath that provides the feedback needed to produce the required metadata. In case of an artifact is not listed in the input file, this class won't be able to provide the GAV.
Constructor and Description |
---|
FixNotMavenizedArtifactInfo() |
Modifier and Type | Method and Description |
---|---|
String |
buildPom(GAV gav) |
Properties |
getProperties(String filePath) |
public Properties getProperties(String filePath)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.