You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (Created) (JIRA)" <ji...@apache.org> on 2012/04/06 16:59:23 UTC
[jira] [Created] (LUCENE-3964) Stage Maven release artifacts
Stage Maven release artifacts
-----------------------------
Key: LUCENE-3964
URL: https://issues.apache.org/jira/browse/LUCENE-3964
Project: Lucene - Java
Issue Type: New Feature
Components: general/build
Affects Versions: 3.6, 4.0
Reporter: Steven Rowe
Assignee: Steven Rowe
Priority: Critical
Fix For: 3.6, 4.0
We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Commented] (LUCENE-3964) Stage Maven release artifacts
Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248444#comment-13248444 ]
Robert Muir commented on LUCENE-3964:
-------------------------------------
OK cool, my questions are mostly about process (not technicals).
As far as adding scripts to deploy to maven, I'm happy with whatever you figure out.
I was planning on bailing on this part and leaving it to more capable hands anyway... :)
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3964.patch
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Updated] (LUCENE-3964) Stage Maven release artifacts
Posted by "Steven Rowe (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe updated LUCENE-3964:
--------------------------------
Attachment: LUCENE-3964.patch
Trunk patch for a new target {{stage-maven-artifacts}} in {{lucene/common_build.xml}}, which:
# calls a Perl script in {{dev-tools/scripts/}} to recurse over the Maven dist directory (specified via property {{maven.dist.dir}}, which has default values under {{lucene/}} and {{solr/}}) to find Maven artifacts, and then write an Ant build file (by default {{./build/stage_maven_build.xml}}); and
# invokes the {{stage-maven}} target in the Ant build file produced by the Perl script to stage each artifact, along with its POM, sources and javadoc jars, and signatures for each, to the staging repository specified in properties {{m2.repository.id}} and {{m2.repository.url}}.
Also included in the patch: a shell script to crawl Maven release distribution artifacts using {{wget}}: {{dev-tools/scripts/crawl.maven.release.dist.sh}}
I have successfully run this target on the Lucene artifacts in Robert's RC0 release candidate, and then "closed" [the resulting staging repository|https://repository.apache.org/content/repositories/orgapachelucene-014/] ("closing" disallows further uploads to the staging repository, and also does some quality checks, e.g. valid POMs, valid signatures) using this cmdline:
{noformat}ant clean stage-maven-artifacts -Dmaven.dist.dir=~/temp/lucene -Dm2.repository.id=apache.releases.https -Dm2.repository.url=https://repository.apache.org/service/local/staging/deploy/maven2{noformat}
The process took a little less than ten minutes.
Although this patch is against trunk, it will work on any version's release, so I think it won't be necessary to commit it to branch_3x.
Left to do: test against the RC0 Solr artifacts.
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3964.patch
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Commented] (LUCENE-3964) Stage Maven release artifacts
Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248432#comment-13248432 ]
Robert Muir commented on LUCENE-3964:
-------------------------------------
But again: this is for deployment correct?
I don't want to change our release process for 3.6
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3964.patch
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Commented] (LUCENE-3964) Stage Maven release artifacts
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248434#comment-13248434 ]
Steven Rowe commented on LUCENE-3964:
-------------------------------------
bq. Confused about the component: build.
Feel free to change it to a more appropriate component (not sure what that would be).
bq. I certainily hope the build need not be changed to do this (certainly not for 3.6)
No, it does not. As I mentioned in my previous post on this issue, the patch is against trunk, and it works against your 3.6.0 RC0 (Lucene only at this point; Solr still needs to be tested.)
bq. I think we should generate an RC like we do now, putting it on p.a.o, vote on it, and this is merely a deployment issue.
+1
bq. If there are any scripts involved in this, i think they should go in dev-tools instead, (like other release deployment scripts)?
Yup, that's what I've done.
This is a work in progress - please review if you're interested!
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3964.patch
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Commented] (LUCENE-3964) Stage Maven release artifacts
Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248408#comment-13248408 ]
Robert Muir commented on LUCENE-3964:
-------------------------------------
Confused about the component: build.
I certainily hope the build need not be changed to do this (certainly not for 3.6)
I think we should generate an RC like we do now, putting it on p.a.o, vote on it,
and this is merely a deployment issue.
If there are any scripts involved in this, i think they should go in dev-tools instead,
(like other release deployment scripts)?
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 3.6, 4.0
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Commented] (LUCENE-3964) Stage Maven release artifacts
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248438#comment-13248438 ]
Steven Rowe commented on LUCENE-3964:
-------------------------------------
bq. But again: this is for deployment correct?
Yes.
bq. I don't want to change our release process for 3.6
+1
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3964.patch
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Resolved] (LUCENE-3964) Stage Maven release artifacts
Posted by "Steven Rowe (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe resolved LUCENE-3964.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.6)
Committed to trunk.
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 4.0
>
> Attachments: LUCENE-3964.patch, LUCENE-3964.patch
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Updated] (LUCENE-3964) Stage Maven release artifacts
Posted by "Steven Rowe (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe updated LUCENE-3964:
--------------------------------
Attachment: LUCENE-3964.patch
Patch fixing a bug in the naming of the Solr war's POM.
After fixing the POM name problem, I successfully staged Solr 3.6.0 RC0 here: [https://repository.apache.org/content/repositories/orgapachelucene-016/].
I think it's ready to commit, but I'll wait until tomorrow to do so.
> Stage Maven release artifacts
> -----------------------------
>
> Key: LUCENE-3964
> URL: https://issues.apache.org/jira/browse/LUCENE-3964
> Project: Lucene - Java
> Issue Type: New Feature
> Components: general/build
> Affects Versions: 3.6, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Critical
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3964.patch, LUCENE-3964.patch
>
>
> We need a way to stage Maven artifacts to the Apache release repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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