You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "stevedlawrence (via GitHub)" <gi...@apache.org> on 2024/04/23 15:17:40 UTC

[I] Require plugin to be explicitly enabled [daffodil-sbt]

stevedlawrence opened a new issue, #25:
URL: https://github.com/apache/daffodil-sbt/issues/25

   Currently, if this plugin is added to a project with "addSbtPlugin" in plugins.sbt, then it is automatically enabled for all subprojects as well. For projects that are made up of multiple subprojects, some of which might not be DFDL schema projects, this might not be desired, since it automatically adds things like test dependencies.
   
   We should change this plugin so it must be explicitly enabled by adding `enablePlugins(DaffodilPlugin)` in the build.sbt file.
   
   This would have the added benefit that you can more easily tell a project is a DFDL project by looking at the build.sbt, since often the defaults provided by the plugin are good enough that all that is needed is the "enablePlugins" line.
   
   Additionally, we may want to create plugins in the future that are separate from this but depend on it and are enabled only if this plugin is enabled (e.g. IBM cross tester, XSAT). SBT provides that capability, but it means this plugin must not be automatically enabled.


-- 
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: commits-unsubscribe@daffodil.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Require plugin to be explicitly enabled [daffodil-sbt]

Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence closed issue #25: Require plugin to be explicitly enabled
URL: https://github.com/apache/daffodil-sbt/issues/25


-- 
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: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org