FAQ about compiling with Java 1.5 are incomplete.
-------------------------------------------------

         Key: MNG-685
         URL: http://jira.codehaus.org/browse/MNG-685
     Project: Maven 2
        Type: Bug
  Components: documentation  
    Versions: 2.0-alpha-3    
 Reporter: Ken Weiner
    Priority: Minor


The example on how to compile with Java 1.5 is incomplete.
http://maven.apache.org/maven2/general.html#Compiling-J2SE-5

The HTML renders the following:

<build>
  ...
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5

It should actually render:

<build>
  ...
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
    </plugin>
  </plugins>
  ...
</build>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to