simulator
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>simulator</artifactId>
<version>2.4.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
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 xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>simulation</artifactId>
<version>2.4.2</version>
</parent>
<artifactId>simulator</artifactId>
<version>2.4.2</version>
<name>openchvote:simulation:simulator</name>
<description>
This module provides an election simulator class, which can be used for simulating CHVote election events based
on various parameters.
</description>
<properties>
<mainClass>ch.openchvote.simulation.simulator.Main</mainClass>
</properties>
<dependencies>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>administrator</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>election-authority</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>printing-authority</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>verifier</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>voter</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>core-services</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>simulation-services</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>${spock.core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${groovy.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>javascript</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>io.gitlab.openchvote</groupId>
<artifactId>services-js</artifactId>
<version>2.4.2</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>skipSimulationTest</id>
<activation>
<property>
<name>skipSimulationTest</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>java</executable>
<skip>false</skip>
<arguments>
<argument>--module-path</argument>
<modulepath/>
<argument>-m</argument>
<argument>ch.openchvote.simulation.simulator/ch.openchvote.simulation.simulator.Main</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</project>