Open fulldecent opened 5 years ago
Thanks. I will try to add a proper comment. The maven warnings are harmless. As avm jars are not in maven central repo, we have to use the system scope and copy the avm jars from maven plugin to lib folder during initialization. I think, the build stability warning comes for system scope dependencies. But it doesn't have any impact in runtime or packaging of final jar as long as initialize is executed, otherwise build will fail. I will explore if this warning can be avoided.
The build system warnings are harmless
^^ Famous last words!
I have been studying best practices in Aion and am documenting them here https://github.com/fulldecent/aion-aip010
specifically relevant here is https://github.com/junit-team/junit5-samples/tree/master/junit5-jupiter-starter-maven which builds without warnings.
I will try to upgrade the archetype to junit5 in next archetype release. Currently its using junit4. But I still believe the warning is due to the usage of system scope in dependency.
pom.xml currently includes this:
And the maven initialization phase currently produces warnings:
Please update this comment to better document why this dependency should not be changed and why we should trust this comment in the file (which is copy-pasted for generations) instead of what Maven says.