[ 
https://issues.apache.org/jira/browse/MECLIPSE-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MECLIPSE-188.
-----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> Support for Maven2 project nature
> ---------------------------------
>
>                 Key: MECLIPSE-188
>                 URL: https://issues.apache.org/jira/browse/MECLIPSE-188
>             Project: Maven Eclipse Plugin
>          Issue Type: New Feature
>          Components: M2Eclipse support
>            Reporter: Przemek Kubicki
>
> Since eclipse has nice plugin http://m2eclipse.codehaus.org/ for maven2 
> projects, you should provide this type of project nature
> below there are .project and .classpath files which has the declaration of m2 
> nature
> przemek@przemek ~/mag/modules/web $ cat .project 
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
>       <name>mag-web</name>
>       <comment>Some project</comment>
>       <projects>
>               <project>mag-common</project>
>       </projects>
>       <buildSpec>
>               <buildCommand>
>                       <name>org.eclipse.jdt.core.javabuilder</name>
>                       <arguments>
>                       </arguments>
>               </buildCommand>
>               <buildCommand>
>                       <name>org.maven.ide.eclipse.maven2Builder</name>
>                       <arguments>
>                       </arguments>
>               </buildCommand>
>       </buildSpec>
>       <natures>
>               <nature>org.eclipse.jdt.core.javanature</nature>
>               <nature>org.maven.ide.eclipse.maven2Nature</nature>
>       </natures>
> </projectDescription>
> przemek@przemek ~/mag/modules/web $ cat .classpath 
> <?xml version="1.0" encoding="UTF-8"?>
> <classpath>
>       <classpathentry kind="src" path="src/main/java"/>
>       <classpathentry kind="src" path="src/main/resources"/>
>       <classpathentry kind="src" path="src/main/webapp"/>
>       <classpathentry kind="con" 
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>       <classpathentry exported="true" kind="src" path="/mag-common"/>
>       <classpathentry kind="con" 
> path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
>       <classpathentry kind="output" path="target/classes"/>
> </classpath>
> This feature would be very handy, because now in package explorer in eclipse 
> there is a lot of dependencies shown in project, using m2 plugin they are all 
> covered in library. Maybe you should provide some configuration option like
> <configuration>
>     <useMavenPlugin>true</useMavenPlugin>
> </configuration>
> which would be false for default, so one no using this plugin won't feel the 
> difference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to