TwoFang
2 years agoContributor
ReadyAPI maven plugin configuration regarding the <slm> parameters
Found documentation here https://support.smartbear.com/readyapi/docs/integrations/maven/index.html?sbsearch=%20ReadyAPI%20Maven%20Plugin
where it states:
You may provide your credentials by either enclosing them within the <slmAccessKey>Access_Key</slmAccessKey> tag, or by using the <slmUsername>Username</slmUsername> and <slmPassword>Password</slmPassword> tags.
The problem here is that i have no clue where in my pom.xml file where these should be added and the example pom.xml file have not been updated so that one gives no hint either.
Do anyone know where to include these tags in the pom.xml file?
Regards
/N
Huhu TwoFang
I was able to figure it out with ChatGPT π
It has to be in the configuration part
... <plugins> <plugin> <groupId>com.smartbear</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>3.46.0</version> <configuration> <!--<globalProperties> <value>preemptive=true</value> </globalProperties> --> <slmAccessKey>your-access-key</slmAccessKey> <projectFile>project_folder</projectFile> <printReport>false</printReport> <outputFolder>${project.build.directory}/readyapi</outputFolder> <junitReport>true</junitReport> <exportAll>true</exportAll> <readyApiProperties> <property> <name>readyapi.logroot</name> <value>${project.build.directory}/readyapi-logs/</value> </property> <property> <name>licenseApiAccessForEveryone</name> <value>true</value> </property> </readyApiProperties> ...