Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug] - 503 trying to get dependencies when building jar #1504

Closed
aaronweissler opened this issue Jul 29, 2022 · 0 comments · Fixed by #1505
Closed

[Bug] - 503 trying to get dependencies when building jar #1504

aaronweissler opened this issue Jul 29, 2022 · 0 comments · Fixed by #1505
Assignees
Labels
bug Something isn't working

Comments

@aaronweissler
Copy link
Member

aaronweissler commented Jul 29, 2022

Describe the bug
When trying to build inspectIT Ocelot, getting the dependency jarCheck from the Maven repository with url "https://repository.novatec-gmbh.de/content/repositories/3rd_party_libs/" fails with a 503 status code.

To Reproduce
Steps to reproduce the behavior:

  1. Build inspectIT Ocelot using gradle task assemble
  2. See error

Workaround
Until properly fixed, you can comment out lines 43-45 buildTools( 'jarcheck:jarcheck:1.5' )
and line 210 jar.dependsOn checkDependencyJavaVersions in inspectit-ocelot-core/build.gradle, which disables the check using jarCheck, and lines 17-20 maven { name 'Nexus@NT' url "https://repository.novatec-gmbh.de/content/repositories/3rd_party_libs/" } in build.gradle to remove the repo.

@aaronweissler aaronweissler added the bug Something isn't working label Jul 29, 2022
@heiko-holz heiko-holz assigned heiko-holz and salim-1997 and unassigned heiko-holz Aug 1, 2022
salim-1997 added a commit to salim-1997/inspectit-ocelot that referenced this issue Aug 9, 2022
…uilding jar

remove jarCheck plugin

add target compatibility
salim-1997 added a commit to salim-1997/inspectit-ocelot that referenced this issue Aug 25, 2022
…uilding jar

implement JarCheck locally

add javaToolChain to set language version

delete target compatibility

remove jarCheck plugin

add target compatibility

Closes inspectIT#1504 - [Bug] - 503 trying to get dependencies when building jar
heiko-holz pushed a commit that referenced this issue Aug 30, 2022
…ar (#1505)

* Closes #1504 - [Bug] - 503 trying to get dependencies when building jar

* remove JarCheck plugin
* implement JarCheck locally with Java class
* add gradle task to compile JarCheck 
* add `targetCompatibility` to respective `build.gradle` files

Co-authored-by: Heiko Holz <heiko.holz@novatec-gmbh.de>
aaronweissler pushed a commit that referenced this issue Sep 5, 2022
…ar (#1505)

* Closes #1504 - [Bug] - 503 trying to get dependencies when building jar

* remove JarCheck plugin
* implement JarCheck locally with Java class
* add gradle task to compile JarCheck 
* add `targetCompatibility` to respective `build.gradle` files

Co-authored-by: Heiko Holz <heiko.holz@novatec-gmbh.de>
ClaudioWaldvogel pushed a commit to ClaudioWaldvogel/inspectit-ocelot that referenced this issue Sep 5, 2022
…uilding jar (inspectIT#1505)

* Closes inspectIT#1504 - [Bug] - 503 trying to get dependencies when building jar

* remove JarCheck plugin
* implement JarCheck locally with Java class
* add gradle task to compile JarCheck
* add `targetCompatibility` to respective `build.gradle` files

Co-authored-by: Heiko Holz <heiko.holz@novatec-gmbh.de>
ClaudioWaldvogel pushed a commit to ClaudioWaldvogel/inspectit-ocelot that referenced this issue Sep 5, 2022
…uilding jar (inspectIT#1505)

* Closes inspectIT#1504 - [Bug] - 503 trying to get dependencies when building jar

* remove JarCheck plugin
* implement JarCheck locally with Java class
* add gradle task to compile JarCheck 
* add `targetCompatibility` to respective `build.gradle` files

Co-authored-by: Heiko Holz <heiko.holz@novatec-gmbh.de>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants