facebook

maven2 plugin problems

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #258467 Reply

    zhihai
    Member

    I installed maven2 plugin but have two questions regarding to its usage. First, the plugin does not exclude “provided” and “test” scope jar files such as junit.jar and servlet-api.jar. Second, it does not recognize maven resources folder and won’t copy src/main/resources to WEB-INF/classes. Any idea? My environment is MyEclipse5.0, Eclipse3.2 and JDK1.5. Thanks in advance.

    #258499 Reply

    Jeremy Stein
    Member

    I gave up on that and the mevenide plugins. The main problem for me is that Maven wants to compile to target while MyEclipse needs to compile to src/main/webapp/WEB-INF/classes to keep the web server in sync. I maintain pom synchronization with mvn eclipse:eclipse. The downside of that technique is that it keeps resetting the build path configuration, so I always have to reset the output folder to WEB-INF/classes.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: maven2 plugin problems

You must be logged in to post in the forum log in