REST-416: Load atlassian-plugin.xml
from classpath if it's not found at atlassian-plugin.xml.path
or target/classes
.
Justin Thomas
Branch: bugfix/REST-416-load-atlassian-plugin-xml-classpath
Branch: master
Merged
Merged pull request
Merged in bugfix/REST-416-load-atlassian-plugin-xml-classpath (pull request #179)
The order in which
atlassian-plugin.xml
is looked for1) At system property
atlassian-plugin.xml.path
2)
target/classes
3) In classpath
This is required to maintain backward compatibility to the versions prior to the introduction of
atlassian-plugin.xml.path
.Bitbucket server runs the
mvn
command from the root so it couldn't findatlassian-plugin.xml
intarget/classes
and it's cumbersome to pass inatlassian-plugin.xml.path
for each plugin.