Hello,
during developing an App, I have the following problem. Our company name, which I have added at the organization - tag at the pom, contains an & sign. For the pom, this works perfectly when it is escaped like &
<organization>
<name>Company & name</name>
When I create a plugin via the atlassian sdk, by default, the atlassian-plugin.xml contains the following section
<vendor name="${project.organization.name}" url="${project.organization.url}"/>. E.g. if I run atlas-package, I get the following error:
ERROR] Failed to execute goal com.atlassian.maven.plugins:confluence-maven-plugin:8.1.0:test-jar (default-test-jar) on project tracking: unable to modify plugin.xml: Error on line 5 of document : Auf "&" in der Entityreferenz muss umgehend der Entityname folgen. Nested exception: Auf "&" in der Entityreferenz muss umgehend der Entityname folgen. -> [Help 1]
If I change <vendor name="${project.organization.name}" url="${project.organization.url}"/> also to <vendor name="Company & name" url="${project.organization.url}"/> it works as a workaround.
This problem occurs generally, independently of the System like Confluence, Jira, ... .
So is it possible, to fix this, that this <vendor name="${project.organization.name}" url="${project.organization.url}"/> works for the atlassian-plugin.xml?
Thanks and with friendly regards
This is a problem with maven, not the Atlassian stuff. The simple answer from them is to not use control characters in fields intended for plain text.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.