Skip to content

Commit

Permalink
NMAP-29 - Maven plugin StackOverflowError in multi module projects wi…
Browse files Browse the repository at this point in the history
…th extensions
  • Loading branch information
TamirHadad committed Apr 13, 2016
1 parent 9655cd3 commit 5876246
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -104,7 +104,8 @@ class PublishMojo extends GroovyMojo
void execute ()
throws MojoExecutionException , MojoFailureException
{
boolean invokedAlready = ( session.request.executionListener instanceof BuildInfoRecorder )
// Cannot use instanceof because of classLoader issues
boolean invokedAlready = session.request.executionListener.getClass().getCanonicalName().equals(BuildInfoRecorder.class.getCanonicalName())

if ( invokedAlready ){ return }

Expand Down

0 comments on commit 5876246

Please sign in to comment.