Uh - by "visible" I mean, I can see it when I run "jetty:run" and go to that url.
In my example above, I can hit foo.js, but not bar.js - even when they are right next to each other. Doesn't matter if it's a zip or a war I'm using for the overlay, neither work. Has anyone see this or know of a bug? Here's the doc for maven overlays: http://maven.apache.org/plugins/maven-war-plugin/overlays.html To use a *zip* dependency as an overlay you have to configure it explicitly in the plugin's configuration. For instance to inject the content of a zip overlay in the scripts directory of the webapp, do as follows: ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.2</version> <configuration> <overlays> <overlay> <groupId>zipGroupId</groupId> <artifactId>zipArtifactId</artifactId> <type>zip</type> <targetPath>scripts</targetPath> </overlay> </overlays> </configuration> </plugin> </plugins> On Fri, Aug 31, 2012 at 11:30 AM, Wayne Fay <[email protected]> wrote: > > I'm having an issue where a zip file containing shared js and css > > components are overlaid to my war project - but they're NOT visible! > > What does "visible" mean? > Are you sure you can overlay a war with a zip in the first place? > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
