Hi Mojoers

I have a web-app with the configuration below (inherited from a parent's
pluginManagement).  JSPC precompiles my JSPs just fine but there is some
really weird behaviour:

In my web-app, if I run of *mvn clean install*, the compiled JSP class
gets placed in target/classes just like I want.
If I then run *mvn install* without cleaning, the compiled JSP is placed
alongside the JSP itself in target/jsp-source/jsp 

Result is that on a non-clean run, an old version of the JSP class gets
included in the WAR.

Anyone know why this might be happening?

Thanks

Gary


<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jspc-maven-plugin</artifactId>
        <version>1.4.6</version>
        <executions>
                <execution>
                        <id>jspc</id>
                        <goals>
                                <goal>compile</goal>
                        </goals>
                        <configuration>
                                <injectString>&lt;!-- [INSERT JSPC
FRAGMENT HERE] --&gt;</injectString>
                        </configuration>
                </execution>
        </executions>
        <dependencies>
                <dependency>
                        <groupId>org.codehaus.mojo.jspc</groupId>
                        <!-- change tomcat6 to tomcat5 below for 5.5
compatibility  -->
                        <artifactId>jspc-compiler-tomcat6</artifactId>
                        <version>2.0-alpha-3</version>
                </dependency>
        </dependencies>
</plugin>


Gary Bauer
[email protected]
Phone +44 20756 80868 
Internal (19 31) 80868
Chat #bauerga


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

UBS Limited is a company registered in England & Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England & Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.
 
UBS reserves the right to retain all messages. Messages are protected
and accessed only in legally justified cases.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to