Skip to content
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

Sources and javadocs missing in latest snapshots #10602

Closed
mbhave opened this issue Dec 10, 2021 · 3 comments
Closed

Sources and javadocs missing in latest snapshots #10602

mbhave opened this issue Dec 10, 2021 · 3 comments
Assignees
Labels
in: build An issue in the build status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@mbhave
Copy link
Contributor

mbhave commented Dec 10, 2021

The latest published snapshots do not have the sources or javadoc jar present. This appears to be the case for 6.0.0-SNAPSHOT, 5.6.1-SNAPSHOT and 5.7.0-SNAPSHOT.

@mbhave mbhave added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Dec 10, 2021
@jzheaux jzheaux self-assigned this Dec 13, 2021
@jzheaux jzheaux added in: build An issue in the build and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 13, 2021
@rwinch
Copy link
Member

rwinch commented Jan 10, 2022

This appears to be an issue with Artifactory and we are working with them on resolving it.

@rwinch rwinch self-assigned this Jan 10, 2022
@rwinch
Copy link
Member

rwinch commented Jan 10, 2022

In the meantime a workaround is to publish to a local repository location by running the following command:

./gradlew publishMavenJavaPublicationToLocalRepository

A maven repository will be published locally at build/publications/repos/ and contains accurate binary, source, and javadoc.
NOTE: You'd need to use JDK 16 for Security 6 (on main) and JDK 11 (this is to support optional OpenSaml4 support which is JDK 11) for Security 5.7 and 5.6

You can then point your build to a Maven repository with a file URL. Something like file:///home/rwinch/code/spring-projects/spring-security/build/publications/repos/

@rwinch rwinch unassigned rwinch and jzheaux Jun 3, 2022
@rwinch rwinch added this to the 5.8.x milestone Jun 3, 2022
@trevormarshall
Copy link
Member

jfrog/build-info#625

@rwinch rwinch added the status: blocked An issue that's blocked on an external project change label Jun 8, 2022
@rwinch rwinch removed this from the 5.8.x milestone Jun 13, 2022
rwinch added a commit that referenced this issue Jul 26, 2022
rwinch added a commit that referenced this issue Jul 26, 2022
@rwinch rwinch closed this as completed in 9fbe6b7 Jul 26, 2022
@rwinch rwinch removed the status: blocked An issue that's blocked on an external project change label Jul 26, 2022
@rwinch rwinch self-assigned this Jul 26, 2022
@rwinch rwinch added this to the 6.0.0-M7 milestone Jul 26, 2022
rwinch added a commit that referenced this issue Jul 26, 2022
This commit merges a workaround to an issue in JFrog's Gradle plugin
which causes SNAPSHOT javadoc and sources to become out of sync and thus
prevents users from being able to download either.

Closes gh-10602
rwinch added a commit that referenced this issue Jul 26, 2022
This commit merges a workaround to an issue in JFrog's Gradle plugin
which causes SNAPSHOT javadoc and sources to become out of sync and thus
prevents users from being able to download either.

Closes gh-10602
@github-actions github-actions bot added the status: backported An issue that has been backported to maintenance branches label Jul 26, 2022
rwinch added a commit that referenced this issue Jul 26, 2022
This commit merges a workaround to an issue in JFrog's Gradle plugin
which causes SNAPSHOT javadoc and sources to become out of sync and thus
prevents users from being able to download either.

Closes gh-10602
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: build An issue in the build status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

4 participants