在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):torquebox/jruby-maven-plugins开源软件地址(OpenSource Url):https://github.com/torquebox/jruby-maven-plugins开源编程语言(OpenSource Language):Java 76.0%开源软件介绍(OpenSource Introduction):jruby maven pluginsgem artifactsthere is maven repository with torquebox.org which delivers gem (only ruby and java platform) from rubygems.org as gem-artifacts. adding this repository to pom.xml (or settings.xml) enables maven to use gem-artifacts like this
now maven will resolve the transient dependencies of the compass gem and downloads the artifact (includng the gem file) into the local repository. the next question is how to use those artfacts: installing gems into you project directoryjust add the gem-maven-plugin in your pom and execute the 'initialize'. that will install the gem artfacts and its depdencencies into 'target/rubygems'
the will added as test-resource in way that you can use them with ScriptingContainer (from jruby) - see src/test/java/org/example/javasass/JavaSassTest.java from integration tests. example: execute bin/compass from the compass gemadd the following to you pom
this will execute compass from the compass gem during the compile phase. you can further isolate the gems by moving the dependency from root level into the plugin.
see also gem-maven-plugin/src/it/execute-compass-with-gems-from-plugin more examplesfor more example look into the integration test of the various plugins running the intergration tests
contributing
meta-fuenjoy :) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论