Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
d41d73fa1c | |||
a9aa47d412 | |||
47fd07247d |
2
pom.xml
2
pom.xml
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8</groupId>
|
<groupId>com.inteligr8</groupId>
|
||||||
<artifactId>ban-maven-plugin</artifactId>
|
<artifactId>ban-maven-plugin</artifactId>
|
||||||
<version>1.3.0</version>
|
<version>1.3.1</version>
|
||||||
<packaging>maven-plugin</packaging>
|
<packaging>maven-plugin</packaging>
|
||||||
|
|
||||||
<name>Ban Dependencies Maven Plugin</name>
|
<name>Ban Dependencies Maven Plugin</name>
|
||||||
|
@@ -90,7 +90,7 @@ public abstract class AbstractBanConfiguration implements BanConfiguration {
|
|||||||
this.logger.error("The artifact version range could not be resolved; skipping: {}", child.getValue());
|
this.logger.error("The artifact version range could not be resolved; skipping: {}", child.getValue());
|
||||||
} else {
|
} else {
|
||||||
Version version = vrresult.getHighestVersion();
|
Version version = vrresult.getHighestVersion();
|
||||||
artifact.setVersion(version.toString());
|
artifact = artifact.setVersion(version.toString());
|
||||||
|
|
||||||
ArtifactRequest arequest = new ArtifactRequest(artifact, this.session.getCurrentProject().getRemoteProjectRepositories(), null);
|
ArtifactRequest arequest = new ArtifactRequest(artifact, this.session.getCurrentProject().getRemoteProjectRepositories(), null);
|
||||||
try {
|
try {
|
||||||
@@ -98,7 +98,7 @@ public abstract class AbstractBanConfiguration implements BanConfiguration {
|
|||||||
File file = aresult.getArtifact().getFile();
|
File file = aresult.getArtifact().getFile();
|
||||||
downloader = new BanConfigurationDownloader(this.session, this.artifactResolver, this.versionRangeResolver, file);
|
downloader = new BanConfigurationDownloader(this.session, this.artifactResolver, this.versionRangeResolver, file);
|
||||||
} catch (ArtifactResolutionException are) {
|
} catch (ArtifactResolutionException are) {
|
||||||
this.logger.warn("The artifact version could not be resolved; skipping: {} | {}", child.getValue(), version);
|
this.logger.warn("The artifact version could not be resolved; skipping: {}", artifact, version);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (VersionRangeResolutionException vrre) {
|
} catch (VersionRangeResolutionException vrre) {
|
||||||
|
Reference in New Issue
Block a user