JBoss Community

Re: JBoss Tools 3.3 on Indigo with M2E src/main/resources Problem

created by Fred Bricon in JBoss Tools - View the full discussion

Can you try creating a project using the multi-javaee6-archetype from http://open-archetypes.github.com/maven-repo/snapshots/ 

 

In Eclipse, first add the Open Archetypes catalog :

  • On the Archetypes Preferences page (Window > Preferences > Maven > Archetypes), click on the "Add Remote Catalog..." button
  • Click OK to close the dialog
  • Click OK to close the preferences

Now you can create a new project, using the Maven wizard :

  • Create a new Maven project
  • Click Next to land on the Archetype page
  • Select the Open Archetypes (Snapshots) catalog
  • Check the "Include Snapshots" button
  • Select multi-javaee6-archetype and click Next
  • Enter the Group Id, Artifact Id and Version informations.

 

You'll have maven modules created under a parent project. Select the <artifactId>-util project and run Junit Tests on it. There's one test based on reading a filtered resource file. And I know for a fact it's working :-)

If it does work for you, then there might be something fishy in your own project that messes up m2e 1.0, but that is somehow fixed in 1.2. In that case, you'll have to provide us a sample project reproducing your issue.

If the multi-javaee6-archetype test doesn't work for you, then something's wrong with your eclipse installation. I can only suggest to start from a clean eclipse JavaEE distro and start over.

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community