Skip to content
Advertisement

Github Java Maven Actions continuous integration POM is referencing itself

I’m having this problem with Github Actions (continues integration) where the project i made in maven doesn’t succeed because the POM is referencing itself. However i have no idea how to fix this.

I have 4 modules in my project.

Pac – Parent, uses client,server,shared,UI

Client – uses shared

Server – uses client, shared

Shared – uses nothing

UI – uses client, shared

Github Actions after pushing:

JavaScript

Pac POM:

JavaScript

Client POM:

JavaScript

Server POM:

JavaScript

Shared POM:

JavaScript

UI POM:

JavaScript

Advertisement

Answer

Don’t add modules as dependencies in the parent project.

Just add them as modules.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement