-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor devcontainer and update JAXB unmarshalling in tests (#7095)
* refactor: clean up devcontainer and vscode configurations; update JAXB unmarshalling in tests * feat: implement LenientValidationEventHandler and update JAXB unmarshalling to ignore namespaces
- Loading branch information
Showing
10 changed files
with
336 additions
and
788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run CIA Server", | ||
"type": "shell", | ||
"command": "mvn", | ||
"args": [ | ||
"exec:java", | ||
"-Dexec.classpathScope=test", | ||
"-Dexec.mainClass=com.hack23.cia.systemintegrationtest.CitizenIntelligenceAgencyServer", | ||
"-Djava.awt.headless=true" | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}/citizen-intelligence-agency", | ||
"env": { | ||
"MAVEN_OPTS": "-server -Xmx8192m -Xms2048m" | ||
} | ||
}, | ||
"group": { | ||
"kind": "run", | ||
"isDefault": true | ||
}, | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "new" | ||
} | ||
}, | ||
{ | ||
"label": "Unit Tests", | ||
"type": "shell", | ||
"command": "xvfb-run", | ||
"args": [ | ||
"mvn", | ||
"-B", | ||
"--file", | ||
"pom.xml", | ||
"clean", | ||
"install", | ||
"-pl", | ||
"!com.hack23.cia:cia-dist-deb", | ||
"-DforkMode=once", | ||
"-Dtest=!**ITest*,!**DocumentationTest*", | ||
"-Dmaven.test.failure.ignore=true", | ||
"-DfailIfNoTests=false", | ||
"-Dsurefire.failIfNoSpecifiedTests=false", | ||
"-Dsurefire.reportNameSuffix=UNIT", | ||
"-Dspdx.skip" | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}/parent-pom", | ||
"env": { | ||
"MAVEN_OPTS": "-server -Xmx8192m -Xms2048m" | ||
} | ||
}, | ||
"group": "test" | ||
}, | ||
{ | ||
"label": "Clean Install (No Tests)", | ||
"type": "shell", | ||
"command": "mvn", | ||
"args": [ | ||
"clean", | ||
"install", | ||
"-pl", | ||
"!com.hack23.cia:cia-dist-deb,!com.hack23.cia:cia-dist-cloudformation", | ||
"-DskipTests", | ||
"-DfailIfNoTests=false", | ||
"-Dsurefire.failIfNoSpecifiedTests=false", | ||
"-Dspdx.skip" | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}/parent-pom", | ||
"env": { | ||
"MAVEN_OPTS": "-Xmx8192m -Xms2048m" | ||
} | ||
}, | ||
"group": "build" | ||
} | ||
] | ||
} |
Oops, something went wrong.