Installation doesn't install on Ubuntu 20.04?

I am trying to run Keycloak locally on my Ubuntu 20.04 virtual machine. I am following the instructions here. I have cloned the Keycloak codebase from github and have run the command:

mvn clean install

A lot of activity happened in the terminal for the first 10 minutes and it seemed as though everything was going well but it has now been stuck for over an hour on the following line:

[INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ keycloak-themes ---

That line in the wider context is here (at the bottom):

[INFO] --------------------< org.keycloak:keycloak-themes >--------------------
[INFO] Building Keycloak Themes 13.0.0-SNAPSHOT                        [16/203]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ keycloak-themes ---
[INFO] Deleting /mnt/c/Users/defaultuser/dev/keycloak/themes/target
[INFO] Deleting /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak/common/resources/web_modules (includes = [], excludes = [])
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ keycloak-themes ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ keycloak-themes ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ keycloak-themes ---
[INFO]
[INFO] --- frontend-maven-plugin:1.8.0:install-node-and-npm (setup-node) @ keycloak-themes ---
[INFO] Node v12.13.0 is already installed.
[INFO] NPM 6.9.0 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.8.0:npm (npm-install-account2) @ keycloak-themes ---
[INFO] Running 'npm ci --no-optional --ignore-scripts' in /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] npm WARN prepare removing existing node_modules/ before installation
[INFO] added 1093 packages in 92.533s
[INFO]
[INFO] --- frontend-maven-plugin:1.8.0:npm (compile-account2) @ keycloak-themes ---
[INFO] Running 'npm run build --scripts-prepend-node-path' in /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO]
[INFO] > keycloak.v2@1.0.0 build /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > snowpack --optimize && npm run check-types && npm run babel && npm run move-web_modules && npm run copy-pf-resources
[INFO]
[INFO] - snowpack installing...
[INFO] A plugin is directly adding properties to the bundle object in the "generateBundle" hook. This is deprecated and will be removed in a future Rollup version, please use "this.emitFile" instead.
[INFO] ✔ snowpack installed: @patternfly/react-core, @patternfly/react-icons, @patternfly/react-styles, react, react-dom, react-router-dom. [85.56s]
[INFO]
[INFO] > keycloak.v2@1.0.0 check-types /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > tsc --noImplicitAny --strictNullChecks --jsx react -p ./
[INFO]
[INFO]
[INFO] > keycloak.v2@1.0.0 babel /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > babel --source-maps --extensions ".js,.ts,.tsx" app/ --out-dir ../resources/
[INFO]
[INFO] Successfully compiled 41 files with Babel.
[INFO]
[INFO] > keycloak.v2@1.0.0 move-web_modules /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > shx mv web_modules ../../../keycloak/common/resources
[INFO]
[INFO]
[INFO] > keycloak.v2@1.0.0 copy-pf-resources /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > npm run move-app-css && npm run copy-base-css && npm run copy-fonts && npm run copy-pficon
[INFO]
[INFO]
[INFO] > keycloak.v2@1.0.0 move-app-css /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > shx mkdir -p ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles && shx mv app.css ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles
[INFO]
[INFO]
[INFO] > keycloak.v2@1.0.0 copy-base-css /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > shx mkdir -p ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles && shx cp node_modules/@patternfly/react-core/dist/styles/base.css ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles
[INFO]
[INFO]
[INFO] > keycloak.v2@1.0.0 copy-fonts /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > shx mkdir -p ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles/assets/fonts/overpass-webfont && shx cp node_modules/@patternfly/react-core/dist/styles/assets/fonts/overpass-webfont/overpass*.woff2 ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles/assets/fonts/overpass-webfont
[INFO]
[INFO]
[INFO] > keycloak.v2@1.0.0 copy-pficon /mnt/c/Users/defaultuser/dev/keycloak/themes/src/main/resources/theme/keycloak.v2/account/src
[INFO] > shx mkdir -p ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles/assets/pficon && shx cp node_modules/@patternfly/react-core/dist/styles/assets/pficon/pficon.woff2 ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles/assets/pficon
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ keycloak-themes ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 857 resources
[INFO] Copying 107 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1-jboss-1:compile (default-compile) @ keycloak-themes ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ keycloak-themes ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /mnt/c/Users/defaultuser/dev/keycloak/themes/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1-jboss-1:testCompile (default-testCompile) @ keycloak-themes ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ keycloak-themes ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ keycloak-themes ---
[INFO] Building jar: /mnt/c/Users/defaultuser/dev/keycloak/themes/target/keycloak-themes-13.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ keycloak-themes ---

I’ve cancelled and restarted but the same thing has happened again. I’ve also tried using the following command but the same thing happens again:

mvn -Pdistribution -pl distribution/server-dist -am -Dmaven.test.skip clean install

Can someone help me understand whats going wrong?