How to programmatically call a Maven-task

前端 未结 4 1590
孤独总比滥情好
孤独总比滥情好 2021-02-05 08:34

I\'m using Maven in the context of another build-tool (leiningen for Clojure, but this should not matter), and I would like to know how I would call a plugin like dependency:bui

4条回答
  •  悲哀的现实
    2021-02-05 09:05

    The Ant Maven tasks can give you an idea how to do it (DependenciesTask source). Another route may be the PomModuleDescriptorParser used by Ivy.

提交回复
热议问题