You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2019/01/19 01:30:46 UTC

[GitHub] andretadeu edited a comment on issue #2: [MJMOD-8] NullPointerException on create

andretadeu edited a comment on issue #2: [MJMOD-8] NullPointerException on create
URL: https://github.com/apache/maven-jmod-plugin/pull/2#issuecomment-455735851
 
 
   I tested now with Java 9, 10, and 11, and Maven 3.6.0:
   
   I ran the command: *mvn clean verify -Prun-its*, after that I removed the generated JMOD file, and executed the command:
   
   ```
   jmod create --module-version 99.0 \
   --class-path /home/andre/workspaces/oss/maven-jmod-plugin/target/it/mjmod-8-generate-jmod-in-other-project/about-cli-app/target/about-cli-app-99.0.jar \
   --config /home/andre/workspaces/oss/maven-jmod-plugin/target/it/mjmod-8-generate-jmod-in-other-project/about-cli-distribution-jmod/src/main/configs \
   --cmds /home/andre/workspaces/oss/maven-jmod-plugin/target/it/mjmod-8-generate-jmod-in-other-project/about-cli-distribution-jmod/src/main/cmds \
   --module-path \
   "/home/andre/.sdkman/candidates/java/11.0.1-open/jmods" \
   /home/andre/workspaces/oss/maven-jmod-plugin/target/it/mjmod-8-generate-jmod-in-other-project/about-cli-distribution-jmod/target/jmods/about-cli-distribution-jmod.jmod
   ```
   
   where the arguments were generated by maven-jmod-plugin and it's in *jmodCreateArgs* file. From the tests above, I didn't get the error you got. I confess I got this error, but it happened after I had made a mistake in my implementation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services