官术网_书友最值得收藏!

Using the all-open plugin in Maven

The all-open plugin for Maven can be used as follows:

    <plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>${kotlin.version}</version>
<configuration>
<compilerPlugins>
<plugin>all-open</plugin>
</compilerPlugins>
<pluginOptions>
<option>all-open:all-open:annotation=javax.inject.Inject</option>
<option>all-open:annotation=all-open:annotation=javax.ejb.Stateless</option>
</pluginOptions>
</configuration>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-allopen</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
</plugin>
主站蜘蛛池模板: 徐闻县| 丹阳市| 苏尼特右旗| 山阴县| 永济市| 博罗县| 大城县| 新乡县| 卢龙县| 阿合奇县| 凤凰县| 高安市| 龙游县| 吴堡县| 浦县| 平谷区| 南充市| 金湖县| 安仁县| 元阳县| 石景山区| 江津市| 曲麻莱县| 龙江县| 山东省| 梧州市| 米泉市| 北川| 彰武县| 南通市| 新建县| 慈利县| 南木林县| 曲周县| 和田县| 周至县| 新巴尔虎右旗| 休宁县| 德化县| 锡林浩特市| 拜泉县|