I am referring the https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-confluence-hello-world-macro/ .
the jar file is generated without any errors after the atlas-mvn package command.
When the macro is uploaded to confluence it gets uploaded successfully.
But the macro is not showing in the list of macros and unable to use.
for solution please refer :
Maybe the instruction “Locate the end of the … section in the file and enter the following:”
should be updated to say “Locate the end of the … section in the file and enter the following after the closing web-resource tag”