On 8 October 2010 03:28, Andrei Pozolotin <[email protected]>wrote:

> lottle how-to use Stuart repo:
>

PS. the previous stable version is available from Maven central:

   http://repo2.maven.org/maven2/org/sonatype/sisu/sisu-guice/2.1.7/

this is the version used in Maven 3.0 (which btw just got released!)


> 1) add repo declaration in you pom like this:
>
>                        <repositories>
>                                <repository>
>                                        <id>Stuart-McCulloch</id>
>                                        <url>
> https://repository.sonatype.org/content/groups/forge/</url>
>                                        <releases>
>                                                <enabled>true</enabled>
>
>  <updatePolicy>always</updatePolicy>
>
>  <checksumPolicy>warn</checksumPolicy>
>                                        </releases>
>                                        <snapshots>
>                                                <enabled>true</enabled>
>
>  <updatePolicy>always</updatePolicy>
>
>  <checksumPolicy>warn</checksumPolicy>
>                                        </snapshots>
>                                </repository>
>                        </repositories>
>
> 2) add dependencies for alternative guice artifacts:
>
>                        <dependencies>
>                                <dependency>
>                                        <groupId>org.sonatype.sisu</groupId>
>                                        <artifactId>sisu-guice</artifactId>
>
>  <version>${guiceSnapshotVersion}</version>
>                                </dependency>
>                                <dependency>
>
>  <groupId>org.sonatype.sisu.inject</groupId>
>
>  <artifactId>guice-assistedinject</artifactId>
>
>  <version>${guiceSnapshotVersion}</version>
>                                </dependency>
>                                <dependency>
>
>  <groupId>org.sonatype.sisu.inject</groupId>
>
>  <artifactId>guice-multibindings</artifactId>
>
>  <version>${guiceSnapshotVersion}</version>
>                                </dependency>
>                        </dependencies>
>
> 3) choose which version to use:
>
>        <properties>
>
>                <guiceSnapshotVersion>2.1.8-SNAPSHOT</guiceSnapshotVersion>
>
>        </properties>
>
> --
> 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