processing-core-4 icon indicating copy to clipboard operation
processing-core-4 copied to clipboard

Missing Required JogAmp Repo

Open BenjaminHolland opened this issue 1 year ago • 6 comments

Current build requires org.jogamp.gluegen:gluegen-rt-main:2.5.0-rc-20230523, which (apparently) isn't available from maven central. Adding the jogamp maven fixes it, (kinda).

 maven {
  url=uri("https://jogamp.org/deployment/maven/")
  }

BenjaminHolland avatar Jun 14 '24 00:06 BenjaminHolland

Is this addressable upstream?

BenjaminHolland avatar Jun 14 '24 00:06 BenjaminHolland

 Could not find org.jogamp.gluegen:gluegen-rt-main:2.5.0-rc-20230523.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/jogamp/gluegen/gluegen-rt-main/2.5.0-rc-20230523/gluegen-rt-main-2.5.0-rc-20230523.pom
       - https://jitpack.io/org/jogamp/gluegen/gluegen-rt-main/2.5.0-rc-20230523/gluegen-rt-main-2.5.0-rc-20230523.pom
     Required by:
         project : > com.github.micycle1:processing-core-4:4.3

BenjaminHolland avatar Jun 14 '24 00:06 BenjaminHolland

The repo's pom (Maven) already includes the jogamp repository:

<repositories>
	<repository>
		<name>jogamp</name>
		<id>jogamp</id>
		<url>https://jogamp.org/deployment/maven/</url>
	</repository>
</repositories>

Are you using Gradle? I wonder if Jitpack doesn't handle the Maven repository definitions when used as a Gradle artefact.

micycle1 avatar Jun 14 '24 14:06 micycle1

Actually, the 4.3 artefact had jogl at 2.5.0-rc-20230523 as you stated; 2.5.0 was in main branch only.

I've re-released 4.3 as 4.3.1. The build now includes JOGL at v2.5.

However, it should have still worked for you, as 2.5.0-rc-20230523 exists here:https://jogamp.org/deployment/maven/org/jogamp/jogl/jogl-all-main/2.5.0-rc-20230523/. I still think there's a problem with Gradle (see https://github.com/micycle1/processing-core-4/issues/9 also).

micycle1 avatar Jun 14 '24 14:06 micycle1

The repo's pom (Maven) already includes the jogamp repository:

<repositories>
	<repository>
		<name>jogamp</name>
		<id>jogamp</id>
		<url>https://jogamp.org/deployment/maven/</url>
	</repository>
</repositories>

Are you using Gradle? I wonder if Jitpack doesn't handle the Maven repository definitions when used as a Gradle artefact.

Yes, using gradle. There are some other issues with this as well, including the underlying dependencies for jogl not being resolved. Might make a PR with gradle instructions once I get it to work.

BenjaminHolland avatar Jun 14 '24 17:06 BenjaminHolland

I also ran into this today - the fix was adding the additional repo source @BenjaminHolland suggested in the original post. Found in version 4.3.3, the latest at the time of this post.

octobeard avatar Nov 19 '24 20:11 octobeard