Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install plugin on Jira 10.3.1

Vivek Burman January 3, 2025

Hi, I've a case where the app was running fine in 9.7.0. But when trying to package this in 10.3.1, it does not upload and due to retry failure it is auto deleted from Manage apps.

 

 

<?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.accelq.plugins.jira</groupId>

    <artifactId>aq-jira-plugin</artifactId>

    <version>1.4.3.9-SNAPSHOT</version>

    <organization>

        <name>ACCELQ</name>

        <url>http://www.accelQ.com/</url>

    </organization>

    <name>aq-jira-plugin</name>

    <description>This plugin integrates ACCELQ into JIRA.</description>

    <packaging>atlassian-plugin</packaging>

    <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>junit</groupId>

            <artifactId>junit</artifactId>

            <version>4.13.1</version>

            <scope>test</scope>

        </dependency>

        <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->

        <dependency>

            <groupId>org.apache.commons</groupId>

            <artifactId>commons-lang3</artifactId>

            <version>3.0</version>

        </dependency>

        <dependency>

            <groupId>com.atlassian.plugin</groupId>

            <artifactId>atlassian-spring-scanner-annotation</artifactId>

            <version>${atlassian.spring.scanner.version}</version>

            <scope>compile</scope>

        </dependency>

        <dependency>

            <groupId>com.atlassian.plugin</groupId>

            <artifactId>atlassian-spring-scanner-runtime</artifactId>

            <version>${atlassian.spring.scanner.version}</version>

            <scope>runtime</scope>

        </dependency>

        <dependency>

            <groupId>javax.inject</groupId>

            <artifactId>javax.inject</artifactId>

            <version>1</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.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.9</version>

        </dependency>

        <dependency>

            <groupId>javax.servlet</groupId>

            <artifactId>servlet-api</artifactId>

            <version>2.4</version>

            <scope>provided</scope>

        </dependency>

        <dependency>

            <groupId>org.slf4j</groupId>

            <artifactId>slf4j-api</artifactId>

            <version>1.6.6</version>

            <scope>provided</scope>

        </dependency>

        <dependency>

            <groupId>org.apache.httpcomponents</groupId>

            <artifactId>httpclient</artifactId>

            <version>4.5.13</version>

            <scope>test</scope>

        </dependency>

         <dependency>

            <groupId>org.apache.httpcomponents</groupId>

            <artifactId>httpclient</artifactId>

            <version>4.5.13</version>

            <scope>test</scope>

        </dependency>

        <dependency>

            <groupId>org.mockito</groupId>

            <artifactId>mockito-all</artifactId>

            <version>1.8.5</version>

            <scope>test</scope>

        </dependency>

        <dependency>

            <groupId>com.atlassian.templaterenderer</groupId>

            <artifactId>atlassian-template-renderer-api</artifactId>

            <version>2.0.0</version>

            <scope>provided</scope>

        </dependency>

        <dependency>

            <groupId>org.ocpsoft.prettytime</groupId>

            <artifactId>prettytime</artifactId>

            <version>4.0.1.Final</version>

        </dependency>

    </dependencies>

    <build>

        <plugins>

            <plugin>

                <groupId>com.atlassian.maven.plugins</groupId>

                <artifactId>jira-maven-plugin</artifactId>

                <version>${amps.version}</version>

                <extensions>true</extensions>

                <configuration>

                    <!--<compressResources>false</compressResources>-->

                    <productVersion>${jira.version}</productVersion>

                    <productDataVersion>${jira.version}</productDataVersion>

                    <enableQuickReload>true</enableQuickReload>

                    <banningExcludes>

                        <exclude>

                            org.apache.commons:commons-lang3

                        </exclude>

                    </banningExcludes>

                    <!-- See here for an explanation of default instructions: -->

                    <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins -->

                    <instructions>

                        <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>

                        <!-- Add package to export here -->

                        <Export-Package>com.accelq.plugins.jira.api,</Export-Package>

                        <!-- Add package import here -->

                        <Import-Package>org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *</Import-Package>

                        <!-- Ensure plugin is spring powered -->

                        <Spring-Context>*</Spring-Context>

                    </instructions>

                </configuration>

            </plugin>

            <plugin>

                <groupId>com.atlassian.plugin</groupId>

                <artifactId>atlassian-spring-scanner-maven-plugin</artifactId>

                <version>${atlassian.spring.scanner.version}</version>

                <executions>

                    <execution>

                        <goals>

                            <goal>atlassian-spring-scanner</goal>

                        </goals>

                        <phase>process-classes</phase>

                    </execution>

                </executions>

                <configuration>

                    <scannedDependencies>

                        <dependency>

                            <groupId>com.atlassian.plugin</groupId>

                            <artifactId>atlassian-spring-scanner-external-jar</artifactId>

                        </dependency>

                    </scannedDependencies>

                    <verbose>false</verbose>

                </configuration>

            </plugin>

        </plugins>

    </build>

    <properties>

        <jira.version>9.7.0</jira.version>

        <amps.version>8.2.2</amps.version>

        <plugin.testrunner.version>2.0.1</plugin.testrunner.version>

        <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>

        <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->

        <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>

        <testkit.version>6.3.11</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>

</project>



2 answers

1 accepted

1 vote
Answer accepted
Aaron Pavez _ServiceRocket_
Community Champion
January 3, 2025

Hi @Vivek Burman 

To better understand, please let us know which app are you having problems with?

Remember that not all apps work with Jira 10. Some of them might not have an updated version.

Make a list, go to the marketplace, and check each app and version it supports. 

For example, if I take the ACCELQ:

Version 1.4.5for Jira Data Center 9.0.0 - 9.15.2

This app isn't compatible with Jira 10.

Regards

Aaron

Vivek Burman January 3, 2025

Yes, I'm the developer of that plugin.... I want to upgrade to 10.3.1

Aaron Pavez _ServiceRocket_
Community Champion
January 3, 2025

Please go to https://community.developer.atlassian.com/

There is a Dev community where you can get better help. Most of use arent Devs.

Regards

Aaron

Like Marc - Devoteam likes this
Vivek Burman January 3, 2025

thanks

Kumar_rajarapu
Contributor
January 3, 2025

Hi @Vivek Burman ,

Please check the Plugin compatibility with the Jira 10.3.1

https://marketplace.atlassian.com/ 

 

Regards,

kumar

0 votes
Andrew
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 8, 2025

Yo, if you developing something for Jira as I check this migration guide, because a lot of things changed since 9 to 10
Migration guide from Jira 10 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
10.3.1
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events