[
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
{quote}
I think the next thing to try is to explicitly point to all parent POMs via
{{<artifact:pom>}}.
{quote}
This patch takes the parent POMs {{<artifact:pom>}} approach, and works for me.
I think this is ready to go. Robert, can you give it a try?
FYI, the secure input handler on Win7+Cygwin echos the password to the console
instead of hiding it - apparently this is a known issue. Robert, if you give
it a try on a non-Windows OS, can you confirm that the password is not echoed?
{quote}
So if you nest the artifact:pom with the exact location, the deploy target
doesnt use localRepository?
Or does maybe it need both?
{quote}
AFAICT, the deploy target ignores localRepository entirely - my guess is that,
regardless of maven-ant-tasks documentation, only the install target actually
respects a specified localRepository.
> 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, 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: [email protected]
For additional commands, e-mail: [email protected]