Combining maven and play

347 views
Skip to first unread message

Alexander Reelsen

unread,
Dec 22, 2009, 3:00:22 PM12/22/09
to play-fr...@googlegroups.com
Hi all,

I have written a small post how to combine play and the maven
dependency resolution for your own modules, hopefully without getting in
classloader hell because of clashing versions of packages which
already ship with play.

Please comment, whether this is a useful solution - I am not really a
friend of maven myself, but it just works for transitive dependencies
IMO.

http://www.emplify.de/archives/963-Using-maven-for-dependency-resolution-in-play-modules.html


Regards, Alexander

Guillaume Bort

unread,
Dec 23, 2009, 5:42:54 AM12/23/09
to play-fr...@googlegroups.com
Hi,

Thank for your post.
I agree that play miss of a dependencies tracking system. I think
about using ivy to track these dependencies.

But never used it myself. What do you think about it ?

> --
>
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
>
>
>

Glen Maddern

unread,
Dec 23, 2009, 5:53:14 AM12/23/09
to play-fr...@googlegroups.com
One suggestion would be to integrate with javagems: http://www.javagems.org/

I've been hugely impressed with gemcutter, so this is intriguing with me. To me it's far more appealing than maven/ivy. If you're familiar with ruby gem publishing it should be fairly familiar, too.

-glen.
--
Glen Maddern
0423 118 405

Alexander Reelsen

unread,
Dec 23, 2009, 7:15:37 AM12/23/09
to play-fr...@googlegroups.com
Hi

On Wed, 23 Dec 2009 11:42:54 +0100
Guillaume Bort <guillau...@gmail.com> wrote:

> Thank for your post.
> I agree that play miss of a dependencies tracking system. I think
> about using ivy to track these dependencies.
>
> But never used it myself. What do you think about it ?

I'm also all in for ivy. Ant is already used and play does not need
anything more than pure dependency management.

I'll try to come up with an ivy solution in the next days, if time
permits.


Regards, Alexander

Alexander Reelsen

unread,
Dec 23, 2009, 11:28:22 AM12/23/09
to play-fr...@googlegroups.com
Hi

On Wed, 23 Dec 2009 11:42:54 +0100
Guillaume Bort <guillau...@gmail.com> wrote:

> Thank for your post.
> I agree that play miss of a dependencies tracking system. I think
> about using ivy to track these dependencies.

Only resolving dependencies in ivy is pretty quick and additionally
integrates clean with ant- eclipse plugin is also there (I did not
check for other IDEs):

https://www.emplify.de/archives/965-Using-ivy-for-dependency-resolution-in-play-modules.html


Regards, Alexander

Ivan Meredith

unread,
Dec 23, 2009, 4:31:41 PM12/23/09
to play-fr...@googlegroups.com
Thanks for your post. I had just spent a few hours getting all the
jars for jclouds.

I'll probably stick with maven instead of ivy because we use maven for
jclouds and already have maven installed.

-Ivan

Kiran Gangadharan

unread,
Sep 2, 2012, 1:56:17 PM9/2/12
to play-fr...@googlegroups.com, a...@emplify.de
Hi,

Using maven is not the best thing, so I wrote a simple build script in Gradle. 

https://github.com/kirang89/play-gradle
Reply all
Reply to author
Forward
0 new messages