Forum Discussion

TwoFang's avatar
TwoFang
Contributor
2 years ago

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 e...
  • Yki's avatar
    2 years ago

    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>
    ...