From a8a8ec9779ce07f66a930910774e9c193c533774 Mon Sep 17 00:00:00 2001 From: 0qln <0qln@proton.me> Date: Sat, 22 Nov 2025 13:24:40 +0100 Subject: [PATCH] clean up and install angular cli --- flake.nix | 9 +++++-- pom.xml | 75 ++++++++++++++++++++++++------------------------------- 2 files changed, 39 insertions(+), 45 deletions(-) diff --git a/flake.nix b/flake.nix index 25d97a9..96af548 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,10 @@ upquote ])) ]; + + angularPackages = with pkgs; [ + nodePackages."@angular/cli" + ]; in { # Per-system attributes can be defined here. The self' and inputs' # module parameters provide easy access to attributes of the same @@ -101,7 +105,8 @@ jetty maven ] - ++ latexPackages; + ++ latexPackages + ++ angularPackages; shellHook = # bash @@ -128,7 +133,7 @@ jetty --add-modules=http,ee11-cdi,ee11-ext,ee11-deploy,ee11-environment,ee11-annotations,ee11-glassfish-jstl,ee11-jndi,ee11-jsp,ee11-jstl,ee11-plus,ee11-security,ee11-servlet,ee11-servlets,ee11-webapp,ee11-websocket-jakarta,ee11-websocket-jetty,ee11-websocket-jetty-client-webapp echo "Usage Example:" - echo "jetty --add-modules=... # add modules" + echo "mvn clean package # build demo.war" echo "jetty # run webserver" ''; }; diff --git a/pom.xml b/pom.xml index fb0fcb4..e71f058 100755 --- a/pom.xml +++ b/pom.xml @@ -1,15 +1,11 @@ - + 4.0.0 - org.example demo 1.0-SNAPSHOT demo war - UTF-8 UTF-8 @@ -18,64 +14,57 @@ 3.13.0 3.4.0 - - jakarta.platform - jakarta.jakartaee-web-api - 11.0.0 - provided - - - - org.glassfish - jakarta.faces - 4.1.3 - - - - jakarta.enterprise - jakarta.enterprise.cdi-api - 4.1.0 + jakarta.platform + jakarta.jakartaee-web-api + 11.0.0 + provided - jakarta.enterprise - jakarta.enterprise.cdi-el-api - 4.1.0 + org.glassfish + jakarta.faces + 4.1.3 - - org.jboss.weld.servlet - weld-servlet-core - 5.1.2.Final + jakarta.enterprise + jakarta.enterprise.cdi-api + 4.1.0 + + + jakarta.enterprise + jakarta.enterprise.cdi-el-api + 4.1.0 + + + org.jboss.weld.servlet + weld-servlet-core + 5.1.2.Final - org.junit.jupiter junit-jupiter-api ${junit.version} - org.projectlombok lombok 1.18.30 - demo - - org.apache.maven.plugins - maven-compiler-plugin - ${compiler-plugin.version} - - - org.apache.maven.plugins - maven-war-plugin - ${war-plugin.version} - - + + org.apache.maven.plugins + maven-compiler-plugin + ${compiler-plugin.version} + + + org.apache.maven.plugins + maven-war-plugin + ${war-plugin.version} + +