Loading source files for package com.pi4j.wiringpi...
5 errors
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Pi4J :: Parent POM ................................. SUCCESS [ 1.223 s]
[INFO] Pi4J :: Java Library (Core) ........................ FAILURE [ 4.995 s]
[INFO] Pi4J :: GPIO Extension ............................. SKIPPED
[INFO] Pi4J :: Device Abstractions ........................ SKIPPED
[INFO] Pi4J :: Java Examples .............................. SKIPPED
[INFO] Pi4J :: OSGi Service ............................... SKIPPED
[INFO] Pi4J :: Distribution ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.120 s
[INFO] Finished at: 2016-01-17T15:23:14+01:00
[INFO] Final Memory: 41M/558M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.2:jar (attach-javadocs) on project pi4j-core: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - E:\AppData\Git\pi4j\pi4j-core\src\main\java\com\pi4j\wiringpi\Gpio.java:709: error: unmappable character for encoding UTF-8
[ERROR] * <p> The PWM generator can run in 2 modes ▒ ▒balanced?? and ▒mark:space??. The mark:space mode is traditional, however
[ERROR] ^
[ERROR] E:\AppData\Git\pi4j\pi4j-core\src\main\java\com\pi4j\wiringpi\Gpio.java:709: error: unmappable character for encoding UTF-8
[ERROR] * <p> The PWM generator can run in 2 modes ▒ ▒balanced?? and ▒mark:space??. The mark:space mode is traditional, however
[ERROR] ^
[ERROR] E:\AppData\Git\pi4j\pi4j-core\src\main\java\com\pi4j\wiringpi\Gpio.java:710: error: unmappable character for encoding UTF-8
[ERROR] * the default mode in the Pi is ▒balanced??. You can switch modes by supplying the parameter: PWM_MODE_BAL or PWM_MODE_MS.</p>
[ERROR] ^
[ERROR] E:\AppData\Git\pi4j\pi4j-core\src\main\java\com\pi4j\wiringpi\Gpio.java:743: error: unmappable character for encoding UTF-8
[ERROR] * <p> This sets the ▒strength?? of the pad drivers for a particular group of pins. There are 3 groups of pins and the drive strength is from 0 to 7. Do not use this unless you know what you are doing. </p>
[ERROR] ^
[ERROR] E:\AppData\Git\pi4j\pi4j-core\src\main\java\com\pi4j\wiringpi\Gpio.java:765: error: unmappable character for encoding UTF-8
[ERROR] * <p> This sets the ▒frequency?? of a GPIO pin </p>
[ERROR] ^
When I changed all those special characters into the regular double-quotes, single quotes or hyphens, the whole Pi4j project compiled again flawlessly.
Still a mystery as to why the file content is changed, why maven (javadoc, in fact, since the "problems" where in commented lines, not in real code) is having issues with those special characters and why I am having those issues...
PS: where's the trigger that changes the year in all headers? Is it something in one of the POM files? Just curious to know...