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

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>
主站蜘蛛池模板: 赤壁市| 积石山| 奉贤区| 施甸县| 华亭县| 安庆市| 容城县| 新竹县| 高陵县| 太湖县| 阳江市| 方正县| 武功县| 邢台县| 宁国市| 且末县| 莒南县| 博湖县| 武清区| 临沧市| 丰镇市| 辉南县| 临海市| 垦利县| 凭祥市| 丽江市| 板桥市| 潮州市| 林口县| 衢州市| 长春市| 承德县| 特克斯县| 青龙| 景东| 定结县| 会同县| 威海市| 于都县| 依兰县| 江安县|