eclipse-ee4j / glassfish-security-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`:print` throws `NPE` when select modules are built

pzygielo opened this issue · comments

To reproduce use for example glassfish (a364892e1) and execute from top-level directory:

$ mvn install -pl nucleus/admin/util,appserver/jms/admin command-security:print

which results in

[INFO] 
[INFO] --- command-security-maven-plugin:1.0.15:print (default-cli) @ admin-util ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for admin-util 7.0.1-SNAPSHOT:
[INFO] 
[INFO] admin-util ......................................... FAILURE [ 27.678 s]
[INFO] JMS admin .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  32.518 s
[INFO] Finished at: 2022-12-23T15:52:28+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.build:command-security-maven-plugin:1.0.15:print (default-cli) on project admin-util: Execution default-cli of goal org.glassfish.build:command-security-maven-plugin:1.0.15:print failed: Cannot invoke "org.apache.maven.project.MavenProject.getBasedir()" because "execRoot" is null -> [Help 1]
[ERROR]