ARTIFACTORY: How to add arguments to JFrog maven task

AuthorFullName__c
Andrew Roellig
articleNumber
000005957
FirstPublishedDate
2024-01-07T07:41:42Z
lastModifiedDate
2025-05-21

ARTIFACTORY: How to add arguments to JFrog maven task

In order to add extra arguments to the JFrog Maven task we can pass these arguments along with the goal. For Sonarqube as an example, Analyzing a Maven project consists of running a Maven goal: sonar:sonar from the directory that holds the main project pom.xml. You need to pass an authentication token using the sonar.login property in your command line.

For example:

jf mvn clean verify sonar:sonar -Dsonar.login=myAuthenticationToken