Hello everyone.
Sources that were previously built without problems through atlas-package have recently caused syntax errors.
This is an add-on for Datacenter Jira.
Here is the error syntax:
atlas-package
[INFO] Project POM found
[INFO] Resolving plugin info, may take a while on the first run.
[INFO] Project defined AMPS version detected: 8.0.1
Executing: /opt/homebrew/Cellar/atlassian-plugin-sdk/8.2.7/libexec/apache-maven-3.5.4/bin/mvn package -gs /opt/homebrew/Cellar/atlassian-plugin-sdk/8.2.7/libexec/apache-maven-3.5.4/conf/settings.xml
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< kr.osci.atlas.customapps:sscard-jira-sso >--------------
[INFO] Building sscard-jira-sso 1.0.1
[INFO] --------------------------[ atlassian-plugin ]--------------------------
[WARNING] The artifact jta:jta:jar:1.0.1b has been relocated to javax.transaction:jta:jar:1.0.1B
[INFO]
[INFO] --- jira-maven-plugin:8.0.1:compress-resources (default-compress-resources) @ sscard-jira-sso ---
[INFO] Compiling javascript using YUI
[ERROR] missing ) after argument list
return new Promise(async function(resolve, reject) {
[ERROR] missing ; before statement
let msg = await flexibleUserLicesneCheck(checkUrl);
[ERROR] missing ; before statement
let validFlag = false;
[ERROR] missing ; before statement
let successMsg = {
[ERROR] syntax error
type: 'success',
[ERROR] syntax error
body: 'Flexible User License๊ฐ ์ ์์ ์ผ๋ก ์ค์น๋์ด์์ต๋๋ค.',
[ERROR] syntax error
close: 'auto'
[ERROR] missing ; before statement
let errorMsg = {
[ERROR] syntax error
type: 'error',
[ERROR] syntax error
body: 'Flexible User License๊ฐ ์ค์น๋์ด ์์ง ์์ต๋๋ค.',
[ERROR] syntax error
close: 'auto'
[ERROR] syntax error
})
[ERROR] missing ) after argument list
return new Promise(async function(resolve, reject) {
[ERROR] missing ; before statement
let entity = await getActiveSsoEntity();
[ERROR] missing ; before statement
let flag = entity.activeFlag;
[ERROR] syntax error
})
[ERROR] missing ) after argument list
return new Promise(async function(resolve, reject) {
[ERROR] missing ; before statement
let entity = await getActiveSsoEntity();
[ERROR] missing ; before statement
let successMsg = {
[ERROR] syntax error
type: 'success',
[ERROR] syntax error
body: 'Flexible User License ์ค์ ์ด ์ ์์ ์ผ๋ก ์ ์ฅ๋์์ต๋๋ค.',
[ERROR] syntax error
close: 'auto'
[ERROR] missing ; before statement
let errorMsg = {
[ERROR] syntax error
type: 'error',
[ERROR] syntax error
body: 'Flexible User License ์ค์ ์ด ์ ์์ ์ผ๋ก ์ ์ฅ๋์ง ์์์ต๋๋ค.',
[ERROR] syntax error
close: 'auto'
[ERROR] syntax error
})
[ERROR] missing ; before statement
let errorMsg = {
[ERROR] syntax error
type: 'error',
[ERROR] syntax error
body: 'Flexible User License๊ฐ ์ ์์ ์ผ๋ก ์ค์น๋์ด ์์ง ์์ต๋๋ค.',
[ERROR] syntax error
close: 'auto'
[ERROR] Compilation produced 31 syntax errors.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.130 s
[INFO] Finished at: 2023-10-19T16:49:56+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:jira-maven-plugin:8.0.1:compress-resources (default-compress-resources) on project sscard-jira-sso: Execution default-compress-resources of goal com.atlassian.maven.plugins:jira-maven-plugin:8.0.1:compress-resources failed: Compilation produced 31 syntax errors. -> [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/PluginExecutionException
If anyone can help, I would really appreciate it.