hello everyone, i want to execute a very simple process but when i click run as maven install i got this error can someone help me to solve it ?
Results :
Tests in error:
testParsingAndDeployment(org.fgpm.Auftragabwicklung.ProcessUnitTest): ENGINE-01009 Error while parsing process. Error parsing ‘#{not WeatherOk]’: syntax error at position 15, encountered ‘]’, expected ‘}’.
testParsingAndDeployment(org.fgpm.Auftragabwicklung.ProcessUnitTest)
testHappyPath(org.fgpm.Auftragabwicklung.ProcessUnitTest): ENGINE-01009 Error while parsing process. Error parsing ‘#{not WeatherOk]’: syntax error at position 15, encountered ‘]’, expected ‘}’.
testHappyPath(org.fgpm.Auftragabwicklung.ProcessUnitTest)
org.fgpm.Auftragabwicklung.ProcessUnitTest
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:21 min
[INFO] Finished at: 2020-07-13T20:54:01+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project Auftragabwicklung: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\PC\Desktop\Deutschland\Master Wirtschaftsinformatik\Entwurfsmuster und Komponentenbasierte Systeme (EWKS)\Example\Auftragabwicklung\target\surefire-reports for the individual test results.
[ERROR] → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoFailureException - Apache Maven - Apache Software Foundation
here is my POM file
org.fgpm
Auftragabwicklung
0.0.1-SNAPSHOT
war
Camunda BPM Process Application
A Process Application for Camunda BPM. [The project has been generated by the Maven archetype ‘camunda-archetype-servlet-war-7.11.1’]
<dependency>
<!-- AssertJ Testing Library -->
<groupId>org.camunda.bpm.extension</groupId>
<artifactId>camunda-bpm-assert</artifactId>
<version>1.2</version>
<scope>test</scope>
</dependency>
<!-- Required to use Spin dataformat support in unit tests -->
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-plugin-spin</artifactId>
<scope>test</scope>
</dependency>
<!-- Required to use Templates in unit tests -->
<dependency>
<groupId>org.camunda.template-engines</groupId>
<artifactId>camunda-template-engines-freemarker</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.camunda.template-engines</groupId>
<artifactId>camunda-template-engines-velocity</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- Needed for InMemoryH2Test -->
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.197</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- Used to generate test coverage reports, see https://github.com/camunda/camunda-consulting/tree/master/snippets/camunda-bpm-process-test-coverage -->
<groupId>org.camunda.bpm.extension</groupId>
<artifactId>camunda-bpm-process-test-coverage</artifactId>
<version>0.3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- use logback as logger -->
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<!-- apache commons logging => slf4j -->
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.25</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- java util logging => slf4j -->
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>1.7.25</version>
<scope>test</scope>
</dependency>
<!-- Add your own dependencies here, if in compile scope, they are added to the war -->
camunda-bpm-nexus
Camunda Maven Repository
https://app.camunda.com/nexus/content/groups/public
${project.artifactId}
org.apache.maven.plugins
maven-antrun-plugin