# mvn verify not working -- missing pom.xml for bonita-test-toolkit

**URL:** <https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460>\
**Category:** Q&A\
**Created:** [30 December 2022 23:03 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460 "2022-12-30T23:03:57Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![RegnerRudy](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RegnerRudy](https://community.ofelia.com/u/RegnerRudy)\
**Post date:** [30 December 2022 23:03 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/1 "2022-12-30T23:03:57Z")

</div>

&nbsp;

Issue with missing POM.xml for bonitasoft-test-toolkit

&nbsp;

When I try to run the mvn verify command I’m getting this error from toolkit

&nbsp;

![]()

&nbsp;

However I have extracted (using winzip) the pom.xml from the executable jar file

![]()

&nbsp;

&nbsp;

&nbsp;

and placed it inside the same folder as the jar for toolkit

&nbsp;

![]()

&nbsp;

But I still get this error message

&nbsp;

[WARNING] The POM for com.bonitasoft:bonita-test-toolkit:jar:1.0.1 is missing, no dependency information available

&nbsp;

And it appears my test doesn’t actually run…

&nbsp;

(all the test \> target folders are empty… no class files are created)

&nbsp;

![]()

&nbsp;

================&nbsp; the terminal stdout ===============

&nbsp;

PS C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\> mvn verify -f "C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\pom.xml"

[INFO] Scanning for projects...

[INFO]

[INFO] ------------\< com.company.bonita.test:bonita-process-test \>-------------

[INFO] Building Bonita process test 1.0.0-SNAPSHOT

[INFO] --------------------------------[jar]---------------------------------

[WARNING] The POM for com.bonitasoft:bonita-test-toolkit:jar:1.0.1 is missing, no dependency information available

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bonita-process-test ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\src\main\resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bonita-process-test ---

[INFO] No sources to compile

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bonita-process-test ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\src\test\resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ bonita-process-test ---

[INFO] No sources to compile

[INFO]

[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bonita-process-test ---

[INFO]

[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ bonita-process-test ---

[INFO] Building jar: C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\target\bonita-process-test-1.0.0-SNAt\bonita-process-test-1.0.0-SN

[INFO] Building jar: C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\targe

t\bonita-process-test-1.0.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; st ---

[INFO] Building jar: C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\target\bonita-process-test-1.0.0-SNAPSHOT.jar

[INFO]

[INFO] --- maven-failsafe-plugin:2.22.2:integration-test (default) @ bonita-process-test ---[INFO]

[INFO] --- maven-failsafe-plugin:2.22.2:verify (default) @ bonita-process-test ---

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time:&nbsp; 20.567 s

[INFO] Finished at: 2022-12-30T17:05:42-05:00

[INFO] ------------------------------------------------------------------------

PS C:\BonitaStudioCommunity-2022.2-u0\workspace\testingproject\>

&nbsp;

================&nbsp; the pom for testingproject

\<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"\>

&nbsp;&nbsp;&nbsp; \<modelVersion\>4.0.0\</modelVersion\>

&nbsp;&nbsp;&nbsp; \<groupId\>com.company.bonita.test\</groupId\>

&nbsp;&nbsp;&nbsp; \<artifactId\>bonita-process-test\</artifactId\>

&nbsp;&nbsp;&nbsp; \<version\>1.0.0-SNAPSHOT\</version\>

&nbsp;&nbsp;&nbsp; \<name\>Bonita process test\</name\>

&nbsp;&nbsp;&nbsp; \<description\>Maven project to test Bonita processes\</description\>

&nbsp;

&nbsp;&nbsp;&nbsp; \<properties\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<!-- maven --\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<project.build.sourceEncoding\>UTF-8\</project.build.sourceEncoding\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<project.reporting.outputEncoding\>UTF-8\</project.reporting.outputEncoding\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<maven.compiler.source\>11\</maven.compiler.source\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<maven.compiler.target\>11\</maven.compiler.target\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<maven-failsafe-plugin.version\>2.22.2\</maven-failsafe-plugin.version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<maven-dependency-plugin.version\>3.2.0\</maven-dependency-plugin.version\>

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<!-- Bonita --\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<bonita-test-toolkit.version\>1.0.1\</bonita-test-toolkit.version\>

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<!-- Test --\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<junit.version\>5.9.1\</junit.version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<assertj-core.version\>3.23.1\</assertj-core.version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<awaitility.version\>4.2.0\</awaitility.version\>

&nbsp;&nbsp;&nbsp; \</properties\>

&nbsp;

&nbsp;&nbsp;&nbsp; \<dependencyManagement\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<dependencies\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>org.junit\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<artifactId\>junit-bom\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<version\>${junit.version}\</version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<type\>pom\</type\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<scope\>import\</scope\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</dependencies\>

&nbsp;&nbsp;&nbsp; \</dependencyManagement\>

&nbsp;

&nbsp;&nbsp;&nbsp; \<dependencies\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>com.bonitasoft\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<artifactId\>bonita-test-toolkit\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<version\>1.0.1\</version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<scope\>test\</scope\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>org.junit.jupiter\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<artifactId\>junit-jupiter-engine\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<scope\>test\</scope\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>org.assertj\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<artifactId\>assertj-core\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<version\>${assertj-core.version}\</version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<scope\>test\</scope\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>org.awaitility\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<artifactId\>awaitility\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<version\>${awaitility.version}\</version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<scope\>test\</scope\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<dependency\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>ch.qos.logback\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<artifactId\>logback-classic\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<version\>1.2.10\</version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<scope\>test\</scope\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</dependency\>

&nbsp;&nbsp;&nbsp; \</dependencies\>

&nbsp;

&nbsp;&nbsp;&nbsp; \<build\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<pluginManagement\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<plugins\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<plugin\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>org.apache.maven.plugins\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;\<artifactId\>maven-failsafe-plugin\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<version\>${maven-failsafe-plugin.version}\</version\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</plugin\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</plugins\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</pluginManagement\>

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<plugins\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<plugin\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<groupId\>org.apache.maven.plugins\</groupId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<artifactId\>maven-failsafe-plugin\</artifactId\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<executions\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<execution\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<goals\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<goal\>integration-test\</goal\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;\<goal\>verify\</goal\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</goals\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</execution\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</executions\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</plugin\>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</plugins\>

&nbsp;&nbsp;&nbsp; \</build\>

\</project\>

&nbsp;

&nbsp;

&nbsp;

=================&nbsp; the LeaveRequestIT.java test file

&nbsp;

package com.company.bonita.test;

&nbsp;

import static com.bonitasoft.test.toolkit.predicate.ProcessInstancePredicates.\*;

import static com.bonitasoft.test.toolkit.predicate.UserTaskPredicates.\*;

import static org.assertj.core.api.Assertions.assertThat;

import static org.awaitility.Awaitility.await;

&nbsp;

import java.util.List;

import com.bonitasoft.test.toolkit.BonitaTestToolkit;

import com.bonitasoft.test.toolkit.contract.ComplexInputBuilder;

import com.bonitasoft.test.toolkit.contract.ContractBuilder;

import com.bonitasoft.test.toolkit.junit.extension.BonitaTests;

import com.bonitasoft.test.toolkit.model.BusinessData;

import com.bonitasoft.test.toolkit.model.BusinessObjectDAO;

import com.bonitasoft.test.toolkit.model.Task;

import com.bonitasoft.test.toolkit.model.QueryParameter;

import org.junit.jupiter.api.BeforeEach;

import org.junit.jupiter.api.Test;

import org.junit.jupiter.api.extension.RegisterExtension;

&nbsp;

@BonitaTests

class LeaveRequestIT {

&nbsp;

&nbsp;&nbsp;&nbsp; @BeforeEach

&nbsp;&nbsp;&nbsp; void beforeEach(BonitaTestToolkit toolkit){

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; toolkit.deleteBDMContent();

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; toolkit.deleteProcessInstances();

&nbsp;&nbsp;&nbsp; }

&nbsp;

&nbsp;&nbsp;&nbsp; @RegisterExtension

&nbsp;&nbsp;&nbsp; static BonitaTestExtension bonitaExtension = new BonitaTestExtension();

&nbsp;

&nbsp;&nbsp;&nbsp; @Test

&nbsp;&nbsp;&nbsp; void should\_create\_an\_approved\_leave\_request(BonitaTestToolkit toolkit) {&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var user = toolkit.getUser("walter.bates");

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var processDef = toolkit.getProcessDefinition("LeaveRequest");

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BusinessObjectDAO\<BusinessData\> businessObjectDAO = toolkit.getBusinessObjectDAO("com.company.bonitasoft.model.LeaveRequest");

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assertThat(businessObjectDAO.find(0, 10)).isEmpty();

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var processInstance = processDef.startProcessFor(user);

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; await().until(processInstance, processInstanceStarted()

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .and(containsPendingUserTasks("Validate request")));

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var complexInputBuilder = ComplexInputBuilder.complexInput()

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .booleanInput("isApproved", true);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var task1Contract = ContractBuilder.newContract().complexInput("requestInput", complexInputBuilder).build();

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var task1 = processInstance.getFirstPendingUserTask("Validate request");

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; await().until(task1, hasCandidates(user)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .and(taskReady()));

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; task1.execute(user, task1Contract);

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;await().until(task1, taskArchived());

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; await().until(processInstance, processInstanceArchived());

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // assertThat(processInstance.searchTasks()).map(Task::getName).containsExactlyInAnyOrder("Validate request");

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assertThat(processInstance.getFirstTask("Notify request rejected").isArchived()).isTrue();

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Data assertions

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final List\<BusinessData\> result = businessObjectDAO.query("findRequestorId",

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List.of(QueryParameter.stringParameter("requestorId")), 0, 10);

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assertThat(request.getBooleanField("isApproved")).isTrue();

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };

&nbsp;&nbsp;&nbsp; }

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![romain.bioteau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/romain.bioteau/32/720_2.png) [@romain.bioteau](https://community.ofelia.com/u/romain.bioteau)\
**Post date:** [3 January 2023 08:18 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/2 "2023-01-03T08:18:43Z")

</div>

Hi,

The `bonita-test-toolkit` is an Enterprise only value. You’ll need to request an access token for the [Bonita Artifact Repository](https://documentation.bonitasoft.com/bonita/2022.2/software-extensibility/bonita-repository-access).

HTH  
Romain

---

<div class="post-metadata">

**Author:** ![RegnerRudy](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RegnerRudy](https://community.ofelia.com/u/RegnerRudy)\
**Post date:** [19 January 2023 21:52 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/3 "2023-01-19T21:52:29Z")

</div>

so I have the Bonita Artifact Repository now... but the toolkit is not compiling...

================&nbsp;&nbsp;

PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn  
[INFO] Scanning for projects...  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;0.069 s  
[INFO] Finished at: 2023-01-19T16:41:56-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format \<plugin-prefix\>:\<goal\> or \<plugin-group-id\>:\<plugin-artifact-id\>[:\<plugin-version\>]:\<goal\>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn verify "C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\tests\LeaveRequestCheck\pom.xml"  
[INFO] Scanning for projects...  
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml  
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml  
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 42 kB/s)  
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 60 kB/s) &nbsp; &nbsp; &nbsp;&nbsp;  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;1.104 s  
[INFO] Finished at: 2023-01-19T16:46:04-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No plugin found for prefix 'C' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\RRegner\.m2\repository), central (https://repo.maven.apache.org/maven2)] -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

&nbsp;

==============&nbsp;&nbsp;

these are my java and maven versions&nbsp;

&nbsp;

C:\Users\RRegner\>java -version  
java version "11.0.16.1" 2022-08-18 LTS  
Java(TM) SE Runtime Environment 18.9 (build 11.0.16.1+1-LTS-1)  
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16.1+1-LTS-1, mixed mode)

C:\Users\RRegner\>mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![RegnerRudy](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RegnerRudy](https://community.ofelia.com/u/RegnerRudy)\
**Post date:** [19 January 2023 21:52 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/4 "2023-01-19T21:52:33Z")

</div>

so I have the Bonita Artifact Repository now... but the toolkit is not compiling...

================&nbsp;&nbsp;

PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn  
[INFO] Scanning for projects...  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;0.069 s  
[INFO] Finished at: 2023-01-19T16:41:56-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format \<plugin-prefix\>:\<goal\> or \<plugin-group-id\>:\<plugin-artifact-id\>[:\<plugin-version\>]:\<goal\>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn verify "C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\tests\LeaveRequestCheck\pom.xml"  
[INFO] Scanning for projects...  
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml  
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml  
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 42 kB/s)  
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 60 kB/s) &nbsp; &nbsp; &nbsp;&nbsp;  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;1.104 s  
[INFO] Finished at: 2023-01-19T16:46:04-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No plugin found for prefix 'C' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\RRegner\.m2\repository), central (https://repo.maven.apache.org/maven2)] -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

&nbsp;

==============&nbsp;&nbsp;

these are my java and maven versions&nbsp;

&nbsp;

C:\Users\RRegner\>java -version  
java version "11.0.16.1" 2022-08-18 LTS  
Java(TM) SE Runtime Environment 18.9 (build 11.0.16.1+1-LTS-1)  
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16.1+1-LTS-1, mixed mode)

C:\Users\RRegner\>mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Laurent\_Leseigneur](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/laurent_leseigneur/32/725_2.png) [@Laurent\_Leseigneur](https://community.ofelia.com/u/Laurent_Leseigneur)\
**Post date:** [20 January 2023 09:03 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/5 "2023-01-20T09:03:03Z")

</div>

Hi Rudy,

as explained in documentation,&nbsp;  
https://documentation.bonitasoft.com/test-toolkit/1.0/quick-start

just run `mvn verify`

---

<div class="post-metadata">

**Author:** ![romain.bioteau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/romain.bioteau/32/720_2.png) [@romain.bioteau](https://community.ofelia.com/u/romain.bioteau)\
**Post date:** [22 January 2023 09:23 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/6 "2023-01-22T09:23:19Z")

</div>

You must invoke the `verify` goal in your command.

`
mvn verify
`

[Reference documentation](https://documentation.bonitasoft.com/test-toolkit/1.0/quick-start)

HTH.  
Romain

---

<div class="post-metadata">

**Author:** ![romain.bioteau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/romain.bioteau/32/720_2.png) [@romain.bioteau](https://community.ofelia.com/u/romain.bioteau)\
**Post date:** [3 January 2023 08:15 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/7 "2023-01-03T08:15:42Z")

</div>

Hi,

Did you [configure your settings.xml](https://documentation.bonitasoft.com/bonita/2022.2/software-extensibility/bonita-repository-access#_bonita_maven_repository_declaration) to have access to the `bonita-test-toolkit` dependency ?

---

<div class="post-metadata">

**Author:** ![romain.bioteau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/romain.bioteau/32/720_2.png) [@romain.bioteau](https://community.ofelia.com/u/romain.bioteau)\
**Post date:** [13 January 2023 08:09 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/8 "2023-01-13T08:09:00Z")

</div>

Hi Rudy,

Did you solve your issue ? Do you have an Enterprise subscription or did you think the lib was available for community edition ?

Thanks for the follow up.  
Romain

---

<div class="post-metadata">

**Author:** ![Laurent\_Leseigneur](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/laurent_leseigneur/32/725_2.png) [@Laurent\_Leseigneur](https://community.ofelia.com/u/Laurent_Leseigneur)\
**Post date:** [13 January 2023 08:17 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/9 "2023-01-13T08:17:59Z")

</div>

Hi, as explained by Romain,

Bonita Test Toolkit is not available on maven Central.

The Bonita Artifact Repository requires credential, included in Bonita Subscription. Please open an issue in your Customer Service Center to get them.

Regards,

Laurent

---

<div class="post-metadata">

**Author:** ![RegnerRudy](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RegnerRudy](https://community.ofelia.com/u/RegnerRudy)\
**Post date:** [19 January 2023 21:54 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/10 "2023-01-19T21:54:43Z")

</div>

thank you... I have the bonita test-toolkit repo artifact now.

it's failing to build:

PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn  
[INFO] Scanning for projects...  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;0.069 s  
[INFO] Finished at: 2023-01-19T16:41:56-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format \<plugin-prefix\>:\<goal\> or \<plugin-group-id\>:\<plugin-artifact-id\>[:\<plugin-version\>]:\<goal\>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn verify "C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\tests\LeaveRequestCheck\pom.xml"  
[INFO] Scanning for projects...  
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml  
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml  
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 42 kB/s)  
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 60 kB/s) &nbsp; &nbsp; &nbsp;&nbsp;  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;1.104 s  
[INFO] Finished at: 2023-01-19T16:46:04-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No plugin found for prefix 'C' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\RRegner\.m2\repository), central (https://repo.maven.apache.org/maven2)] -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

&nbsp;

============&nbsp; here are my versions of mvn and java

C:\Users\RRegner\>java -version  
java version "11.0.16.1" 2022-08-18 LTS  
Java(TM) SE Runtime Environment 18.9 (build 11.0.16.1+1-LTS-1)  
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16.1+1-LTS-1, mixed mode)

C:\Users\RRegner\>mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

&nbsp;

---

<div class="post-metadata">

**Author:** ![RegnerRudy](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RegnerRudy](https://community.ofelia.com/u/RegnerRudy)\
**Post date:** [19 January 2023 21:55 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/11 "2023-01-19T21:55:22Z")

</div>

thank you... I have the bonita test-toolkit repo artifact now.

it's failing to build:

PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn  
[INFO] Scanning for projects...  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;0.069 s  
[INFO] Finished at: 2023-01-19T16:41:56-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format \<plugin-prefix\>:\<goal\> or \<plugin-group-id\>:\<plugin-artifact-id\>[:\<plugin-version\>]:\<goal\>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"  
PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn verify "C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\tests\LeaveRequestCheck\pom.xml"  
[INFO] Scanning for projects...  
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml  
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml  
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 42 kB/s)  
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 60 kB/s) &nbsp; &nbsp; &nbsp;&nbsp;  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;1.104 s  
[INFO] Finished at: 2023-01-19T16:46:04-05:00  
[INFO] ------------------------------------------------------------------------  
[ERROR] No plugin found for prefix 'C' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\RRegner\.m2\repository), central (https://repo.maven.apache.org/maven2)] -\> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

&nbsp;

============&nbsp; here are my versions of mvn and java

C:\Users\RRegner\>java -version  
java version "11.0.16.1" 2022-08-18 LTS  
Java(TM) SE Runtime Environment 18.9 (build 11.0.16.1+1-LTS-1)  
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16.1+1-LTS-1, mixed mode)

C:\Users\RRegner\>mvn -version  
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)  
Maven home: C:\Users\RRegner\Downloads\apache-maven-3.8.6  
Java version: 11.0.16.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.16.1  
Default locale: en\_US, platform encoding: Cp1252  
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

&nbsp;

---

<div class="post-metadata">

**Author:** ![RegnerRudy](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RegnerRudy](https://community.ofelia.com/u/RegnerRudy)\
**Post date:** [20 January 2023 19:40 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/12 "2023-01-20T19:40:16Z")

</div>

thanks Laurent...&nbsp;

now the build is successful

PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn verify  
[INFO] Scanning for projects...  
[INFO]&nbsp;  
[INFO] -----------------\< LeaveRequestTest:LeaveRequestCheck \>-----------------  
[INFO] Building MVC 1.0 Blank Project (from https://github.com/making/mvc-1.0-blank) 1.0-SNAPSHOT  
[INFO] --------------------------------[war]---------------------------------  
[INFO]&nbsp;  
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ LeaveRequestCheck ---  
[INFO] Using 'UTF-8' encoding to copy filtered resources.  
[INFO] skip non existing resourceDirectory C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\src\main\resources  
[INFO]  
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ LeaveRequestCheck ---  
[INFO] No sources to compile  
[INFO]  
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ LeaveRequestCheck ---  
[INFO] Using 'UTF-8' encoding to copy filtered resources.  
[INFO] skip non existing resourceDirectory C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\src\test\resources  
[INFO]  
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ LeaveRequestCheck ---  
[INFO] No sources to compile  
[INFO]  
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ LeaveRequestCheck ---  
[INFO]&nbsp;  
[INFO] --- maven-war-plugin:2.3:war (default-war) @ LeaveRequestCheck ---  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by com.thoughtworks.xstream.converters.collections.TreeMapConverter (file:/C:/Users/RRegner/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar) to field java.util.TreeMap.comparator  
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.converters.collections.TreeMapConverter  
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
WARNING: All illegal access operations will be denied in a future release  
[INFO] Packaging webapp  
[INFO] Assembling webapp [LeaveRequestCheck] in [C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\target\LeaveRequestCheck-1.0-SNAPSHOT]  
[INFO] Processing war project  
[INFO] Webapp assembled in [28 msecs]  
[INFO] Building war: C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\target\LeaveRequestCheck-1.0-SNAPSHOT.war  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD SUCCESS  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;0.925 s  
[INFO] Finished at: 2023-01-20T13:35:39-05:00  
[INFO] ------------------------------------------------------------------------

&nbsp;

---

<div class="post-metadata">

**Author:** ![RegnerRudy](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RegnerRudy](https://community.ofelia.com/u/RegnerRudy)\
**Post date:** [20 January 2023 19:40 UTC](https://community.ofelia.com/t/mvn-verify-not-working-missing-pom-xml-for-bonita-test-toolkit/11460/13 "2023-01-20T19:40:59Z")

</div>

thanks Laurent...&nbsp;

now the build is successful

PS C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\> mvn verify  
[INFO] Scanning for projects...  
[INFO]&nbsp;  
[INFO] -----------------\< LeaveRequestTest:LeaveRequestCheck \>-----------------  
[INFO] Building MVC 1.0 Blank Project (from https://github.com/making/mvc-1.0-blank) 1.0-SNAPSHOT  
[INFO] --------------------------------[war]---------------------------------  
[INFO]&nbsp;  
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ LeaveRequestCheck ---  
[INFO] Using 'UTF-8' encoding to copy filtered resources.  
[INFO] skip non existing resourceDirectory C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\src\main\resources  
[INFO]  
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ LeaveRequestCheck ---  
[INFO] No sources to compile  
[INFO]  
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ LeaveRequestCheck ---  
[INFO] Using 'UTF-8' encoding to copy filtered resources.  
[INFO] skip non existing resourceDirectory C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\src\test\resources  
[INFO]  
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ LeaveRequestCheck ---  
[INFO] No sources to compile  
[INFO]  
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ LeaveRequestCheck ---  
[INFO]&nbsp;  
[INFO] --- maven-war-plugin:2.3:war (default-war) @ LeaveRequestCheck ---  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by com.thoughtworks.xstream.converters.collections.TreeMapConverter (file:/C:/Users/RRegner/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar) to field java.util.TreeMap.comparator  
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.converters.collections.TreeMapConverter  
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
WARNING: All illegal access operations will be denied in a future release  
[INFO] Packaging webapp  
[INFO] Assembling webapp [LeaveRequestCheck] in [C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\target\LeaveRequestCheck-1.0-SNAPSHOT]  
[INFO] Processing war project  
[INFO] Webapp assembled in [28 msecs]  
[INFO] Building war: C:\BonitaStudioSubscription-2022.2-u1\workspace\testingproject\target\LeaveRequestCheck-1.0-SNAPSHOT.war  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD SUCCESS  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: &nbsp;0.925 s  
[INFO] Finished at: 2023-01-20T13:35:39-05:00  
[INFO] ------------------------------------------------------------------------

&nbsp;
