'Primefaces: how to build primefaces.jar only
PrimeFaces: how to build primefaces.jar only without running tests, building docs, etc.
Need to quick check its changes with our app.
mvn install
Will do everything.
Solution 1:[1]
With PrimeFaces 12 a quick profile was introduced:
<!-- Quick build for developers which skips many build steps for speed -->
<profile>
<id>quick</id>
<properties>
<maven.test.skip>true</maven.test.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.source.skip>true</maven.source.skip>
<checkstyle.skip>true</checkstyle.skip>
<license.skipCheckLicense>true</license.skipCheckLicense>
<license.skipAddThirdParty>true</license.skipAddThirdParty>
<license.skipAggregateDownloadLicenses>true</license.skipAggregateDownloadLicenses>
</properties>
</profile>
Use with the profile attribute, like:
mvn clean install -Pquick
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jasper de Vries |
