bbottema / simple-java-mail

Simple API, Complex Emails (Jakarta Mail smtp wrapper)
http://www.simplejavamail.org
Apache License 2.0
1.2k stars 261 forks source link

Unable to compile #490

Closed roy20021 closed 4 months ago

roy20021 commented 5 months ago

Hello,

I am trying to compile the project (mvn clean install) but it fails: [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.5:report-aggregate (report-aggregate) on project jacoco-aggregator-module: An error has occurred in JaCoCo Aggregate report generation.: Error while creating report: Error while analyzing C:\Users\AndreaEsposito\repositories\simple-java-mail\modules\authenticated-socks-module\target\classes\org\simplejavamail\internal\authenticatedsockssupport\AuthenticatedSocksHelper.class. Cannot process instrumented class org/simplejavamail/internal/authenticatedsockssupport/AuthenticatedSocksHelper. Please supply original non-instrumented classes. -> [Help 1]

mvn --version Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8) Maven home: C:\Users\AndreaEsposito\opt\apache-maven-3.9.1 Java version: 1.8.0_382, vendor: Temurin, runtime: C:\Program Files\Eclipse Adoptium\jdk-8.0.382.5-hotspot\jre Default locale: it_IT, platform encoding: Cp1252 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows

git status HEAD detached at 8.6.1

I haven't found any particular instructions on the repo. Can I have support, please?

bbottema commented 5 months ago

What Java and Maven version are you using? OS?

roy20021 commented 5 months ago

@bbottema it is written in the comment above.

Java version: 1.8.0_382, Apache Maven 3.9.1, windows 11

Looking forward for your support

bbottema commented 5 months ago

Strange, I'm not able to reproduce the issue. However, you can just skip jacoco altogether and just provide -Djacoco.skip=true as command line option.