当前位置: 代码迷 >> Eclipse >> maven-eclipse-plugin 运用示例
  详细解决方案

maven-eclipse-plugin 运用示例

热度:59   发布时间:2016-04-23 12:31:53.0
maven-eclipse-plugin 使用示例
<plugin>	<groupId>org.apache.maven.plugins</groupId>	<artifactId>maven-eclipse-plugin</artifactId>	<version>2.8</version>	<configuration>		<classpathContainersLast>true</classpathContainersLast>		<classpathContainers>			<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>			<classpathContainer>com.google.gwt.eclipse.core.GWT_CONTAINER</classpathContainer>		</classpathContainers>		<additionalProjectnatures>			<projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature>		</additionalProjectnatures>		<additionalBuildcommands>			<buildcommand>com.google.gdt.eclipse.core.webAppProjectValidator</buildcommand>			<buildcommand>com.google.gwt.eclipse.core.gwtProjectValidator</buildcommand>		</additionalBuildcommands>		<additionalConfig>			<file>				<name>.settings/com.google.gwt.eclipse.core.prefs</name>				<content>					<![CDATA[						eclipse.preferences.version=1						entryPointModules=						filesCopiedToWebInfLib=gwt-servlet.jar					]]>				</content>			</file>			<!-- 工程的编码设置 -->			<file>				<name>.settings/org.eclipse.core.resources.prefs</name>				<content>                    <![CDATA[                        eclipse.preferences.version=1                        encoding/<project>=UTF-8                    ]]>				</content>			</file>			<!-- 生成gwt插件的文件 -->			<file>				<name>.settings/com.google.gdt.eclipse.core.prefs</name>				<content>					<![CDATA[						eclipse.preferences.version=1						jarsExcludedFromWebInfLib=						warSrcDir=src/main/webapp						warSrcDirIsOutput=false					]]>				</content>			</file>		</additionalConfig>	</configuration></plugin>
  相关解决方案