[
https://issues.apache.org/jira/browse/LUCENE-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448059#comment-13448059
]
Uwe Schindler commented on LUCENE-4358:
---------------------------------------
{noformat}
validate-maven:
[artifact:dependencies] [INFO] snapshot
org.apache.lucene:lucene-core:5.0-SNAPSHOT: checking for updates from
sonatype.releases
[artifact:dependencies] Downloading:
org/apache/lucene/lucene-core/5.0-SNAPSHOT/lucene-core-5.0-SNAPSHOT.pom from
repository sonatyp
e.releases at http://oss.sonatype.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource
'org.apache.lucene:lucene-core:pom:5.0-SNAPSHOT' in repository sonatype.relea
ses (http://oss.sonatype.org/content/repositories/releases)
[artifact:dependencies] Downloading:
org/apache/lucene/lucene-core/5.0-SNAPSHOT/lucene-core-5.0-SNAPSHOT.jar from
repository sonatyp
e.releases at http://oss.sonatype.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource
'org.apache.lucene:lucene-core:jar:5.0-SNAPSHOT' in repository sonatype.relea
ses (http://oss.sonatype.org/content/repositories/releases)
[artifact:dependencies] An error has occurred while processing the Maven
artifact tasks.
[artifact:dependencies] Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Missing:
[artifact:dependencies] ----------
[artifact:dependencies] 1) org.apache.lucene:lucene-core:jar:5.0-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies] Try downloading the file manually from the project
website.
[artifact:dependencies]
[artifact:dependencies] Then, install it using the command:
[artifact:dependencies] mvn install:install-file
-DgroupId=org.apache.lucene -DartifactId=lucene-core -Dversion=5.0-SNAPSHOT -
Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies] Alternatively, if you host your own repository you
can deploy the file there:
[artifact:dependencies] mvn deploy:deploy-file
-DgroupId=org.apache.lucene -DartifactId=lucene-core -Dversion=5.0-SNAPSHOT -Dp
ackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1)
org.apache.lucene:lucene-test-framework:jar:5.0-SNAPSHOT
[artifact:dependencies] 2)
org.apache.lucene:lucene-core:jar:5.0-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies] ----------
[artifact:dependencies] 1 required artifact is missing.
[artifact:dependencies]
[artifact:dependencies] for artifact:
[artifact:dependencies]
org.apache.lucene:lucene-test-framework:jar:5.0-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies] apache.snapshots
(http://repository.apache.org/snapshots),
[artifact:dependencies] central (http://repo1.maven.org/maven2),
[artifact:dependencies] sonatype.releases
(http://oss.sonatype.org/content/repositories/releases)
[artifact:dependencies]
[artifact:dependencies]
[artifact:dependencies]
{noformat}
(this is from Robert's task)
> 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]