Hey π
I'm currently working on https://github.com/catppuccin/java which has recently been refactored to be a multi-module maven project, details are as follows:
catppuccin-java: parent pom/module (v2.0.0)catppuccin-palette: child module (v2.0.0)catppuccin-processing: child module (v.1.0.0)
Building and packaging this results in a success, as shown below:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] catppuccin-java 2.0.0 .............................. SUCCESS [ 0.720 s]
[INFO] catppuccin-processing 1.0.0 ........................ SUCCESS [ 1.952 s]
[INFO] catppuccin-palette 2.0.0 ........................... SUCCESS [ 1.814 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.956 s
[INFO] Finished at: 2024-05-18T14:42:00+01:00
[INFO] ------------------------------------------------------------------------
Before publishing to maven central, I wanted to make sure that it could be imported into another project, so I ran ./mvnw clean install -U and it resulted in a success, the following files are now present in my local .m2 repository:
β repository/com/catppuccin σ±Ύ default/vikunja
β $ tree -L 3
.
βββ catppuccin-java
βΒ Β βββ 2.0.0
βΒ Β βΒ Β βββ catppuccin-java-2.0.0.pom
βΒ Β βΒ Β βββ catppuccin-java-2.0.0.pom.asc
βΒ Β βΒ Β βββ _remote.repositories
βΒ Β βββ maven-metadata-local.xml
βββ catppuccin-palette
βΒ Β βββ 2.0.0
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0.jar
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0.jar.asc
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0-javadoc.jar
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0-javadoc.jar.asc
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0.pom
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0.pom.asc
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0-sources.jar
βΒ Β βΒ Β βββ catppuccin-palette-2.0.0-sources.jar.asc
βΒ Β βΒ Β βββ _remote.repositories
βΒ Β βββ maven-metadata-local.xml
βββ catppuccin-processing
βββ 1.0.0
βΒ Β βββ catppuccin-processing-1.0.0.jar
βΒ Β βββ catppuccin-processing-1.0.0.jar.asc
βΒ Β βββ catppuccin-processing-1.0.0-javadoc.jar
βΒ Β βββ catppuccin-processing-1.0.0-javadoc.jar.asc
βΒ Β βββ catppuccin-processing-1.0.0.pom
βΒ Β βββ catppuccin-processing-1.0.0.pom.asc
βΒ Β βββ catppuccin-processing-1.0.0-sources.jar
βΒ Β βββ catppuccin-processing-1.0.0-sources.jar.asc
βΒ Β βββ _remote.repositories
βββ maven-metadata-local.xml
6 directories, 24 files
So I booted up an older codebase and put this into my pom.xml:
<dependency>
<groupId>com.catppuccin</groupId>
<artifactId>catppuccin-java</artifactId>
<version>2.0.0</version>
</dependency>
Unfortunately, I keep getting the following error:
Could not find artifact com.catppuccin:catppuccin-java:jar:2.0.0 in central (https://repo.maven.apache.org/maven2)
I've made sure that the files exist, I've tried to inject the child modules, I've reindexed the local repository in Intellij, etc. I'm honestly at my wits end. Can anyone help me understand how to import the dependency from my local .m2 repository without going to Maven Central? I'd really appreciate it!