Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.7
-
Fix Version/s: None
-
Component/s: Maven
-
Labels:None
-
Number of attachments :
Description
When generating Eclipse projects with "mvn eclipse:eclipse" the resulting Jetty project does not have jsp-2.1 as a project in the build path, so when invoking Main JSP compilation is not supported. Workaround: Add jsp-2.1 project manually to the jetty project build path.
Thorbjørn,
AFAIK, the eclipse plugin should generate eclipse build path entries for all of your dependencies. So, if you have a dependency for the jsp-api-2.1 with <scope>provided</scope>, then that should show up in the eclipse build path.
That won't allow you to compile jsps when running Jetty via a Main class, so you'd need to also have a dependency for the jsp-2.1 jar with <scope>runtime</scope>. If you've already got those dependencies on your project, but the eclipse plugin isn't generating build-path entries for them, then I think you need to raise a bug over on the Maven issue tracker.
cheers
Jan