To have clean results, I decided to make a completely new installation of Eclipse. So I re-downloaded everything and unpacked into a new folder and... it worked. I compared contents of the new Eclipse folder with my usual environment and it turned out that I was using Eclipse 3.5.0 with JBoss Tools 3.1.0.M4 by mistake and not Eclipse 3.5.1. Silly me, I screwed up.
If you are still interested in steps to reproduce, here they are: | * Download Eclipse 3.5.1 (Galileo SR1) for Java EE from http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip. | | * Unpack eclipse-jee-galileo-SR1-win32.zip to C:\Test-3.5.1. | | * Add the following parameter to C:\Test-3.5.1\eclipse\eclipse.ini (required for m2eclipse): | -vm | | C:/Program Files (x86)/Java/jdk1.6.0_13/bin/javaw.exe | | * Run Eclipse by executing C:\Test-3.5.1\eclipse\eclipse.exe | | * Use C:\Test-3.5.1\workspace as workspace. | | * Install all components from http://download.eclipse.org/birt/update-site/2.5/. | | * Restart Eclipse when requested. | | * Install the following components from http://m2eclipse.sonatype.org/update-dev: | | | * Maven Integration/* | | * Maven Projects Configurators/Maven Integration for WTP (Optional) | | * Maven Projects Configurators/Project configurators for commonly used maven plugins (temporary) | | | | * Restart Eclipse when requested. | | * Install all components from http://download.jboss.org/jbosstools/updates/JBossTools-3.1.0.M4/. | | * Restart Eclipse when requested. | | * Create C:\Test-3.5.1\project\pom.xml with the following content: | <project xmlns="http://maven.apache.org/POM/4.0.0" | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | | | | <modelVersion>4.0.0</modelVersion> | | | | <groupId>org.htfv.test</groupId> | | <artifactId>web-resources-test</artifactId> | | <version>0.0.1-SNAPSHOT</version> | | <packaging>war</packaging> | | | | <build> | | <plugins> | | <plugin> | | <groupId>org.apache.maven.plugins</groupId> | | <artifactId>maven-compiler-plugin</artifactId> | | <configuration> | | <source>1.6</source> | | <target>1.6</target> | | </configuration> | | </plugin> | | </plugins> | | </build> | | </project> | | * Select File/Import... | | * Select Maven/Existing Maven Projects in the Import dialog, click Next. | | * Specify C:\Test-3.5.1\project as root directory (/pom.xml shall be selected automatically) and click Finish. | After the last point I wanted to make the first screenshot, but it did work. The Web Resources node in Project Explorer may be expanded and contains files from src/main/webapp (the files are generated when the project is imported). Sorry for taking your time and... thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268645#4268645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268645 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user