-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CELEBORN-1677][BUILD] Update SCM information for SBT build configuration #2858
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pan3793
approved these changes
Oct 29, 2024
Thanks, merging to main(v0.6.0)/branch-0.5(v0.5.3)/branch-0.4(v0.4.3). |
cfmcgrady
added a commit
that referenced
this pull request
Oct 29, 2024
…tion ### What changes were proposed in this pull request? As title ### Why are the changes needed? This PR addresses a conflict in the sbt generated POM by replacing `pomExtra` with `scmInfo` ```diff <name>org.apache.celeborn</name> </organization> <scm> - <url>https://github.com/cfmcgrady/incubator-celeborn</url> - <connection>scm:git:https://github.com/cfmcgrady/incubator-celeborn.git</connection> - <developerConnection>scm:git:gitgithub.com:cfmcgrady/incubator-celeborn.git</developerConnection> - </scm> - <url>https://celeborn.apache.org/</url> - <scm> - <url>gitgithub.com:apache/celeborn.git</url> - <connection>scm:git:gitgithub.com:apache/celeborn.git</connection> + <url>https://celeborn.apache.org/</url> + <connection>scm:git:https://github.com/apache/celeborn.git</connection> + <developerConnection>scm:git:gitgithub.com:apache/celeborn.git</developerConnection> </scm> ``` The conflicting POM might block publishing to a private Maven repository. ``` [error] Caused by: java.io.IOException: Server returned HTTP response code: 409 for URL: https://artifactory.devops.xxx.com/artifactory/maven-snapshots/org/apache/celeborn/celeborn-client-spark-3-shaded_2.12/0.6.0-SNAPSHOT/celeborn-client-spark-3-shaded_2.12-0.6.0-SNAPSHOT.pom [error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2000) [error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) [error] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) [error] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) [error] at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:284) [error] at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82) [error] at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150) [error] at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84) [error] at sbt.internal.librarymanagement.ConvertResolver$LocalIfFileRepo.put(ConvertResolver.scala:407) [error] at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130) [error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put(ConvertResolver.scala:124) [error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put$(ConvertResolver.scala:111) [error] at sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$lzycompute$1$PluginCapableResolver$1.put(ConvertResolver.scala:170) [error] at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216) [error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$5(IvyActions.scala:501) ``` ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? local Closes #2858 from cfmcgrady/sbt-scm. Authored-by: Fu Chen <[email protected]> Signed-off-by: Fu Chen <[email protected]> (cherry picked from commit 39c185a) Signed-off-by: Fu Chen <[email protected]>
cfmcgrady
added a commit
that referenced
this pull request
Oct 29, 2024
…tion ### What changes were proposed in this pull request? As title ### Why are the changes needed? This PR addresses a conflict in the sbt generated POM by replacing `pomExtra` with `scmInfo` ```diff <name>org.apache.celeborn</name> </organization> <scm> - <url>https://github.com/cfmcgrady/incubator-celeborn</url> - <connection>scm:git:https://github.com/cfmcgrady/incubator-celeborn.git</connection> - <developerConnection>scm:git:gitgithub.com:cfmcgrady/incubator-celeborn.git</developerConnection> - </scm> - <url>https://celeborn.apache.org/</url> - <scm> - <url>gitgithub.com:apache/celeborn.git</url> - <connection>scm:git:gitgithub.com:apache/celeborn.git</connection> + <url>https://celeborn.apache.org/</url> + <connection>scm:git:https://github.com/apache/celeborn.git</connection> + <developerConnection>scm:git:gitgithub.com:apache/celeborn.git</developerConnection> </scm> ``` The conflicting POM might block publishing to a private Maven repository. ``` [error] Caused by: java.io.IOException: Server returned HTTP response code: 409 for URL: https://artifactory.devops.xxx.com/artifactory/maven-snapshots/org/apache/celeborn/celeborn-client-spark-3-shaded_2.12/0.6.0-SNAPSHOT/celeborn-client-spark-3-shaded_2.12-0.6.0-SNAPSHOT.pom [error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2000) [error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) [error] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) [error] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) [error] at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:284) [error] at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82) [error] at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150) [error] at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84) [error] at sbt.internal.librarymanagement.ConvertResolver$LocalIfFileRepo.put(ConvertResolver.scala:407) [error] at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130) [error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put(ConvertResolver.scala:124) [error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put$(ConvertResolver.scala:111) [error] at sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$lzycompute$1$PluginCapableResolver$1.put(ConvertResolver.scala:170) [error] at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216) [error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$5(IvyActions.scala:501) ``` ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? local Closes #2858 from cfmcgrady/sbt-scm. Authored-by: Fu Chen <[email protected]> Signed-off-by: Fu Chen <[email protected]> (cherry picked from commit 39c185a) Signed-off-by: Fu Chen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
As title
Why are the changes needed?
This PR addresses a conflict in the sbt generated POM by replacing
pomExtra
withscmInfo
The conflicting POM might block publishing to a private Maven repository.
Does this PR introduce any user-facing change?
No
How was this patch tested?
local