I've installed all JDK and Atlassian SDK related stuff as recently as this week and on a fresh install of Ubuntu. I've reached this tutorial and it fails at the step that the hyperlink directly links to. Content below is the step.
---------------------------------------------------------------------------------------------------------------------------------------
When you generated the skeleton for your plugin, you specified a RefApp plugin skeleton. Your plugin has access to the shared application services and developer tools for all Atlassian applications. Here you'll start up the RefApp and get better acquainted with your resources.
Change directory to your project root.
1
$ cd adminUI
1
$ atlas-run
---------------------------------------------------------------------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.315 s
[INFO] Finished at: 2023-06-13T10:38:40-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:refapp-maven-plugin:8.1.2:validate-manifest (default-validate-manifest) on project adminUI:
[ERROR]
[ERROR] atlassian-plugin.xml contains a definition of component-import. This is not allowed when Atlassian-Plugin-Key is set.
[ERROR]
[ERROR] Please check the documentation of https://bitbucket.org/atlassian/atlassian-spring-scanner or https://developer.atlassian.com/display/DOCS/Configuration+of+Instructions+in+Atlassian+Plugins for further details.
[ERROR]
[ERROR]
[ERROR] -> [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
Above is what is returned at the end after running "atlas-run". All other previous steps had been run several times and reached the same conclusion.
---------------------------------------------------------------------------------------------------------------------------------------
EDIT: Solved by commenting out this entire line from my atlassian-plugin.xml.
<!-- import from the product container -->
<component-import key="applicationProperties" interface="com.atlassian.sal.api.ApplicationProperties" />
Can anyone explain what actually happened by me commenting this out?