ReadyAPI maven plugin configuration regarding the <slm> parameters
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ReadyAPI maven plugin configuration regarding the <slm> parameters
Found documentation here https://support.smartbear.com/readyapi/docs/integrations/maven/index.html?sbsearch=%20ReadyAPI%20Mav...
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
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Yki Thank you for the help pointing out where to add my slmAccessKey, with this info and adding some new repository urls to our artifactory (so that our jenkins could actually download 3.46.0) I got everything working
Best Regards
/N
