jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kiehl <christ...@sulu3000.de>
Subject Re: Using snapshot builds with maven guide
Date Wed, 18 Apr 2007 09:40:20 GMT
Christoph Kiehl wrote:

> <dependency>
>   <groupId>org.apache.jackrabbit</groupId>
>   <artifactId>jackrabbit-core</artifactId>
>   <version>1.3-SNAPSHOT</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.jackrabbit</groupId>
>   <artifactId>jackrabbit-api</artifactId>
>   <version>1.3-SNAPSHOT</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.jackrabbit</groupId>
>   <artifactId>jackrabbit-jcr-commons</artifactId>
>   <version>1.3-SNAPSHOT</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.jackrabbit</groupId>
>   <artifactId>jackrabbit-text-extractors</artifactId>
>   <version>1.3-SNAPSHOT</version>
> </dependency>

It works even better if you exclude these dependencies like this:

<dependency>
   <groupId>org.apache.jackrabbit</groupId>
   <artifactId>jackrabbit-core</artifactId>
   <version>1.3-SNAPSHOT</version>
   <exclusions>
     <exclusion>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-api</artifactId>
     </exclusion>
     <exclusion>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-jcr-commons</artifactId>
     </exclusion>
     <exclusion>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-text-extractors</artifactId>
     </exclusion>
   </exclusions>
</dependency>
<dependency>
   <groupId>org.apache.jackrabbit</groupId>
   <artifactId>jackrabbit-api</artifactId>
   <version>1.3-SNAPSHOT</version>
</dependency>
<dependency>
   <groupId>org.apache.jackrabbit</groupId>
   <artifactId>jackrabbit-jcr-commons</artifactId>
   <version>1.3-SNAPSHOT</version>
</dependency>
<dependency>
   <groupId>org.apache.jackrabbit</groupId>
   <artifactId>jackrabbit-text-extractors</artifactId>
   <version>1.3-SNAPSHOT</version>
</dependency>

This guides maven not trying to download poms for the non-existent 
artifact-versions.

Cheers,
Christoph


Mime
View raw message