Automatically add headers to generated JavaScript sources.
<executions>
<execution>
<id>default-minify</id>
- <phase>validate</phase>
+ <phase>generate-sources</phase>
<goals>
<goal>minify</goal>
</goals>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <configuration>
+ <includes>
+ <include>main/resources/static-common/js/min/*</include>
+ </includes>
+ </configuration>
+ <goals>
+ <goal>update-file-header</goal>
+ </goals>
+ <phase>process-sources</phase>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
</execution>
</executions>
</plugin>
-
-
</plugins>
</build>
</project>
