Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

No macro metadata after changing groupId

Deleted user March 8, 2019

Hi,

I am trying to write my own Confluence plugin. I used the tutorials form Atlassian, but they didn't work that good. So I took a sample source from Atlassians BitBucket. The macro contains (as in the sample source from Atlassian) a .css file, so changes the color of the Macro output. All of this works fine.

Finally I want to change the groupId for the project (in the .pom file, the directory structure for the src directory and the atlassian-plugin.xml). In all project files I replaced "com.atlassian.tutorial" whith for example "de.mycompany.mygroup.myproject". The folder structure changed from

src/main/java/com/atlassian/tutorial

to

src/main/java/de/mycompany/mygroup/myproject

 

I removed the complete target folder, so a "fresh" Confluence installation was generated. Whe editing or creating a new page, the plugin appeared in the macro browser. After selecting the macro, the setting page appeared. I entered som text and select a color. I submit the page, but the text I entered was not in the color I selected before.

So I want to modify my macro element. I selected the macro and chose modify, but instead of the setting dialog, an other dialog appeared. There was no macro meta data available.

 

Has someone an idea what is going wrong? Using "com.atlassian.tutorial" as groupId everything works fine, but when I change it, it fails.

And when I successfully changed the groupId, I want to change the artifactId "myConfluenceMacro", too.

 

Best regards,

Rainer

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events