Atlas-create-jira-plugin takes too longs on Ubuntu 17.10 SDK 6.3.7

Hi was able to create a “Hello World” JIRA plugin for the cloud instance in minutes. But when I try to develop one using the SDK, it just doesn’t work…

$ atlas-version

ATLAS Version: 6.3.7
ATLAS Home: /usr/share/atlassian-plugin-sdk-6.3.7
ATLAS Scripts: /usr/share/atlassian-plugin-sdk-6.3.7/bin
ATLAS Maven Home: /usr/share/atlassian-plugin-sdk-6.3.7/apache-maven-3.2.1
AMPS Version: 6.3.14

Executing: /usr/share/atlassian-plugin-sdk-6.3.7/apache-maven-3.2.1/bin/mvn --version -gs /usr/share/atlassian-plugin-sdk-6.3.7/apache-maven-3.2.1/conf/settings.xml
Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T17:37:52+00:00)
Maven home: /usr/share/atlassian-plugin-sdk-6.3.7/apache-maven-3.2.1
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: “linux”, version: “4.15.10-041510-generic”, arch: “amd64”, family: “unix”

$ atlas-create-jira-plugin
Executing: /usr/share/atlassian-plugin-sdk-6.3.7/apache-maven-3.2.1/bin/mvn com.atlassian.maven.plugins:maven-jira-plugin:6.3.14:create -gs /usr/share/atlassian-plugin-sdk-6.3.7/apache-maven-3.2.1/conf/settings.xml
Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
[INFO] Scanning for projects…
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-jira-plugin:6.3.14:create (default-cli) @ standalone-pom —
Downloading: https://maven.atlassian.com/repository/public/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.pom
… << Hangs indefinitely.
I can download the above pom from the browser… but the commands just stalls… and doesn’t seem to work… I have tried a lower version of the SDK 6.3.6 but still the same issue… Is this some network issue ?

It was a proxy settings issue. Fixed it in /usr/share/atlassian-plugin-sdk-6.3.7/apache-maven-3.2.1/conf/settings.xml. Added the name of the proxy server and the port.

1 Like