On 7 October 2010 05:41, Andrei Pozolotin <[email protected]>wrote:

> Hello;
>
> I could not find one, so I self-published:
>
> https://oss.sonatype.org/content/repositories/snapshots/
>
> https://oss.sonatype.org/content/repositories/snapshots/net/guts/guts-guice/
>
> https://oss.sonatype.org/content/repositories/snapshots/net/guts/guts-guice-assistedinject/
>
> https://oss.sonatype.org/content/repositories/snapshots/net/guts/guts-guice-multibindings/
>
> this is how you replace 2.0 with 3.0 in your code:
>
>                <!-- BEG: replace guice version -->
>
>                <dependency>
>                        <groupId>net.guts</groupId>
>                        <artifactId>guts-gui</artifactId>
>                        <version>0.1.0-SNAPSHOT</version>
>                        <exclusions>
>                                <exclusion>
>                                        <groupId>com.google.inject</groupId>
>                                        <artifactId>guice</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>com.google.inject.extensions</groupId>
>
>  <artifactId>guice-multibindings</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>com.google.inject.extensions</groupId>
>
>  <artifactId>guice-assisted-inject</artifactId>
>                                </exclusion>
>                        </exclusions>
>                </dependency>
>
>                <dependency>
>                        <groupId>net.guts</groupId>
>                        <artifactId>guts-events</artifactId>
>                        <version>0.1.0-SNAPSHOT</version>
>                        <exclusions>
>                                <exclusion>
>                                        <groupId>com.google.inject</groupId>
>                                        <artifactId>guice</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>com.google.inject.extensions</groupId>
>
>  <artifactId>guice-multibindings</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>com.google.inject.extensions</groupId>
>
>  <artifactId>guice-assisted-inject</artifactId>
>                                </exclusion>
>                        </exclusions>
>                </dependency>
>
>                <dependency>
>                        <groupId>net.guts</groupId>
>                        <artifactId>guts-common</artifactId>
>                        <version>0.1.0-SNAPSHOT</version>
>                        <exclusions>
>                                <exclusion>
>                                        <groupId>com.google.inject</groupId>
>                                        <artifactId>guice</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>com.google.inject.extensions</groupId>
>
>  <artifactId>guice-multibindings</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>com.google.inject.extensions</groupId>
>
>  <artifactId>guice-assisted-inject</artifactId>
>                                </exclusion>
>                        </exclusions>
>                </dependency>
>
>                <dependency>
>                        <groupId>javax.inject</groupId>
>                        <artifactId>javax.inject</artifactId>
>                        <version>1</version>
>                </dependency>
>
>                <dependency>
>                        <groupId>net.guts</groupId>
>                        <artifactId>guts-guice</artifactId>
>                        <version>3.0.0-SNAPSHOT</version>
>                </dependency>
>
>                <dependency>
>                        <groupId>net.guts</groupId>
>                        <artifactId>guts-guice-multibindings</artifactId>
>                        <version>3.0.0-SNAPSHOT</version>
>                </dependency>
>
>                <dependency>
>                        <groupId>net.guts</groupId>
>                        <artifactId>guts-guice-assistedinject</artifactId>
>                        <version>3.0.0-SNAPSHOT</version>
>                </dependency>
>
>                <!-- END: replace guice -->
>
> I wonder if google really needs help on how to use maven + hudson
> to publish their own maven snapshots on a regular basis? :-)
>

if you looked a little bit further you might have found the sisu-guice
build:

   http://github.com/sonatype/sisu-guice

https://repository.sonatype.org/content/groups/forge/org/sonatype/sisu/inject/
   https://grid.sonatype.org/ci/job/sisu-guice/

which is a mavenized build of guice plus all extensions that publishes via
hudson - right now we're in the process of getting these poms reviewed and
into the official guice build

PS. your guice poms don't seem to contain any dependencies, which isn't
right because the extensions should all depend on guice, and guice should
depend on the javax.inject and aopalliance artifacts


> Cheers,
>
> Andrei
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-guice%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-guice?hl=en.
>

-- 
Cheers, Stuart

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to