stevedlawrence opened a new pull request, #147:
URL: https://github.com/apache/daffodil-sbt/pull/147
This adds two new implicit enrichments to ModuleId, which allows projects to
more easily specify dependencies to Daffodil plugins or saved parsers without
needing to know the details of how to reference them (e.g. Artifacts,
classifiers, types, extensions).
For example, depending on a plugin and saved parser now looks like this:
libraryDependences ++= Seq(
"org.example" % "dfdl-plugin" % "1.0.0"
daffodilPlugin(daffodilVersion.value),
"org.example" % "dfdl-fmt" % "1.0.0"
daffodilBin(daffodilVersion.value)
)
This causes SBT to download the the specified plugin and saved parser,
allowing for easy testing or creationg of relase bundles.
Note that this also removes the daffodilPluginDependences setting--the
daffodilPlugin enrichment provides the same core functionality.
Also updates the cross-version-03 testto use the new enrichments. A new
"bundle" project is added to the test to depend on saved parsers and show how
to copy the plugin and parsers to a directory. This mimicks one possible way to
automate creating releases of pre-compiled artifacts.
Closes #146
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]