[ http://jira.codehaus.org/browse/MNG-2631?page=comments#action_78508 ] 
            
Carlos Sanchez commented on MNG-2631:
-------------------------------------

You haven't set releases to false in the snapshot repo so for maven it's also a 
releases repo

> M2 searches artefacts in wrong repo when using ranges
> -----------------------------------------------------
>
>                 Key: MNG-2631
>                 URL: http://jira.codehaus.org/browse/MNG-2631
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>         Environment: Two repos, one internal for releases and one internal 
> for snapshots (snapshotRepository) specified in <distributionmanagement>
>            Reporter: Sebastian Krebs
>
> <dependency>
>             ...
> <version>[0.8,)</version>
>             ...
> </dependency>
> I get following error while compile this second project:
> Downloading: 
> http://{myServer}/internal/{groupId}/{artifactId}/1.0/{artefactId}-1.0.pom
> Downloading: 
> http://{myServer}/snapshot/{groupId}/{artifactId}/1.0/{artefactId}-1.0.jar
> It looks like Maven searches the pom on my internal repo and the belonging  
> artefact on the snapshotRepo.
> As I have understood, reading BetterBuildsWithMaven site 215, Maven should 
> find my artefact in my "normal" repo.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to