lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4476) maven deployment scripts dont work (except from the machine you made the RC from)
Date Mon, 22 Oct 2012 00:58:12 GMT

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

Robert Muir commented on LUCENE-4476:
-------------------------------------

Seems to work! I nuked .m2 completely before running.
It succeeded and I checked repository.apache.org. Thank you!!!!!

A few minor nits below:

Correct, there was no echoing of password on linux! Though, I'm still concerned here.
Does this also happen on windows if you sign artifacts with your GPG key?
For the 3.6 releases I added the following to sign-artifacts-macro:

{noformat}
<echo>WARNING: IF USING JAVA5 YOUR PASSPHRASE WILL BE ECHOED BACK!!!!!</echo>
<input message="Enter GPG keystore password: >" addproperty="gpg.passphrase">
{noformat}

We should do the same here if this is also the case on windows (IF USING WINDOWS...)
and also add this warning back to our current codebase for gpg signing too! This is really
not
a problem except when you dont expect it and people are looking over your shoulder,
then it can be a HUGE hassle.

one minor thing i ran into was that line 1381 redirects output so if it fails you dont know
why... this happens e.g. if the
directory is typoed or something.

{noformat}
-Dmaven.dist.dir=~/rc2/lucene

Buildfile: /home/rmuir/workspace/lucene-trunk/lucene/build.xml

clean:

stage-maven-artifacts:

BUILD FAILED
/home/rmuir/workspace/lucene-trunk/lucene/common-build.xml:1381: exec returned: 2

Total time: 0 seconds
{noformat}

I know its redirecting output, just didnt know if there was some simple way instead of
failOnError=true if we could instead fail on a property with the captured output?

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


Mime
View raw message