You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Trevor Spackman <ts...@myriad.com> on 2007/07/03 21:47:52 UTC

maven-javadoc-plugin error?

Hi all,

 

So we decided to up the java version from 1.5 to 1.6 in some of our new
projects to take advantage of the new features.  Accordingly, I added
the following to my pom:

 

  <build>

    <plugins>

      <plugin>

        <artifactId>maven-compiler-plugin</artifactId>

        <configuration>

          <source>1.6</source>

          <target>1.6</target>

          <fork>true</fork>

          <executable>${JAVA_1_6_HOME}/bin/javac</executable>

          <compilerVersion>1.6</compilerVersion>

        </configuration>

      </plugin>

    </plugins>

  </build>

 

and set up the environment variable JAVA_1_6_HOME to my 1.6jdk.  But now
when I try to run the release plugin, the javadoc report blows up
because it is using the jdk under my JAVA_HOME env var (version 1.5).

 

I looked, but was unable to find any of the javadoc plugin parameters
that would help me cope with this.

 

Am I doing something wrong?

 

Thanks, 

Trevor