DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

src/main/webapp is not configured as a source folder in Eclipse #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new AMP packaged project
2. Create a src/main/webapp folder in the project
3. Run "mvn eclipse:eclipse" to generate an Eclipse project
4. Import the new project into Eclipse

What is the expected output?
The src/main/webapp folder is configured as one of the source folders in the 
project.

What do you see instead?
The src/main/webapp folder is not configured as one of the source folders in 
the project.

What version of the product are you using? On what operating system?
Maven 3.0.5
maven-amp-plugin 3.0.4
Eclipse 4.3 (Kepler)

Original issue reported on code.google.com by peter.mo...@alfresco.com on 10 Jul 2013 at 4:37

GoogleCodeExporter commented 9 years ago
Peter is this still needed? For now, unscheduling it as it relates to the old 
archetypes.

Original comment by colum...@gmail.com on 30 Oct 2013 at 7:45

GoogleCodeExporter commented 9 years ago
maven-amp-plugin is deprecated; you should use alfresco-maven-plugin (or simply 
using alfresco-sdk-parent as pom <parent> and avoid any Maven plugin custom 
configuration)

In order to avoid using "mvn eclipse:eclipse", you should be able to import 
projects directly using m2eclipse; this will assign the right Eclipse nature to 
the project and also configure the classpath for you.

Also, Maven doesn't recognise src/main/webapp as source folder, although there 
is a feature to instruct Eclipse that it's a Web Resources Folder - 
http://stackoverflow.com/questions/1661889/src-main-webapp-directory-not-recogni
zed-by-eclipse

Please let me know how to proceed with this issue.
Thanks!

Original comment by maurizio...@alfresco.com on 3 Jul 2014 at 10:52

GoogleCodeExporter commented 9 years ago
This issue is to applicable to the maven-alfresco-sdk 1.0.0+, since 
src/main/amp is used.

Original comment by colum...@gmail.com on 17 Jul 2014 at 9:59