The current default nature of the project is 'org.eclipse.jdt.core.javanature' (Java nature) But I want change the default nature of the project to org.nodeclipse.ui.NodeNature' (nodejs).
Where should I specify this plugin in the maven archetype and in which phase .
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<projectnature>org.nodeclipse.ui.NodeNature</projectnature>
<projectnature>org.eclipse.wst.jsdt.core.jsNature</projectnature>
<projectnature>tern.eclipse.ide.core.ternnature</projectnature>
<buildcommand>com.eclipsesource.jshint.ui.builder</buildcommand>
</configuration>
</plugin>
</plugins>
</build>
Its not working for me .Any thoughts?.
Thanks