1) When I try to execute atlas-run command to start confluence with my plugin there is such error
[INFO] [talledLocalContainer] # A fatal error has been detected by the Java Runtime Environment:
[INFO] [talledLocalContainer] #
[INFO] [talledLocalContainer] # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6c3f3722, pid=82152, tid=81700
[INFO] [talledLocalContainer] #
[INFO] [talledLocalContainer] # JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
[INFO] [talledLocalContainer] # Java VM: Java HotSpot(TM) Client VM (25.51-b03 mixed mode windows-x86 )
[INFO] [talledLocalContainer] # Problematic frame:
[INFO] [talledLocalContainer] # V [jvm.dll+0x93722]
[INFO] [talledLocalContainer] #
[INFO] [talledLocalContainer] # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
but it works with jira.
2) I have a code in IntellijIdea and because of atlas-run doesn't work I can't test my plugin. So I want to add a plugin into working instance of confluence on server but I don't know how.
Have tried to run it after 'atlas-clean'?
Please also validate output of 'atlas-update' to check if your SDK is up to date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't execute atlas-update
[INFO] --------------< com.confluence.plugin:myConfluencePlugin >--------------
[INFO] Building myConfluencePlugin 1.0.0-SNAPSHOT
[INFO] --------------------------[ atlassian-plugin ]--------------------------
[INFO]
[INFO] --- amps-maven-plugin:8.0.0:update (default-cli) @ myConfluencePlugin ---
[INFO] Fail to connect to host marketplace.atlassian.com
[INFO] Downloading SDK version from marketplace.atlassian.com...
[INFO] Fail to connect to host marketplace.atlassian.com
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.312 s
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:amps-maven-plugin:8.0.0:update (default-cli) on project myConfluencePlugin: Execution default-cli of goal com.atlassian.maven.plugins:amps-maven-plugin:8.0.0:update failed.: NullPointerException
But here is info atlas-version
ATLAS Version: 8.0.7
ATLAS Home: C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.7
ATLAS Scripts: C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.7\bin
ATLAS Maven Home: C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.7\apache-maven-3.5.4
AMPS Version: 8.0.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@aasCan you try to uninstall your sdk and reinstall it. I think the problem is with SDK version you are using.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@aastwo more things before you take this to Atlassian,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To make plugin jar you need to run `atlas-package` command. And yes you can put that in confluence home directory, but you will need to restart confluence to pick that plugin.
To install plugin on your remote confluence instance you can look at, atlas-install-plugin command, it takes host, admin username and password to install plugin from development environment.
Most command in Atlassian SDK are wrapper around commands provided by Maven. Atlassian SDK ships with its own Maven Version, and some changes in settings.xml file of Maven.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. I thought that I can add OSGi plugin without restarting confluence, isn't it?
2. After atlas-package command there are appears 2 jar files, 1 obr file and obr folder. Which one i have to put into home directory?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. No, you will need to restart. Confluence create entry in database etc which doesn't happen when we just put plugin in directory.
2. Usually there are one jar, and one obr file,
<confluence_home>/plugins/installed-plugins/
.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've deleted target folder and after that execute atlas-package. And then I've got the same target directory with myConfluencePlugin-1.0.0-SNAPSHOT.jar and myConfluencePlugin-1.0.0-SNAPSHOT-tests.jar and many other directories in it, so I can't understand what exactly I need to add to the server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use myConfluencePlugin-1.0.0-SNAPSHOT.jar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
because of the not working atlas-mvn clean or package, there are issues with the version 8.0.16 and below.
Watch this issue here: https://ecosystem.atlassian.net/browse/ATLASSDK-93
And also watch this community post: https://community.atlassian.com/t5/Jira-questions/Unknown-lifecycle-phase-error/qaq-p/1006922#M335142
This helped me for the atlas-mvn statements. But I have encountered other problems :)
Hope this helps for you
Regards, Dominic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.