[
https://issues.apache.org/jira/browse/LUCENE-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448006#comment-13448006
]
Steven Rowe commented on LUCENE-4358:
-------------------------------------
bq. this makes (once we deploy to maven central) disabled the ability for users
to use snapshots.
Not true: users can just declare the snapshot repo in their own POMs (IMHO more
correct anyway).
However, the Apache POM, declared as parent of Lucene/Solr POM, declares the
Apache snapshot repository:
[http://repo1.maven.org/maven2/org/apache/apache/10/apache-10.pom]:
{code:xml}
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
{code}
As a result, the change I committed has likely only had one effect: updates
will now be {{daily}} (the default), rather than {{never}}, which is what I
removed.
So I agree that we should either revert (to get back the {{never}} snapshot
repo update setting, which is better than {{daily}}), or figure out how to
disable the Apache snapshot repo while still declaring the Apache POM as parent.
> 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]