I have this defined in my pom.xml:

<build>
<pluginManagement>
       <plugins>
                        <plugin> 
                           <groupId>org.apache.maven.plugins</groupId> 
        
<artifactId>maven-compiler-plugin</artifactId> 
                           <configuration> 
                              <source>1.3</source> 
                              <target>1.3</target> 
                              <compilerVersion>1.3</compilerVersion> 
        
<executable>${JAVA_1_3_HOME}/bin/javac</executable> 
                           </configuration> 
                        </plugin>

But when I run "mvn compile" I get this error:

--------------------
Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5
--------------------

It seems to work if I leave my underlying compiler 1.3 but change the
source, target, compilerVersion parameters set to 1.4.

It seems like it may be related to this issue:
http://mail-archives.apache.org/mod_mbox/geronimo-dev/200702.mbox/%3CB84
[EMAIL PROTECTED]


Has anyone seen this before? Is this a bug?

Thank you, 

~ T r o y ~

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to