algorithms-js
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>algorithms-js</artifactId>
<version>2.4.2</version>
</dependency><?xml version="1.0"?>
<!--
Copyright (C) 2024-2025 Berner Fachhochschule https://e-voting.bfh.ch
- This program is free software: you can redistribute it and/or modify -
- it under the terms of the GNU Affero General Public License as published by -
- the Free Software Foundation, either version 3 of the License, or -
- (at your option) any later version. -
- -
- This program is distributed in the hope that it will be useful, -
- but WITHOUT ANY WARRANTY; without even the implied warranty of -
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -
- GNU General Public License for more details. -
- -
- You should have received a copy of the GNU Affero General Public License -
- along with this program. If not, see <http://www.gnu.org/licenses/>. -
-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>javascript</artifactId>
<version>2.4.2</version>
</parent>
<artifactId>algorithms-js</artifactId>
<version>2.4.2</version>
<packaging>pom</packaging>
<name>openchvote:javascript:algorithms-js</name>
<description>
This module contains JS implementations of pseudocode algorithms contained in the CHVote Protocol Specification.
</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>coverage</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.15.0</version>
<configuration>
<installDirectory>target</installDirectory>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v22.12.0</nodeVersion>
<npmVersion>10.9.0</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install (generate-resources)</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>ci --fund=false</arguments>
</configuration>
</execution>
<execution>
<id>npm run build (compile)</id>
<goals>
<goal>npm</goal>
</goals>
<phase>compile</phase>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
<id>npm run test (test)</id>
<goals>
<goal>npm</goal>
</goals>
<phase>test</phase>
<configuration>
<arguments>run test</arguments>
</configuration>
</execution>
<execution>
<id>npm run doc (site)</id>
<goals>
<goal>npm</goal>
</goals>
<phase>site</phase>
<configuration>
<arguments>run doc</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>create-distribution</id>
<phase>compile</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>package.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>