Enforce eclipse project generation with Maven2 eclipse:eclipse?

By neokrates, written on June 14, 2009

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • Your favorite Java IDE is?

    • Eclipse (39%, 9 Votes)
    • Something else (39%, 9 Votes)
    • NetBeans IDE (17%, 4 Votes)
    • IntelliJ IDEA (4%, 1 Votes)
    • Borland JBuilder (0%, 0 Votes)
    • JCreator (0%, 0 Votes)
    • Oracle JDeveloper (0%, 0 Votes)

    Total Voters: 23

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

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:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>
 
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

RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


Leave a Reply