当前位置: 动力学知识库 > 问答 > 编程问答 >

version control - add additional eclipse project nature during checkout a existing maven project from scm

问题描述:

in our parent pom (AggregatorStruktur) we try to add nature with maven-eclipse-plugin

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-eclipse-plugin</artifactId>

<version>2.9</version>

<configuration>

<additionalProjectnatures>

<projectnature>com.holiday.mytrend.model.mytrendnature</projectnature>

</additionalProjectnatures>

<additionalBuildcommands>

<buildcommand>net.sf.eclipsecs.core.CheckstyleBuilder</buildcommand>

</additionalBuildcommands>

<additionalProjectnatures>

<projectnature>net.sf.eclipsecs.core.CheckstyleNature</projectnature>

</additionalProjectnatures>

</configuration>

</plugin>

分享给朋友:
您可能感兴趣的文章:
随机阅读: