[ 
https://issues.apache.org/jira/browse/LUCENE-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448049#comment-13448049
 ] 

Uwe Schindler commented on LUCENE-4358:
---------------------------------------

I changed the following in Robert's patch of common-build.xml:

{code:xml}
      <artifact:dependencies filesetId="maven.fileset" useScope="test" 
type="jar">
        <artifact:pom file="@{pom.xml}"/>
        <remoteRepository id="apache.snapshots" 
url="http://repository.apache.org/snapshots";>
          <snapshots enabled="false" updatePolicy="never"/>
          <releases enabled="false"/>
        </remoteRepository>
      </artifact:dependencies>
{code}

Now it does not download anymore, but it complains now while resolving 
dependecies, that the artifact with -SNAPSHOT is not found, although it should 
be in local reposoitory (of course I nuked ~/.m2 before testing).
                
> Maven build should never download internal dependencies' artifacts from 
> Apache snapshot repository
> --------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4358
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4358
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>    Affects Versions: 5.0, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>            Priority: Minor
>             Fix For: 5.0, 4.0
>
>         Attachments: LUCENE-4358.patch
>
>
> The Apache snapshot repo should be removed from the POMs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to