NutzCN Logo
问答 nutzboot-maven-plugin怎样指定mainClass
发布于 547天前 作者 wx_latcg0cou3lvl3g2g3a6 681 次浏览 复制 上一个帖子 下一个帖子
标签:

我看nutzboot-maven-plugin的源码好像可以指定 mainClass吧?

怎么指定?我改了NbApp(继承了一下),导致找不到。

<plugin>
				<groupId>org.nutz.boot</groupId>
				<artifactId>nutzboot-maven-plugin</artifactId>
				<version>${nutzboot.version}</version>
				<executions>
					<execution>
						<phase>package</phase>
						<configuration>
							<archive>
								<manifest>
									<mainClass>com.xxxx.xxxx..MainLauncher</mainClass>
								</manifest>
							</archive>
						</configuration>
					</execution>
				</executions>
			</plugin>
1 回复
添加回复
请先登陆
回到顶部