Author: mattmann Date: Sun Jul 15 23:00:37 2012 New Revision: 1361835 URL: http://svn.apache.org/viewvc?rev=1361835&view=rev Log: SIS-34: LICENSE/NOTICE file is in incorrect location in SIS webapp patch from Ross Laidlaw.
Modified: incubator/sis/branches/0.2-incubating/sis-parent/pom.xml Modified: incubator/sis/branches/0.2-incubating/sis-parent/pom.xml URL: http://svn.apache.org/viewvc/incubator/sis/branches/0.2-incubating/sis-parent/pom.xml?rev=1361835&r1=1361834&r2=1361835&view=diff ============================================================================== --- incubator/sis/branches/0.2-incubating/sis-parent/pom.xml (original) +++ incubator/sis/branches/0.2-incubating/sis-parent/pom.xml Sun Jul 15 23:00:37 2012 @@ -195,6 +195,36 @@ <target>${maven.compile.target}</target> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <version>2.2</version> + <configuration> + <!-- + copy legal files added by the maven-remote-resources-plugin + to the /META-INF directory as expected for web application archives, + see SIS-34 + --> + <webResources> + <resource> + <directory>${project.build.outputDirectory}/META-INF</directory> + <includes> + <include>LICENSE</include> + <include>NOTICE</include> + <include>DEPENDENCIES</include> + </includes> + <targetPath>META-INF</targetPath> + <filtering>false</filtering> + </resource> + </webResources> + <!-- + remove the META-INF directory from /WEB-INF/classes in the packaged + war because this directory should be at the top level of web + application archives as /META-INF, see SIS-34 + --> + <packagingExcludes>WEB-INF/classes/META-INF/</packagingExcludes> + </configuration> + </plugin> </plugins> </build>