I'm trying to manipulate an open source project, where I have made my changes and created the WAR file. The WAR file that I have created is an "dependency" for an another module.
The code for that "dependent" module uses org.eclipse.aether.artifact.DefaultArtifact
like this:
public static DefaultArtifact getReportArtifact(String version) {
return new DefaultArtifact(ALLURE_GROUP_ID, ALLURE_REPORT_FACE_ARTIFACT_ID,"WAR", version);
}
to get the WAR and builds it jar.
I need to pass the my local WAR file, instead of it getting from the Maven repo. How can I do that?
Thanks in advance.