[ 
http://jira.codehaus.org/browse/MECLIPSE-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuri Schimke closed MECLIPSE-283.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3

OK I worked it out, while I need to define the defaults in the parent 
<pluginManagement>, I still need to include the plugin for each individual 
module.

> Can't set ProjectNatures and BuildCommands for a Multi Module Build
> -------------------------------------------------------------------
>
>                 Key: MECLIPSE-283
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-283
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: multiproject
>    Affects Versions: 2.3
>            Reporter: Yuri Schimke
>             Fix For: 2.3
>
>
> When running eclipse:eclipse the ProjectNatures and BuildCommands that I set 
> in the parent POM do not get applied to the modules below.
> I'd like to include the checkstyle and Spring IDE features once at the top 
> level and not have to specify in each individual POM.xml
> <build> 
>   <pluginManagement>
>    <plugins>
>          <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-eclipse-plugin</artifactId>
>           <configuration>
>             <additionalProjectnatures>
>               
> <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
>               
> <projectnature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</projectnature>
>             </additionalProjectnatures>
>             <additionalBuildcommands>
>               
> <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
>               
> <buildcommand>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</buildcommand>
>             </additionalBuildcommands>
>           </configuration>
>       </plugin>
>      </plugins>
> </pluginManagement> 
> </build> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to