compiling with maven asks for dependency private-pom:pom

Jakobus Schürz November 16, 2023

I'm writing an own authenticator. And since Confluence (Datacenter) 8.5.3 i'm getting a dependency-error in maven

 

Could not find artifact com.atlassian.pom:private-pom:pom:6.3.1 in internal-repository (https://nexus.<our.domain>/nexus/content/groups/public/)

Our nexus is only a mirrored proxy for https://packages.atlassian.com and i can not find private-pom there in no repo at all...

Compiling my authenticator against version 8.5.2 it works without problems.

And compiling against 8.6.1 works again. But we use LTS, so 8.6.1 is no option to ugrade.

What can i do?
What does this mean?

1 answer

0 votes
Iker Alonso
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 17, 2023

Hi Jakobus, 

From the error message you shared, it seems you may be hitting the issue described at CONFSERVER-93208: Failure to find struts2 in maven.atlassian.com/repository/public for update to Confluence 8.5.3 

Please, check the workaround provided as it might help you to move further. 

Cheers, 
Iker

Jakobus Schürz November 21, 2023

I've added

<dependency>
<groupId>com.atlassian.struts2</groupId>
<artifactId>struts-support</artifactId>
<version>1.2.0</version>
<scope>provided</scope>
</dependency>

to the pom.xml, as suggested in the linked issue, for my application, but i still get the error for the missing private-pom


"Failure to find com.atlassian.pom:private-pom:pom:6.3.1"

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events