Friday, July 26, 2013

Re: Producing a JAR file out of compiled JavaScript and web resources (using Maven)

On Friday, July 26, 2013 12:34:41 PM UTC+2, Otto Chrons wrote:

I would like to produce a JAR file instead of the regular WAR out of my GWT project. My GWT application is purely client-only as the server is implemented in Scala (using SBT instead of Maven). For this reason I would need to produce a JAR file containing all the final web resources (including the GWT compiled javascript), so that I can use it as a dependency for my server project.

Is it possible to configure the Maven WAR plugin to produce such a simplified JAR, without any of the WEB-INF stuff?

Yes, but that's a Maven-related question, not really a GWT-related one.

Depending on your constraint for consuming the artifact, you might need to simply exclude WEB-INF/ from the archetype:

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment