Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-23 Thread Stuart McCulloch
2009/3/21 sebb > On 20/03/2009, Stuart McCulloch wrote: > > 2009/3/20 sebb > > > > > > > On 19/03/2009, Stephen Connolly > wrote: > > > > > > > > > (Note: true should have the same effect but I > have > > > > never quite got that to work the way it should) > > > > > > > > > > I'm told

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-20 Thread sebb
On 20/03/2009, Stuart McCulloch wrote: > 2009/3/20 sebb > > > > On 19/03/2009, Stephen Connolly wrote: > > > > > > (Note: true should have the same effect but I have > > > never quite got that to work the way it should) > > > > > > > I'm told it doesn't, because the dpendency still ends

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-20 Thread Stuart McCulloch
2009/3/20 sebb > On 19/03/2009, Stephen Connolly wrote: > > > (Note: true should have the same effect but I have > > never quite got that to work the way it should) > > > > I'm told it doesn't, because the dpendency still ends up in OSGI bundles. > FYI, if you're talking about the maven-bundl

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-20 Thread sebb
On 19/03/2009, Stephen Connolly wrote: > 2009/3/19 sebb > > > On 19/03/2009, Stephen Connolly wrote: > > > 2009/3/19 sebb > > > > > > > On 19/03/2009, Stephen Connolly > > wrote: > > > > > 2009/3/19 sebb > > > > > > > > > > > > > > > > > Can I get back to my original question, w

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stephen Connolly
2009/3/19 sebb > On 19/03/2009, Stephen Connolly wrote: > > 2009/3/19 sebb > > > > > On 19/03/2009, Stephen Connolly > wrote: > > > > 2009/3/19 sebb > > > > > > > > > > > > > Can I get back to my original question, which is: > > > > > > > > > > How does one express a dependency on a

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread sebb
On 19/03/2009, Dev at weitling wrote: > > > sebb wrote: > > On 19/03/2009, Stephen Connolly wrote: > > >> > > scope provided will do what you need afaik > >> > > > >> > > >> > Yes, but then AFAIK the user has to download and install the jar > >> > separately, which is a pain. > >> >

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Dev at weitling
sebb wrote: > On 19/03/2009, Stephen Connolly wrote: >> > > scope provided will do what you need afaik >> > > >> > >> > Yes, but then AFAIK the user has to download and install the jar >> > separately, which is a pain. >> > >> >> >> Nope >> > > I think you meant "Yep..." as you se

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread sebb
On 19/03/2009, Stephen Connolly wrote: > 2009/3/19 sebb > > > On 19/03/2009, Stephen Connolly wrote: > > > 2009/3/19 sebb > > > > > > > > > > On 19/03/2009, Rusty Wright wrote: > > > > > Do the imports only have an effect at compile time? For example, if > > you > > > > > have > >

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stephen Connolly
2009/3/19 sebb > On 19/03/2009, Stephen Connolly wrote: > > 2009/3/19 sebb > > > > > > > On 19/03/2009, Rusty Wright wrote: > > > > Do the imports only have an effect at compile time? For example, if > you > > > > have > > > > > > > > package impl.zzz; > > > > > > > > import api.yy

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread sebb
On 19/03/2009, Stephen Connolly wrote: > 2009/3/19 sebb > > > > On 19/03/2009, Rusty Wright wrote: > > > Do the imports only have an effect at compile time? For example, if you > > > have > > > > > > package impl.zzz; > > > > > > import api.yyy.Yyy; > > > > > > public class Xyz i

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stuart McCulloch
2009/3/19 Stephen Connolly > 2009/3/19 sebb > > > On 19/03/2009, Rusty Wright wrote: > > > Do the imports only have an effect at compile time? For example, if > you > > > have > > > > > > package impl.zzz; > > > > > > import api.yyy.Yyy; > > > > > > public class Xyz implements Yyy { > >

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stephen Connolly
2009/3/19 sebb > On 19/03/2009, Rusty Wright wrote: > > Do the imports only have an effect at compile time? For example, if you > > have > > > > package impl.zzz; > > > > import api.yyy.Yyy; > > > > public class Xyz implements Yyy { > > } > > > > When you run the app the jvm won't need

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread Stuart McCulloch
On 19 Mar 2009, at 09:19, sebb wrote: On 19/03/2009, Rusty Wright wrote: Do the imports only have an effect at compile time? For example, if you have package impl.zzz; import api.yyy.Yyy; public class Xyz implements Yyy { } When you run the app the jvm won't need to have the yyy.Yy

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread sebb
On 19/03/2009, Rusty Wright wrote: > Do the imports only have an effect at compile time? For example, if you > have > > package impl.zzz; > > import api.yyy.Yyy; > > public class Xyz implements Yyy { > } > > When you run the app the jvm won't need to have the yyy.Yyy class > available?

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread Rusty Wright
Do the imports only have an effect at compile time? For example, if you have package impl.zzz; import api.yyy.Yyy; public class Xyz implements Yyy { } When you run the app the jvm won't need to have the yyy.Yyy class available? Even if that's true it seems dubious to me because it seems

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread sebb
On 18/03/2009, sebb wrote: > AIUI, "compile" scope means compile, test and run, and generates a > transitive dependency. > > There are some dependencies that are compile-time only, for example > annotations, and Java specification jars - i.e. API-only jars that > have no implementation. > > W

compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread sebb
AIUI, "compile" scope means compile, test and run, and generates a transitive dependency. There are some dependencies that are compile-time only, for example annotations, and Java specification jars - i.e. API-only jars that have no implementation. What is the best way to define such a dependency