jhsuwm / onejar-maven-plugin

Automatically exported from code.google.com/p/onejar-maven-plugin
0 stars 0 forks source link

Runtime dependencies not included #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This was an open issue when we tranfered the project from dstovall.org to
googlecode.

---
Hannu Leinonen wrote:

It still seems that dependencies with runtime scope are not included in the
one-jar.

I was experiencing with it a bit and noticed that by changing the line:

 * @requiresDependencyResolution compile

to

 * @requiresDependencyResolution runtime

it puts the correct jars to the one-jar. Instead of the jars from provided
and compile scopes it puts there the jars from runtime and compile scopes
which is the way I'd expect it to work.

-Hannu

Original issue reported on code.google.com by dstov...@gmail.com on 13 Mar 2009 at 7:11

GoogleCodeExporter commented 9 years ago
Hannu is absolutely correct about runtime dependencies vs compile time 
dependencies.

However, this has been fixed in trunk. In fact, it was the very first thing I 
fixed
when we moved to googlecode.

Using the latest 1.2.3-SNAPSHOT from our mavenrepo-snapshot here at googlecode, 
will
use the fixed version. The latest release version does however not currently 
include
the fix. I will go ahead now and release version 1.2.3, so that our latest 
officially
released version includes the fix.

Original comment by hugo.josefson.old@gmail.com on 13 Mar 2009 at 7:48

GoogleCodeExporter commented 9 years ago
Released onejar-maven-plugin 1.2.3, and updated relevant documentation.

Original comment by hugo.josefson.old@gmail.com on 13 Mar 2009 at 9:23

GoogleCodeExporter commented 9 years ago

Original comment by hugo.josefson.old@gmail.com on 16 Mar 2009 at 9:44