[ 
https://issues.apache.org/jira/browse/LUCENE-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Rowe updated LUCENE-4476:
--------------------------------

    Attachment: LUCENE-4476.patch

Work in progress:

Credentials are prompted for by default; {{-Dm2.credentials.prompt=false}} will 
use {{settings.xml}} instead.  I was able to stage a fake 4.1.0-TEST 
distribution with no {{settings.xml}}.

The patch attempts to point {{<artifact:deploy>}} at the distribution directory 
via {{<localRepository>}}, but this seems to be ignored - it doesn't look there 
for POMs it needs.  The process stops when it can't find the {{lucene-parent}} 
POM.

I think the next thing to try is to explicitly point to all parent POMs via 
{{<artifact:pom>}}.
                
> maven deployment scripts dont work (except from the machine you made the RC 
> from)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4476
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4476
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4476.patch
>
>
> Currently the maven process described in 
> http://wiki.apache.org/lucene-java/PublishMavenArtifacts does not work (on 
> mac)
> It worked fine for the 4.0-alpha and 4.0-beta releases.
> NOTE: This appears to be working on linux so I am going with that. But this 
> seems strange it doesnt work on mac.
>  
> {noformat}
> artifact:install-provider] Installing provider: 
> org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-7:runtime
> [artifact:pom] Downloading: 
> org/apache/lucene/lucene-parent/4.0.0/lucene-parent-4.0.0.pom from repository 
> sonatype.releases at http://oss.sonatype.org/content/repositories/releases
> [artifact:pom] Unable to locate resource in repository
> [artifact:pom] [INFO] Unable to find resource 
> 'org.apache.lucene:lucene-parent:pom:4.0.0' in repository sonatype.releases 
> (http://oss.sonatype.org/content/repositories/releases)
> [artifact:pom] Downloading: 
> org/apache/lucene/lucene-parent/4.0.0/lucene-parent-4.0.0.pom from repository 
> central at http://repo1.maven.org/maven2
> [artifact:pom] Unable to locate resource in repository
> [artifact:pom] [INFO] Unable to find resource 
> 'org.apache.lucene:lucene-parent:pom:4.0.0' in repository central 
> (http://repo1.maven.org/maven2)
> [artifact:pom] An error has occurred while processing the Maven artifact 
> tasks.
> [artifact:pom]  Diagnosis:
> [artifact:pom] 
> [artifact:pom] Unable to initialize POM lucene-test-framework-4.0.0.pom: 
> Cannot find parent: org.apache.lucene:lucene-parent for project: 
> org.apache.lucene:lucene-test-framework:jar:null for project 
> org.apache.lucene:lucene-test-framework:jar:null
> [artifact:pom] Unable to download the artifact from any repository
> BUILD FAILED
> {noformat}

--
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to