Skip to content

Commit

Permalink
Issue #723 improve error message
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
  • Loading branch information
laeubi committed Mar 8, 2022
1 parent 7e8aaf0 commit 3dd38df
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -88,7 +88,8 @@ public TargetPlatformBundlePublisher(ReactorProject project, MavenContext mavenC
MavenBundleInfo attemptToPublishBundle(IArtifactFacade mavenArtifact, boolean wrapIfNessesary) {
if (!isAvailableAsLocalFile(mavenArtifact)) {
// this should have been ensured by the caller
throw new IllegalArgumentException("Not an artifact file: " + mavenArtifact.getLocation());
throw new IllegalArgumentException(
mavenArtifact + " is not a local artifact file @ location " + mavenArtifact.getLocation());
}
PublisherRun publisherRun = new PublisherRun(mavenArtifact, project, publishedArtifacts.getBaseDir(),
mavenContext, wrapIfNessesary);
Expand Down

0 comments on commit 3dd38df

Please sign in to comment.