|
Hello, I have couple questions this plugin. 1 is It possible to specify multiple src for it? I have web-common\src\webapp\*.jsp webapp\src\webapp\*.jsp I want web-common’s resources () to be compiled and
packaged with webapp; I used “build-helper-maven-plugin:add-source” and it
does add src for java compilation but not for jsp. Is there a suggested way of having shared jsps across
multiple webapps?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jspc-maven-plugin</artifactId>
<version>1.4.5</version>
<executions>
<execution>
<id>jspc</id>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin> $mvn compile //invoke jsp compilation $mvn install // invoke jsp compilation If I change plugin version to 1.4.6 $mvn compile // does not invoke jsp compilation $mvn install // invoke jsp compilation Any idea such odd behavior? Thank you very much for your help Leonard |
