Saturday, December 28, 2024

Compile multiple modules in one project

I am trying to follow this example:
https://groups.google.com/g/google-web-toolkit/c/sjh6AGfeCKQ/m/Dp2fNL6HAQA
J

So, I put this into my pom.xml:
<build>
<plugins>
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1.0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>DiagonalSlitherlink</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<failOnError>true</failOnError>
<logLevel>INFO</logLevel>
</configuration>
</execution>
<execution>
<id>DiagonalSlitherlink2</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<failOnError>true</failOnError>
<logLevel>INFO</logLevel>

<moduleName>com._3dmathpuzzles.gwt.DiagonalSlitherlink2</moduleName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

But I get this error from Maven:

[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< com.3dmathpuzzles:3DMathPuzzlesWeb
>-----------------
[INFO] Building 3DMathPuzzlesWeb 2.1.0
[INFO] from pom.xml
[INFO] --------------------------------[ war
]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ 3DMathPuzzlesWeb ---
[INFO] Deleting C:\OneDrive\Dev\3DMathPuzzlesWeb\target
[INFO]
[INFO] --- resources:3.3.0:resources (default-resources) @
3DMathPuzzlesWeb ---
[INFO] Copying 0 resource
[INFO] Copying 52 resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ 3DMathPuzzlesWeb
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 65 source files to
C:\OneDrive\Dev\3DMathPuzzlesWeb\target\classes
[INFO]
[INFO] --- gwt:1.1.0:compile (default-cli) @ 3DMathPuzzlesWeb ---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.939 s
[INFO] Finished at: 2024-12-28T10:24:00-06:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
net.ltgt.gwt.maven:gwt-maven-plugin:1.1.0:compile (default-cli) on project
3DMathPuzzlesWeb: The parameters 'moduleName' for goal
net.ltgt.gwt.maven:gwt-maven-plugin:1.1.0:compile are missing or invalid
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException


Thank you,
Neil

--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/0178583776ad02ca447d870d69bcfcdc%40mail.gmail.com.

No comments:

Post a Comment