How to exclude unnecessary unmanaged dependencies from packaging?

61 views
Skip to first unread message

Oliver Kinderknecht

unread,
Mar 6, 2014, 11:13:13 AM3/6/14
to simple-b...@googlegroups.com
Hello,

I want to create a standalone version of my play! 2.2.2 application and was wondering how i could exclude 
an unmanaged *.jar file to be packaged(play dist). It's the "mariaDB4j-2.0-SNAPSHOT.jar" file I solely 
use in tests which is about 56MB huge. 

I tried to put the jar file into a custom lib folder. Unfortunately, this did not exclude mariaDB4j from packaging.

unmanagedBase <<= baseDirectory { base => base / "lib_test" }

unmanagedJars 
in Test <<= unmanagedBase  map { base => (base ** "mariaDB4j-2.0-SNAPSHOT.jar").classpath }

Any thoughts on this?

Cheers 
Oliver

Josh Suereth

unread,
Mar 6, 2014, 11:15:03 AM3/6/14
to simple-b...@googlegroups.com
Have you opened a question on stackoverflow?  If so ping me and I'll answer you there.  We're trying to promote stackoverflow because the search is much better for questions like this.


--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/groups/opt_out.

Oliver Kinderknecht

unread,
Mar 6, 2014, 11:32:33 AM3/6/14
to simple-b...@googlegroups.com
Reply all
Reply to author
Forward
Message has been deleted
0 new messages