Artifact could not be resolved: com.atlassian.jira:jira-api:jar:8.0.0-EAP06

Hi,

Following the Jira 8.0.0-EAP06 announcement (Preparing for Jira 8.0 | Atlassian Support | Atlassian Documentation), what is the pom.xml to start Jira in EAP version?

I’ve searched on maven.atlassian.com and it doesn’t know anything about jira-api.jar. Are artifacts not published anymore?

Here’s my pom.xml for the moment:

<?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">

    <groupId>com.playsql</groupId>
    <version>1-SNAPSHOT</version>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>test</artifactId>

    <name>Test</name>
    <packaging>atlassian-plugin</packaging>

    <dependencies>
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-api</artifactId>
            <version>${jira.version}</version>
            <scope>provided</scope>
        </dependency>
        <!-- ... other dependencies -->
    </dependencies>

    <properties>
        <jira.version>8.0.0-EAP06</jira.version>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-amps-plugin</artifactId>
                <version>6.2.1</version>
                <extensions>true</extensions>
                <configuration>
                    <product>jira</product>
                    <productVersion>${jira.version}</productVersion>
                    <productDataVersion>${jira.version}</productDataVersion>
                    <ajpPort>5013</ajpPort>
                    <jvmDebugPort>5008</jvmDebugPort>
                    <jvmArgs>-Xmx1500m -Xms700m</jvmArgs>
                    <systemPropertyVariables>
                        <atlassian.mail.senddisabled>false</atlassian.mail.senddisabled>
                        <requirementyogi.dev-mode>true</requirementyogi.dev-mode>
                        <jira.web.sudo.disabled>true</jira.web.sudo.disabled>
                    </systemPropertyVariables>
                    <installPlugin>false</installPlugin>
                    <libArtifacts>
                        <libArtifact>
                            <groupId>org.postgresql</groupId>
                            <artifactId>postgresql</artifactId>
                            <version>9.4-1201-jdbc41</version>
                        </libArtifact>
                        <libArtifact>
                            <groupId>net.sourceforge.jtds</groupId>
                            <artifactId>jtds</artifactId>
                            <version>1.3.1</version>
                        </libArtifact>
                    </libArtifacts>
                    <pluginArtifacts>
                        <pluginArtifact>
                            <groupId>com.atlassian.labs.plugins</groupId>
                            <artifactId>quickreload</artifactId>
                            <version>1.30.5</version>
                        </pluginArtifact>
                    </pluginArtifacts>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Thank you

1 Like

Hi @aragot,

I believe the Maven packaging names (milestones) for these EAP releases follow a different numbering scheme than the EAPs. Earlier release posts made this clearer.

The current EAP06 corresponds to m0015, so your jira.version variable should read 8.0.0-m0015. The mapping is detailed at the top of the page you linked.

As for the artifactory, I have personally found the directory listing at Index of maven-external/ easier to use. The jira-api package for example, can be found at Index of maven-external/com/atlassian/jira/jira-api/8.0.0-m0015

Cheers,
Tobi

3 Likes

Exact, it works with 8.0.0-m0015, and m2proxy.atlassian.com is a great address! Thank you very much!

1 Like