jeudi 18 juin 2015

How to build dart project with maven?

I need to build my dart project with maven.
I've found dart maven plugin for this goal and it works fine for resolving dependencies.
In dart I compile my project with two commands:
1. pub get
2. pub build
So, when I write - "mvn dart:pub" it gets all dependencies.
Now I need to build my project. So, I write - "mvn dart:pub -DpubCommand=build"
But it doesn't work, it still resolving dependencies.
How can I build project with dart maven plugin?

Aucun commentaire:

Enregistrer un commentaire