Giter Club home page Giter Club logo

Comments (4)

natros avatar natros commented on May 28, 2024

Hi.

The project complains about missing dependencies:

[ERROR] Failed to execute goal on project hal-processors: Could not resolve dependencies for project org.jboss.hal:hal-processors:jar:0.0.2: Failure to find org.jgrapht:jgrapht-core:jar:0.9.2-hal 

But I think the real problem is that you are not using src/main/module.gwt.xml. For instance, your org/jboss/hal/Ballroom.gwt.xml is being ignored. The ballroom/target/classes/org/jboss/hal/Ballroom.gwt.xml is automatically generated by the plugin and includes the src/main/module.gwt.xml.

If you really want to use org/jboss/hal/Ballroom.gwt.xml instead of src/main/module.gwt.xml you have to add to the plugin configuration.

from gwt-maven-plugin.

hpehl avatar hpehl commented on May 28, 2024

Thanks @natros, works like a charme! I didn't know that I should use module.gwt.xml files to declare my GWT modules. They're quite handy, though. BTW my maven project uses APT to generate code which is picked up by the GWT compiler.

@tbroyer Maybe it's worth to add some documentation in [1]. Coming from the Codehaus GWT maven module I wanted to reuse my existing GWT modules. However it's much more simpler to switch over to module.gwt.xml files.

[1] https://tbroyer.github.io/gwt-maven-plugin/migrating.html

from gwt-maven-plugin.

tbroyer avatar tbroyer commented on May 28, 2024

Yes, it really needs to be better documented (and not only in the migrating page). I'll leave this issue open for now as a reminder (aka repurposing as a documentation issue).

Thank you both for the feedback and early adoption.

from gwt-maven-plugin.

tbroyer avatar tbroyer commented on May 28, 2024

In retrospect, I think I expected resources:resources to overwrite the module file generated by gwt:generate-module. Maybe it work with some version of the maven-resources-plugin (default one depending on the Maven version) and not with others. Anyway, this is now documented eb80130

from gwt-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.