LeonardoBrusini / ingsw2022-AM28

PROVA FINALE (INGEGNERIA DEL SOFTWARE)
3 stars 0 forks source link

Commit just code that compile. #4

Closed cerutigiacomo closed 2 years ago

LeonardoBrusini commented 2 years ago

Now it should compile

ingconti commented 2 years ago

with a lot of warnings:

Some problems were encountered while building the effective model for it.polimi.ingsw:AM28:jar:1.0-SNAPSHOT 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 29, column 20 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 35, column 16 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter:jar -> duplicate declaration of version RELEASE @ line 32, column 17 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 41, column 16 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter:jar -> duplicate declaration of version RELEASE @ line 38, column 17 It is highly recommended to fix these problems because they threaten the stability of your build. For this reason, future Maven versions might no longer support building such malformed projects.

I Suspect malformed POM

LeonardoBrusini commented 2 years ago

how should I correct the POM?

ingconti commented 2 years ago

you have related values, unit 4 and 5

junit junit 4.11 test
  <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <version>5.8.2</versi
LeonardoBrusini commented 2 years ago

so it should be fixed now

cerutigiacomo commented 2 years ago

Commit more tests, one for each model class at least.