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

Sean Owen commented on SPARK-22522:
-----------------------------------

I confess I'm not sure about this, but there may be two distinct repos in play. 
One is, or was, repo1.maven.org and similar, which are the standard Maven 
Central repos that every build tool would consult by default. I think 
repository.apache.org is different (?) given 
https://www.apache.org/dev/repository-faq.html#repodotapache This looks like 
the ASF-specific repo.

It's no problem to publish to both. I am however wondering whether 
repository.apache.org is visible by default to build tools. It doesn't seem so, 
from looking at the output of help:effective-pom on other projects that use 
Spark. If true, and if the artifacts were only at this latter repository, I 
think people would be unable to refer to Spark artifacts without adding a repo 
reference.

If that's true then I think we have to keep publishing to Maven Central (too). 
It's safer, at least, as that's where all the releases have been.

> Convert to apache-release to publish Maven artifacts to 
> Nexus/repository.apache.org
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-22522
>                 URL: https://issues.apache.org/jira/browse/SPARK-22522
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.3.0
>            Reporter: Felix Cheung
>            Priority: Minor
>
> see http://www.apache.org/dev/publishing-maven-artifacts.html
> ...at the very least we need to revisit all the calls to curl (and/or gpg) in 
> the release-build.sh for the publish-release path - seems like some errors 
> are ignored (running into that myself) and it would be very easy to miss 
> publishing one or more or all files.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to