facebook

POM Error on resource section Cannot install Web Fragment Module 3.0

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #543743 Reply

    gandalf902002
    Participant

    Hi,
    In my pom I use

    <resource>
       <directory>src/main/resources/</directory>
       <includes>
       <include>**/*.ftlh</include>
       </includes>
      <filtering>false</filtering>
    </resource>

    but Myeclispe Version: 2017 CI 8 Build id: 15.0.1-20170912 on Windows 10 show me

    Description Resource Path Location Type
    Cannot install Web Fragment Module 3.0 facet. It is incompatibile with already installed facets: Dynamic Web Module 2.4. Please modify project configuration. pom.xml /xxxxxxx line 140 Maven Java EE Configuration Problem

    but If I use / launch Maven from CLI all works without no problem then it’s seem a IDE bug.

    After one day of work to not show this error in the IDE I modify the section of the POM with :

    <resource>
    	<targetPath>templates/movetool</targetPath>
    	<directory>src/main/resources/templates/movetool/</directory>
    	<includes>
    		<include>**/*.ftlh</include>
    	</includes>
    	<filtering>false</filtering>
    	</resource>
    </resources>

    I forced to add targetPath istruction to have the files in the right directory but the error not showed without this parameter too then the problem seem to be the directory value.
    This is not the best thing to have in my POM …

    Is there another way to fix it using a a the first version of pom ?

    Thank you

    • This topic was modified 6 years, 4 months ago by gandalf902002.
    #543781 Reply

    support-swapna
    Moderator

    gandalf,

    Sorry that you are seeing this issue.

    Can you please let us know what is the version of Dynamic Web Module of the project? Right click on the project > Properties > Project Facets and let us know the Dynamic Web Module facet version.

    I see that you have reported similar problem earlier : https://www.genuitec.com/forums/topic/maven-web-fragment-module-facet-problem/

    Is it the same project you are seeing the error again now? Did you get a chance to try Tony’s suggestion posted in the above thread and if yes, did it help?

    If it is a different project, then please share with us the complete pom.xml and the project’s metadata, i.e .project file and the .settings folder under the project folder for further investigation.

    Apologies for inconvenience caused.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: POM Error on resource section Cannot install Web Fragment Module 3.0

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