-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointer during generate-module-info #91
Comments
I'll submit a PR which might help you go further. But I still am unable despite my fix to get the command to work on a reactor build project, where the parent POM defines a ${version} property, and where the maven module uses the ${version} property in its 's . |
@lestephane? What is „its 's“ a typo of? |
As reported in Stack Overflow, this same NPE — exact same stack trace — happens when this plugin is applied to try to resolve this other project's issue. This is the
Even though |
A PR for fixing this will be welcomed! FWIW, I don't have much bandwidth for ModiTect these days, so that'd be the best avenue for getting solution. Thanks for your understanding! |
Sorry I don't recall. |
Same problem! |
Hi,
|
Same problem. If it helps, I don't get an NPE when using
|
@gunnarmorling this is still a problem. Can't promise to look into it. But if someone does, can you review, merge and release it? Still using the workaround with |
Really fixes moditect#228. This will also show the NPE everyone is talking about in moditect#91.
Really fixes moditect#228. This will also show the NPE everyone is talking about in moditect#91.
Really fixes moditect#228. This will also show the NPE everyone is talking about in moditect#91.
Really fixes moditect#228. This will also show the NPE everyone is talking about in moditect#91.
That is actually not supported... the |
I'm getting an NullPointerException when generating module-info.java:
The Maven config is like this:
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<version>1.0.0.Beta2</version>
<executions>
<execution>
<id>generate-module-info</id>
<phase>generate-sources</phase>
<goals>
<goal>generate-module-info</goal>
</goals>
<configuration>
<modules>
<module>
<artifact>
<groupId>de.spinoza.bla</groupId>
<artifactId>blabla</artifactId>
<version>3.10.1-SNAPSHOT</version>
</artifact>
<moduleInfo>
<name>de.spinoza.bla.blabla</name>
</moduleInfo>
</module>
</modules>
</configuration>
</execution>
</executions>
</plugin>
The text was updated successfully, but these errors were encountered: