Skip to content

Could not find artifact when building java application using s2i with maven multimodule from GIT Submodules #1936

Closed Answered by glennodickson
glennodickson asked this question in Q&A
Discussion options

You must be logged in to vote

Hi
I have it working now but not entirely sure how. I was initially was building with ubi8/openjdk-11 image and later I realised my mistake and changed to ubi9/openjdk-21 since my code was using Java21

I believe deleting the image may had something to do with it as after sometime it all started working. The only difference also is that the "also-make" is different but should have the same effect.

      env:
        - name: MAVEN_ARGS_APPEND
          value: '-pl inventory/api --also-make'

Anyway hope this helps someone.

Thanks

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by glennodickson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant