Anybody?
-----Original Message-----
From: Douglas Ferguson
Sent: Thursday, September 21, 2006 3:05 PM
To: users
Subject: Compiler Plugin
I tried to configure the compiler plugin to do the following:
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<classpathElements>
<classpathElement>src/main/webapp/WEB-INF/classes</classpathElement>
</classpathElements>
</configuration>
</plugin>
</plugins>
</build>
But I get this error:
[INFO] Error configuring:
org.apache.maven.plugins:maven-compiler-plugin. Reason: ERROR: Cannot
override read-only parameter: classpathElements in goal:
compiler:compile
I am placing .class files in WEB-INF/classes & .jar files in
WEB-INF/lib.
I know this bypasses the maven dependency scheme, however this is for
some legacy stuff that was never versioned and it is a stop gap until
older clients get upgraded.
Is there anyway to add stuff to the compilers classpath?
D-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]