I am trying to use atlas-create-fecru-plugin to create skeleton

ddyke
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!
October 28, 2015

This is my atlas version:

○ → atlas-version

ATLAS Version: 6.1.0
ATLAS Home: /usr/share/atlassian-plugin-sdk-6.1.0
ATLAS Scripts: /usr/share/atlassian-plugin-sdk-6.1.0/bin
ATLAS Maven Home: /usr/share/atlassian-plugin-sdk-6.1.0/apache-maven-3.2.1
AMPS Version: 6.1.2
--------
Executing: /usr/share/atlassian-plugin-sdk-6.1.0/apache-maven-3.2.1/bin/mvn --version -gs /usr/share/atlassian-plugin-sdk-6.1.0/apache-maven-3.2.1/conf/settings.xml
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T12:37:52-05:00)
Maven home: /usr/share/atlassian-plugin-sdk-6.1.0/apache-maven-3.2.1
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-46-generic", arch: "amd64", family: "unix"

 

 

When I try and create a plugin skeleton with atlas-create-fecru-plugin I am getting the following error: 

[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-fecru-plugin:6.1.2:create (default-cli) @ standalone-pom ---
[ERROR] !!! Important information !!!
[ERROR] FeCru does not support java8 yet so this command is temporarily switched off. Try using an earlier amps version or creating a default amps plugin instead: atlas-create-plugin
[ERROR]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.932 s
[INFO] Finished at: 2015-10-28T15:49:03-05:00
[INFO] Final Memory: 16M/736M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-fecru-plugin:6.1.2:create (default-cli) on project standalone-pom: FeCru does not support java8 yet so this command is temporarily switched off. Try using an earlier amps version or creating a default amps plugin instead: atlas-create-plugin -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 

 

++EDIT++

I downgraded my SDK version to

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

 

and all is well.

2 answers

0 votes
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 13, 2017

According to this bug report:

https://jira.atlassian.com/browse/FE-6726

this has been fixed in AMPS 6.2.11.

0 votes
Marcin Beczyński June 26, 2016

Hi,
change your java to jdk7 should work fine, also in newest Atlassian SDK
Regards 

Yagnesh Bhat July 25, 2016

Well, We just upgraded fisheye to v4.1.1 and it DOES support Java 8 - infact it was strongly receommended to use Java 8 , latest JRE v101 while upgrading. So its confusing as to why we should downgrade to v7 while using sdk 6.2.6, which is optimized for Java 8 only.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events