Hi Team,
I am rebuilding the Luxoft plugin and using below POM.xml file.
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.luxoft.jira.plugin</groupId>
<artifactId>version-dependency-plugin</artifactId>
<version>3.2.33-Jira_9.8.1-2024</version>
<organization>
<name>Luxoft</name>
<url>http://www.luxoft.com/</url>
</organization>
<name>Version Dependency Management</name>
<description>Manage cross-projects version dependencies, in a System/Subsystem fashion.</description>
<packaging>atlassian-plugin</packaging>
<!-- <properties>
<jira.version>9.11.1</jira.version>
<jira.data.version>9.11.1</jira.data.version>
<amps.version>6.2.11</amps.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
-->
<properties>
<jira.version>9.8.1</jira.version>
<jira.data.version>9.8.1</jira.data.version>
<amps.version>8.1.2</amps.version>
<plugin.testrunner.version>2.0.2</plugin.testrunner.version>
<atlassian.spring.scanner.version>2.1.7</atlassian.spring.scanner.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>
<!-- TestKit version 6.x for JIRA 6.x -->
<testkit.version>8.1.15</testkit.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-gadgets-plugin</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-plugin</artifactId>
<version>5.2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.collections</groupId>
<artifactId>google-collections</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.plugins.rest</groupId>
<artifactId>atlassian-rest-common</artifactId>
<version>1.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.osoboo</groupId>
<artifactId>jira-metadata-plugin</artifactId>
<version>5.3.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>jira-maven-plugin</artifactId>
<version>${amps.version}</version>
<extensions>true</extensions>
<configuration>
<productVersion>${jira.version}</productVersion>
<productDataVersion>${jira.data.version}</productDataVersion>
<useFastdevCli>false</useFastdevCli>
<!--
<productDataPath>${basedir}/test/generated-test-resources.zip</productDataPath>
<jvmArgs>-Xmx1200m -XX:MaxPermSize=256m</jvmArgs>
<products>
<product>
<id>jira</id>
<instanceId>jira</instanceId>
<version>${jira.version}</version>
<dataVersion>${jira.version}</dataVersion>
<containerId>tomcat8x</containerId>
</product>
</products>
-->
<pluginArtifacts>
<pluginArtifact>
<groupId>com.osoboo</groupId>
<artifactId>jira-metadata-plugin</artifactId>
<version>5.3.0</version>
</pluginArtifact>
</pluginArtifacts>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</project>
Getting below error :
[ERROR] Failed to execute goal on project version-dependency-plugin: Could not resolve dependencies for project com.luxoft.jira.plugin:version-dependency-plugin:atlassian-plugin:3.2.33-Jira_9.11.0-2024: The following artifacts could not be resolved: com.atlassian.jira:jira-api:jar:9.11.0, com.atlassian.ofbiz:entityengine:jar:3.0.9, opensymphony:webwork:jar:1.4-atlassian-31, com.atlassian.core:atlassian-core:jar:8.0.0, osworkflow:osworkflow:jar:2.9.0-atlassian-1, org.codehaus.jackson:jackson-core-asl:jar:1.9.14-atlassian-6, org.codehaus.jackson:jackson-mapper-asl:jar:1.9.14-atlassian-6, com.sun.mail:jakarta.mail:jar:1.6.5-atlassian-2, com.atlassian.plugins:atlassian-plugins-webresource:jar:6.0.5, commons-httpclient:commons-httpclient:jar:3.1-jenkins-3, com.atlassian.jira:jira-core:jar:9.11.0, org.springframework:spring-web:jar:5.3.26, com.atlassian.crowd:crowd-api:jar:5.0.6, com.atlassian.crowd:crowd-core:jar:5.0.6, com.atlassian.crowd:crowd-rest-common:jar:5.0.6, com.atlassian.crowd:crowd-persistence:jar:5.0.6, com.atlassian.crowd:crowd-ldap:jar:5.0.6, com.sun:jai_core:jar:1.1.3, com.sun:jai_codec:jar:1.1.3, com.atlassian.plugins:atlassian-plugins-core:jar:7.1.7, com.atlassian.plugins:atlassian-plugins-osgi:jar:7.1.7, com.atlassian.renderer:atlassian-renderer:jar:9.0.1, dom4j:dom4j:jar:1.6.1-atlassian-3, com.atlassian.gzipfilter:atlassian-gzipfilter-legacy:jar:1.23.0, opensymphony:sitemesh:jar:2.5-atlassian-11, org.apache.velocity:velocity:jar:1.6.4-atlassian-25, glue:glue:jar:5.0b2, carol:carol:jar:1.5.2, radeox:radeox:jar:1.0b2-forked-22Apr2004, jtidy:jtidy:jar:r8-20050104, com.atlassian.jira:jira-gadgets-plugin:jar:9.11.0, com.atlassian.activeobjects:activeobjects-plugin:jar:5.2.1, com.osoboo:jira-metadata-plugin:jar:5.3.0: Could not transfer artifact com.atlassian.jira:jira-api:jar:9.11.0 from/to atlassian-public (https://maven.atlassian.com/repository/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
Please help me to solve the error.