Common Maven Options You May Want to Use

How to integrate Artifactory with OpenID Connect OAuth 2.0 ?

AuthorFullName__c
Nimer Bsoul
articleNumber
000004350
ft:sourceType
Salesforce
FirstPublishedDate
2019-06-04T08:05:03Z
lastModifiedDate
2024-03-10T07:47:39Z
VersionNumber
9

To skip unit tests, add the following option:

$ mvn -DskipTests package

To skip JavaDoc generation, add the following option:

$ mvn -Dmaven.javadoc.skip=true package

To configure an http and https proxy, add the following option (especially because it seems that Maven on Linux doesn't always read the settings.xml file):

$ mvn -Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy -Dhttps.proxyPort=80 package