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

[BUG] nexusIqScan failing due to SAXNotRecognizedException after upgrade to gradle 8.4 #143

Open
ibevilinc opened this issue Oct 13, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ibevilinc
Copy link

Describe the bug
nexusIqScan task is running into an XML exception that started to occur after upgrading from gradle 8.3 to 8.4

To Reproduce
Steps to reproduce the behavior:

  1. Run nexusIqScan
  2. See attached error log
    nexusIqScanException.log

Expected behavior
Except to be able to run nexusIqScan successfully regardless of gradle version

Desktop (please complete the following information):

  • OS: Linux
  • Gradle Version: 8.4
  • JVM Version and Flavor: Temurin17
  • Nexus IQ Server Version: [??]
  • Version [e.g. 2.6.1]
@ibevilinc ibevilinc added the bug Something isn't working label Oct 13, 2023
@ibevilinc
Copy link
Author

Probably related to this note that I've missed from the gradle release notes:
https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#xml_parsing_now_requires_recent_parsers

@shaikhu
Copy link
Contributor

shaikhu commented Oct 26, 2023

@guillermo-varela The integrations tests go up to version 7.4. Is gradle 8 supported?

@guillermo-varela
Copy link
Contributor

The integrations tests go up to version 7.4. Is gradle 8 supported?

The plugin seems to work with gradle 8, but when testing an Android project I get an error related to Java 11 and particularly the Android Gradle Plugin (AGP) seems to require Java 17:
https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes?hl=en#jdk-17-agp

So right now we'd need extra setup to run those tests using a different JDK, although we do have #146 where we could bump up among other stuff, the Java version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants