Custom plugins should now be placed in snap/plugins.
introduced in snapcraft 2.26
Originally snapcraft custom plugins were designed to be put in
to avoid over-polluting the local directory with too many artifacts. A few
problems manifested with this approach:
- Many just deleted the
partsdirectory where the plugins lived in to start over and were confused when their plugins suddenly weren’t found.
- The need for new files in the layout.
As a result, a new schema was needed. The new design introduces the
directory to hold all specific snapcraft assets,
with this in mind a new location was set for custom plugins, and that is
To move to the new schema, for plugins all you need to do is:
mkdir snap mv parts/plugins snap/
and apply those changes to your VCS if you are using one.