Discussion:
[jboss-user] [JBoss Tools] - Gradle and Java EE Web Project
Juergen Zimmermann
2013-03-27 14:35:07 UTC
Permalink
Juergen Zimmermann [https://community.jboss.org/people/Juergen.Zimmermann] created the discussion

"Gradle and Java EE Web Project"

To view the discussion, visit: https://community.jboss.org/message/805050#805050

--------------------------------------------------------------
In Java EE Web Projects I was having a pom.xml so far. Is it possible to use a Gradle build script instead of pom.xml or is pom.xml required because of the underlying M2E plugin?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805050#805050]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Jesper Skov
2013-04-02 06:54:40 UTC
Permalink
Jesper Skov [https://community.jboss.org/people/jskovjyskebankdk] created the discussion

"Re: Gradle and Java EE Web Project"

To view the discussion, visit: https://community.jboss.org/message/805919#805919

--------------------------------------------------------------
We only use Gradle. We don't even load the M2E plugin.

Instead we have a custom plugin that runs Gradle (and fetches dependencies via Ivy).
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805919#805919]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-04-02 12:02:37 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Gradle and Java EE Web Project"

To view the discussion, visit: https://community.jboss.org/message/805988#805988

--------------------------------------------------------------
m2e does not require the pom.xml, the pom.xml is what requires m2e for things to work - thus if no pom.xml, no m2e plugin used/loaded.

Thus you can go write your gradle files, but as things are now you will need to manually configure a lot of things since we can't see what features you enable/disable.

There is an Eclipse Gradle plugin that does some of the basics (setup dependencies, configure basic wtp etc.) but they are still limited in comparison to the m2e and m2e-wtp integration.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805988#805988]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Loading...