On Mon, Apr 25, 2011 at 5:07 PM, Allen Lau <allen....@gmail.com> wrote:
> I'm jumping in a bit late, but in order to build our wicket app without > dependencies, we use both the maven-bundle-plugin to generate the manifest > file first and then have the maven-war-plugin do the packaging of the > actual > war. > > we use the following lines in the war plugin > > <configuration> > <archive> > > > > <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> > </archive> > <packagingExcludes>WEB-INF/spring/**, > WEB-INF/lib/*.jar</packagingExcludes> > </configuration> > > This can works, thanks. Maybe there is no bnd specific solution for this and we have to use a "trick" like this one.