[ http://jira.codehaus.org/browse/MNG-1430?page=all ]

Dan Allen updated MNG-1430:
---------------------------

    Attachment: MNG-1430.txt

This patch adds the project natures and builders for the WTP 0.71 out of the 
box (instead of forcing every user to have to add these to the plugin 
configuration).  After all, maven is supposed to be "smart" about your project 
and require little to no configuration.  Maven adds these natures and builders 
to the .project file when the packaging is specified to be "war".

I have also configured the ".deployables" directory correctly so that eclipse 
will be able to import the project and deploy it without a single glitch (this 
includes creating this directory).

Finally, I have added a few additional dependency artifactId names that will 
help to determine the servlet version used in the .wtpmodules file.

> add j2ee project nature/builders to generated .project file
> -----------------------------------------------------------
>
>          Key: MNG-1430
>          URL: http://jira.codehaus.org/browse/MNG-1430
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-eclipse-plugin
>     Versions: 2.0
>  Environment: maven 2.0 on linux
>     Reporter: Dan Allen
>  Attachments: MNG-1430.txt
>
>
> When the eclipse:eclipse target generates the .project file for a war project 
> in maven, the .project file contains only the natures and builders for a 
> regular java project.  The additional information is as follows for WTP 0.71
>           <buildCommand>
>               
> <name>org.eclipse.wst.common.modulecore.ComponentStructuralBuilder</name>
>               <arguments>
>               </arguments>
>           </buildCommand>
>           <buildCommand>
>           <buildCommand>
>               <name>org.eclipse.wst.validation.validationbuilder</name>
>               <arguments>
>               </arguments>
>           </buildCommand>
>           <buildCommand>
>               
> <name>org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependen    
>           <arguments>
>               </arguments>
>           </buildCommand>
>           <buildCommand>
>               
> <name>org.eclipse.wst.common.modulecore.DependencyGraphBuilder</name>
>               <arguments>
>               </arguments>
>           </buildCommand>
>          <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
>          <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to