开源软件名称(OpenSource Name):dart-maven-plugin/dart-maven-plugin开源软件地址(OpenSource Url):https://github.com/dart-maven-plugin/dart-maven-plugin开源编程语言(OpenSource Language):Java 57.1%开源软件介绍(OpenSource Introduction):#Maven Dart Plugin The Dart Maven Plugin provides integration for Google Dart into a maven build process. It looks for folders with dart package layout #Changenotes ###3.0.0
#Setup The plugin needs a dart-sdk installed on the system it should be executed. By default it will look for the environment variable DART_SDK. So please set this variable. It is possible to overwrite this in the plugin configuration section. #Artifact coordinates The plugin is released as com.github.dzwicker.dart:dart-maven-plugin #Requirements The Dart Maven Plugin needs maven 3.0+ and JDK 7. #Goals Overview The Dart Plugin has one goal (besides the help goal). It is already bound to his proper phase within the Maven Lifecycle (compile) and is therefore, automatically executed during his respective phase.
#Usage The dart2js goal uses the dart2js compiler from the dart project to compile any dart file to javascript (js file) and a map.js file. It will download the latest dart SDK into the dartOutputDirectory [${project.build.directory}/dependency/dart] for the used OS and architecture. By default it will look for dart files in src/main/dart and will place the javascript files under ${project.build.directory}/dart. More configuration details: Please use mvn dart:help for more information. #Example An example can be found in the dart-maven-plugin-example folder inside the git repository. #Maven repository The Dart Maven Plugin is deployed to the central repository. Authors and ContributorsDaniel Zwicker founded the project on GitHub. Committer |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论