If you want WTP to deploy the content of your ${project.build.directory}/jar directory, it needs to be added to your .settings/ org.eclipse.wst.common.component.
m2e-wtp doesn't configure that file to deploy anything other than the build output and web source directories. You must have set it manually before. Given the "invalid values" error you have, it looks like that file is borked for some reason. On Wed, Jul 17, 2013 at 12:53 PM, Fred Bricon <fbri...@gmail.com> wrote: > Could you show us the content of your pom.xml? I'd expect WTP to generate > a proper jar if your js resources are stored under src/main/resources > > > On Wed, Jul 17, 2013 at 12:48 PM, Chris Ingham <chris.ing...@live.com>wrote: > >> I have an eclipse project / Maven module (I'll call it "jsclient") >> with jar packaging for my web application's client JavaScript. >> >> My "webapp" project/module (war packaging) has "jsclient" as a >> dependency, such that jsclient-{version}.jar is served from the application >> server's WEB-INF/lib directory. That is until upgrading to Kepler/m2e 1.4 >> >> The jsclient-{version}.jar does appear in the magical fakerepo folder, >> but has 0 bytes. >> >> Being a JavaScript project, I have nothing in src/main/java. I set my >> <outputDirectory> to ${project.build.directory}/jar and have an empty >> <resources></resources> -- I populate the jar directory using a combination >> of maven-dependency-plugin and exec-maven-plugin, which I have configured >> in <pluginManagement><lifecycleMappingMetadata> >> >> This of course works from the mvn command line and worked in the previous >> version of m2e. >> >> >> I don't know whether these other symptoms are related: >> >> - In my project's properties dialog I see the error >> "The currently displayed page contains invalid values." >> when navigating to the Deployment Assembly section >> >> - The target folder of my jsclient project is often hidden from my >> Navigator View - this is the first time I've ever seen the Navigator View >> not show me everything. >> >> >> Thanks in advance for any troubleshooting advice. I'm happy to privately >> email my full POM. >> >> Chris Ingham >> >> _______________________________________________ >> m2e-users mailing list >> m2e-users@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/m2e-users >> >> > > > -- > "Have you tried turning it off and on again" - The IT Crowd > -- "Have you tried turning it off and on again" - The IT Crowd
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/m2e-users