On 2/21/06, Martin <[EMAIL PROTECTED]> wrote:
I have tried this already, but unfortunately it does not work (although I am not
experienced with maven).

I changed the source and target tags in adf-faces/pom.xml as below:
        <plugin>
          <groupId> org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <inherited>true</inherited>
          <configuration>
            <excludes>
              <exclude>**/.ade_path/**</exclude>
            </excludes>
            <testExcludes>
              <exclude>**/.ade_path/**</exclude>
            </testExcludes>
            <compilerVersion>1.5</compilerVersion>
            <source>1.5</source>
            <target>1.4</target>
          </configuration>
        </plugin>

but get the error:
   [INFO] Compilation failure
   Failure executing javac, but could not parse the error:
   javac: source release 1.5 requires target release 1.5

That is not a Maven issue ... it is a Java restriction.  If you want to say target= 1.4, then you cannot say source=1.5 because the new source format requires features in the class format that were not present in the 1.4 version.

Regards

Martin

Craig


Reply via email to