Loading src/main/java/com/inteligr8/maven/ban/AbstractBanConfiguration.java +2 −2 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ public abstract class AbstractBanConfiguration implements BanConfiguration { this.logger.error("The artifact version range could not be resolved; skipping: {}", child.getValue()); } else { Version version = vrresult.getHighestVersion(); artifact.setVersion(version.toString()); artifact = artifact.setVersion(version.toString()); ArtifactRequest arequest = new ArtifactRequest(artifact, this.session.getCurrentProject().getRemoteProjectRepositories(), null); try { Loading @@ -98,7 +98,7 @@ public abstract class AbstractBanConfiguration implements BanConfiguration { File file = aresult.getArtifact().getFile(); downloader = new BanConfigurationDownloader(this.session, this.artifactResolver, this.versionRangeResolver, file); } 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) { Loading Loading
src/main/java/com/inteligr8/maven/ban/AbstractBanConfiguration.java +2 −2 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ public abstract class AbstractBanConfiguration implements BanConfiguration { this.logger.error("The artifact version range could not be resolved; skipping: {}", child.getValue()); } else { Version version = vrresult.getHighestVersion(); artifact.setVersion(version.toString()); artifact = artifact.setVersion(version.toString()); ArtifactRequest arequest = new ArtifactRequest(artifact, this.session.getCurrentProject().getRemoteProjectRepositories(), null); try { Loading @@ -98,7 +98,7 @@ public abstract class AbstractBanConfiguration implements BanConfiguration { File file = aresult.getArtifact().getFile(); downloader = new BanConfigurationDownloader(this.session, this.artifactResolver, this.versionRangeResolver, file); } 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) { Loading