Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Not able to create a plugin skeleton by using Atlassian SDK

Avinash Gautam
Contributor
January 30, 2018

I am running the command :

atlas-create-refapp-plugin

 

I am getting errors in the pom.xml page from the beginning of the skeleton creation.

This error is happening for any version of SDK. Please suggest facing, not been able to resolve this issue.

 

D:\Softwares\atlastutorial>atlas-create-refapp-plugin
Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.15\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-refapp-plugin:"6.2.11":create -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.15\apache-maven-3.2.1/conf/settings.xml
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
[INFO] Scanning for projects...
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-refapp-plugin/6.2.11/maven-refapp-plugin-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-refapp-plugin/6.2.11/maven-refapp-plugin-6.2.11.pom (3 KB at 1.2 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/atlassian-amps-product-plugins/6.2.11/atlassian-amps-product-plugins-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/atlassian-amps-product-plugins/6.2.11/atlassian-amps-product-plugins-6.2.11.pom (10 KB at 12.0 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/atlassian-amps-parent/6.2.11/atlassian-amps-parent-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/atlassian-amps-parent/6.2.11/atlassian-amps-parent-6.2.11.pom (18 KB at 20.2 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-refapp-plugin/6.2.11/maven-refapp-plugin-6.2.11.jar
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-refapp-plugin/6.2.11/maven-refapp-plugin-6.2.11.jar (78 KB at 51.6 KB/sec)
[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-refapp-plugin:6.2.11:create (default-cli) @ standalone-pom ---
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-amps-plugin/6.2.11/maven-amps-plugin-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-amps-plugin/6.2.11/maven-amps-plugin-6.2.11.pom (10 KB at 12.7 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-maven-client/6.2.11/plugin-module-codegen-maven-client-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-maven-client/6.2.11/plugin-module-codegen-maven-client-6.2.11.pom (2 KB at 1.7 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-engine/6.2.11/plugin-module-codegen-engine-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-engine/6.2.11/plugin-module-codegen-engine-6.2.11.pom (3 KB at 2.7 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-api/6.2.11/plugin-module-codegen-api-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-api/6.2.11/plugin-module-codegen-api-6.2.11.pom (2 KB at 1.3 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/maven/archetypes/refapp-plugin-archetype/6.2.11/refapp-plugin-archetype-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/maven/archetypes/refapp-plugin-archetype/6.2.11/refapp-plugin-archetype-6.2.11.pom (749 B at 0.8 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/atlassian-amps-product-archetypes/6.2.11/atlassian-amps-product-archetypes-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/atlassian-amps-product-archetypes/6.2.11/atlassian-amps-product-archetypes-6.2.11.pom (3 KB at 3.0 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/standalone/6.2.11/standalone-6.2.11.pom
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/standalone/6.2.11/standalone-6.2.11.pom (4 KB at 3.3 KB/sec)
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-maven-client/6.2.11/plugin-module-codegen-maven-client-6.2.11.jar
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-amps-plugin/6.2.11/maven-amps-plugin-6.2.11.jar
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-engine/6.2.11/plugin-module-codegen-engine-6.2.11.jar
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-api/6.2.11/plugin-module-codegen-api-6.2.11.jar
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/maven/archetypes/refapp-plugin-archetype/6.2.11/refapp-plugin-archetype-6.2.11.jar
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-maven-client/6.2.11/plugin-module-codegen-maven-client-6.2.11.jar (138 KB at 89.1 KB/sec)
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/maven/archetypes/refapp-plugin-archetype/6.2.11/refapp-plugin-archetype-6.2.11.jar (17 KB at 7.6 KB/sec)
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-api/6.2.11/plugin-module-codegen-api-6.2.11.jar (44 KB at 17.5 KB/sec)
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/amps/plugin-module-codegen-engine/6.2.11/plugin-module-codegen-engine-6.2.11.jar (305 KB at 95.0 KB/sec)
Downloaded: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-amps-plugin/6.2.11/maven-amps-plugin-6.2.11.jar (422 KB at 122.9 KB/sec)
[INFO] Google Analytics Tracking is enabled to collect AMPS usage statistics.
[INFO] Although no personal information is sent, you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml
[INFO] Sending event to Google Analytics: AMPS:refapp - SDK First Run - "6.2.11"
[INFO] using stable product version: 3.3.6
[INFO] using stable data version: 3.3.6
Define value for groupId: : com.atlassian.plugins.tutorial.refapp
Define value for artifactId: : adminUI
Define value for version: 1.0.0-SNAPSHOT: : 1.0-SNAPSHOT
Define value for package: com.atlassian.plugins.tutorial.refapp: : com.atlassian.plugins.tutorial.refapp
Confirm properties configuration:
groupId: com.atlassian.plugins.tutorial.refapp
artifactId: adminUI
version: 1.0-SNAPSHOT
package: com.atlassian.plugins.tutorial.refapp
Y: : Y
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] Generating project in Batch mode
[WARNING] No archetype repository found. Falling back to central repository (http://repo1.maven.org/maven2).
[WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 43,column 22] : ${atlassian.spring.scanner.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 50,column 22] : ${atlassian.spring.scanner.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 109,column 26] : ${amps.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 112,column 37] : ${refapp.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 119,column 47] : ${atlassian.plugin.key} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 142,column 26] : ${atlassian.spring.scanner.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 172,column 31] : ${project.groupId} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 172,column 50] : ${project.artifactId} is not a valid reference.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.932 s
[INFO] Finished at: 2018-01-30T19:09:00+05:30
[INFO] Final Memory: 16M/131M
[INFO] ------------------------------------------------------------------------
D:\Softwares\atlastutorial>

 

1 answer

0 votes
Avinash Gautam
Contributor
February 4, 2018

Hi Team,

 

Any response on this?

 

--Avinash Gautam

Suggest an answer

Log in or Sign up to answer