Enforce eclipse project generation with Maven2 eclipse:eclipse?

By neokrates, written on June 14, 2009

howto

  • Join date: 11-30-99
  • Posts: 224
View Counter:
  • 52 views
Rate it
Ad
Poll
  • Your favorite Java IDE is?

    View Results

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext

It is the case with the pom Project type. Using mvn eclipse:eclipse will generate no eclipse .project file whatsoever. Community seems to work on that problem :
http://jira.codehaus.org/browse/MECLIPSE-94 is the nice description of an issue.

Here is a small trick from the page above, which worked for me:

<build>
<plugins>
...
<plugin>
        <groupid>org.apache.maven.plugins</groupid>
        <artifactid>maven-eclipse-plugin</artifactid>
        <configuration>
                <!-- Workaround for http://jira.codehaus.org/browse/MECLIPSE-94 -->
                <eclipseprojectdir>..</eclipseprojectdir>
        </configuration>
</plugin>
...
</plugins>
</build>
Be Sociable, Share!
 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
0 votes 'YES'  0 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS

SOCIAL
Be Sociable, Share!

INCOMING SEARCH TERMS


Leave a Reply