infrastructurebuilder / ibdata-reference-root

Root of IBData codebase.
0 stars 0 forks source link

Local file ingestion should have source URL path replaced with `${basedir}` #40

Closed mykelalvis closed 4 years ago

mykelalvis commented 4 years ago

Related to #29, the serializer for IBData models should replace the VALUE string for ${basedir} to the ACTUAL string ${basedir}.

Currently, in the persisted model, the full path that was used to build the artifact is recorded. That's not quite acceptable, in that it's (a) not portable and (b) reveals things about the backing system that are inappropriate

      <sourceURL>file:///home/mykel.alvis/git/ibdata-reference-root/ibdata-maven-plugin/target/it/multi/src/main/resources/test.zip</sourceURL>

should really be

      <sourceURL>file://${basedir}/it/multi/src/main/resources/test.zip</sourceURL>

This might need to be parameterized flag, but if it is it should default to true.