I'm a light/occasional Guice user so don't know all the ramifications of this change but I think it's acceptable for an artifact to increase it's dependencies over time. So if now the guice artifact has none and a new later version has some...the build will pick those up. The release notes can indicate that to go back to the previous no dependency behavior just modify the artifact name with the -nodep suffix. If builds already have your new dependencies yeah I can see there could be a version issue/problem if Guice is dependent on particular version(s) of that dependency. The release notes can indicate what's the acceptable version(s). I see your point...sure would be nice to make this change when your also making a change to a new artifactId and/or groupId (or more than a minor version change).
On Fri, Dec 13, 2013 at 10:31 AM, Christian Gruber <[email protected]>wrote: > I realize this - the only reason I'm suggesting we deviate is that the > standard artifact name, currently, is a nodep jar. I either want to have > "no surprises" or "build time surprises" if the former cannot be obtained. > Having runtime surprises because of missing artifacts, or version conflict > or the like seems worse. > > c. > > > On 13 Dec 2013, at 9:15, David Hoffer wrote: > > It seems the most common approach is having the standard artifact name >> (e.g. guice) specify in its pom the normal dependencies and then the one >> that includes them internally add -nodep suffix to that artifact name >> (e.g. >> guice-nodep). >> > > > Christian Gruber :: Google, Inc. :: Java Core Libraries :: Dependency > Injection > email: [email protected] :::: mobile: +1 (646) 807-9839 > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out.
