The version used in the NCMLModifier was hard coded to "2.2.3", which obviously has not been updated with every release. This PR:
gets version from maven by adding a project.properties, and adding that as a resource in the build phase to the pom. This causes the ${project.version} to get filled in with the current version with the project is built. That version can then be used by getting that property.
Add unit test that the version is being retrieved
Move unit tests ThreddsExtentUtilTest and NCMLModifierTest to the correct package for the class they are testing.
The version used in the
NCMLModifier
was hard coded to "2.2.3", which obviously has not been updated with every release. This PR:${project.version}
to get filled in with the current version with the project is built. That version can then be used by getting that property.ThreddsExtentUtilTest
andNCMLModifierTest
to the correct package for the class they are testing.