Furcanzo / ing-sw-2019-Buratti-Capra-Chiudinelli

0 stars 1 forks source link

error in jenkins #2

Closed ingconti closed 5 years ago

ingconti commented 5 years ago

[WARNING] [WARNING] Some problems were encountered while building the effective model for it.polimi.ingsw:AM25:jar:1.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter-api:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 26, column 22 [WARNING] 'dependencies.dependency.version' for org.testng:testng:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 32, column 22 [WARNING] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter-api:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 38, column 22 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter-api:jar -> duplicate declaration of version RELEASE @ line 35, column 21 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar -> duplicate declaration of version 4.11 @ line 47, column 21

Kiudi commented 5 years ago

Buongiorno, grazie per la segnalazione. Abbiamo sistemato alcuni warning ma ne rimane uno che non sappiamo come sistemare. Di seguito i messaggi di warning:

[WARNING] [WARNING] Some problems were encountered while building the effective model for it.polimi.ingsw:AM25:jar:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 12, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING]

Quale versione di org.apache.maven.plugins:maven-compiler-plugin dobbiamo aggiungere? Grazie ancora e buona serata.

ingconti commented 5 years ago

date un occhio qui. mi pare il vs caso.

https://stackoverflow.com/questions/4123044/maven-3-warnings-about-build-plugins-plugin-version

Kiudi commented 5 years ago

Sull'orlo della fine, ma dovremmo essere riusciti a sistemare il tutto

ingconti commented 5 years ago

different errors now:

[INFO] ------------------------------------------------------- [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /var/jenkins_home/workspace/AM25/target/surefire-reports/2019-04-09T04-49-40_991-jvmRun1.dumpstream [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [ERROR] There are test failures.

PaoloC96 commented 5 years ago

Salve, dovremmo aver risolto questi errori.