Not Able to resole dependecies

Marko Turic October 29, 2024

 

Unknown packaging: atlassian-plugin Unresolved plugin: 'com.atlassian.maven.plugins:maven-amps-plugin:8.4.3' Unresolved plugin: 'com.atlassian.maven.plugins:maven-amps-plugin:3.8.8' Unresolved plugin: 'org.apache.maven.plugins:maven-clean-plugin:2.5' Unresolved plugin: 'org.apache.maven.plugins:maven-resources-plugin:2.6' Unresolved plugin: 'org.apache.maven.plugins:maven-jar-plugin:2.4' Unresolved plugin: 'org.apache.maven.plugins:maven-compiler-plugin:3.1' Unresolved plugin: 'org.apache.maven.plugins:maven-surefire-plugin:2.12.4' Unresolved plugin: 'org.apache.maven.plugins:maven-install-plugin:2.4' Unresolved plugin: 'org.apache.maven.plugins:maven-deploy-plugin:2.7' Unresolved plugin: 'org.apache.maven.plugins:maven-site-plugin:3.3' Unresolved plugin: 'com.atlassian.maven.plugins:maven-amps-plugin:8.5.0'

geting error with confluence PlugIn 

Mein pom.xml: 



<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>com.philipp</groupId>
<artifactId>confluence-voting-plugin</artifactId>
<version>1.0.0</version>
<organization>
<name>Example Company</name>
<url>http://www.example.com/</url>
</organization>

<name>confluence-voting-plugin</name>
<description>This is the com.philipp:confluence-voting-plugin plugin for Atlassian Confluence.</description>
<packaging>atlassian-plugin</packaging>

<repositories>
<repository>
<id>atlassian-public-api</id>
<url>https://docs.atlassian.com/atlassian-confluence/6.6.0/allclasses-noframe.html</url>
</repository>
<repository>
<id>maven-atlassian-all</id>
<url>https://packages.atlassian.com/mvn/maven-atlassian-all/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
<releases>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
</releases>
</repository>
<repository>
<id>atlassian-public</id>
<url>https://packages.atlassian.com/maven-external/</url>
</repository>

</repositories>

<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-plugins-osgi-javaconfig</artifactId>
<version>${osgi.javaconfig.version}</version>
</dependency>
<!-- OSGi Java Config dependencies -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>4.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>

<!-- WIRED TEST RUNNER DEPENDENCIES -->
<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-plugins-osgi-testrunner</artifactId>
<version>${plugin.testrunner.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.sal</groupId>
<artifactId>sal-api</artifactId>
<version>5.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-plugin</artifactId>
<version>${ao.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>confluence-maven-plugin</artifactId>
<version>8.11.2</version>
</dependency>

<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-plugins-webresource-api</artifactId>
<version>3.0.0</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>confluence-maven-plugin</artifactId>
<version>${amps.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>

<properties>
<atlassian.spring.scanner.version>2.1.7</atlassian.spring.scanner.version>
<confluence.version>8.5.12</confluence.version>
<confluence.data.version>8.5.12</confluence.data.version>
<amps.version>8.11.2</amps.version>
<plugin.testrunner.version>2.0.2</plugin.testrunner.version>
<osgi.javaconfig.version>0.2.0</osgi.javaconfig.version>
<spring.version>4.2.5.RELEASE</spring.version>
<!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle's key. -->
<atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<ao.version>5.1.0</ao.version>
<sal.version>5.0.0</sal.version>
</properties>

</project>

2 answers

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 30, 2024

Hi Marko,

Thanks for asking this question on Atlassian Community! As Robert pointed out, we are trying to get details on the discrepancy mentioned in the comments on confluence-9-2-release-eap-available-now/85636)

Can you confirm where you downloaded the repo you're encountering the issue with?

Thank you,

Shannon 

Atlassian Community Support

Marko Turic October 31, 2024

My colleague created this Confluence plugin two months ago, and it was working fine. I have now taken over the project, and it is not working.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 1, 2024

Hi Marko,

Thanks for those details! I recommend raising this with the Developer support team, or asking on the Atlassian Developer Community and someone will be able to assist you.

Thank you,

Shannon S

Atlassian Community Support

0 votes
Robert Reiner _smartics_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 29, 2024

I am currently experiencing issues (HTTP 403) when accessing the Maven Repo at https://packages.atlassian.com/mvn/maven-atlassian-all/,  and https://packages.atlassian.com/maven-external/.

Maybe this is related?

I consider the Atlassian team is working on it (see https://community.developer.atlassian.com/t/confluence-9-2-release-eap-available-now/85636).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events