Milos Kleint wrote: > I'll look into it when I get back from vacation (Jan 2009). > Right now it seems to be an issue with the fact that the shaded jar > belongs to a project that doens't provide the source for the binaries > contained. That's sort of a concept in netbeans project system, so > making it work will probably involve some hacking.. > > Milos
I think that shouldn't matter? 1) Netbeans works correctly with 3rd party libs with no sources provided, and by default does not retrieve sources 2) <createSourcesJar>true</createSourcesJar> creates such jar, and from what I looked inside it, it looks just like a "normal" sources jar. Greetings, L > > On Thu, Dec 11, 2008 at 4:41 AM, Lilianne E. Blaze > <[EMAIL PROTECTED]> wrote: >> Hello, >> (I already tried on users- list) >> >> I'm trying to make a jar containing x dependencies to be used as a >> single dependency, using Shade with the following options: >> >> <createSourcesJar>true</createSourcesJar> >> <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope> >> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> >> >> It seems ok, looks ok, works ok. _But_ - Netbeans doesn't seem to >> recognize it - code completion fails with "package/class/symbol does not >> exist" errors all over the place. Now I'm pretty much stuck. It could be >> a problem with Maven, could be with Netbeans, could be my (complete or >> partial) mistake with understanding how Maven makes / handles Shaded jars. >> >> I already submitted a report at >> http://www.netbeans.org/issues/show_bug.cgi?id=155091 , along with a >> simple project (3 projects, 2 classes) to demonstrate it. >> >> Greetings, thanks in advance, Lilianne >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]