JoyOfCodingPDX / GettingStarted

Helps students in Contemporary Software Development get started with the programming assignments.
https://web.cecs.pdx.edu/~whitlock/
Apache License 2.0
6 stars 15 forks source link

Instruct students how to remove the "incorrect parent POM" warning #21

Closed DavidWhitlock closed 2 years ago

DavidWhitlock commented 3 years ago

Several students have expressed concern over this warning issued by the Maven builds of their projects:

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for edu.pdx.cs410J.whitlock:apptbook-web:war:2021.0.0
[WARNING] 'parent.relativePath' of POM edu.pdx.cs410J.whitlock:apptbook-web:2021.0.0 (/Users/david/PSU/git/PortlandStateJavaSummer2021/apptbook-web/pom.xml) points at edu.pdx.cs410J.whitlock:PortlandStateJavaSummer2021 instead of io.github.davidwhitlock.cs410J:cs410j, please verify your project structure @ line 3, column 11
[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] 

I should augment the README.txt to explain what this warning is, why it's okay to live with, and how to fix it.

DavidWhitlock commented 2 years ago

See https://github.com/DavidWhitlock/PortlandStateJavaSummer2021/commit/94e943ce0cd37db0e0d919aa4a8149a049b85a64 for an example of to address this warning.

DavidWhitlock commented 2 years ago

This issue will be addressed by the changes for Winter 2021.