javadocVersion-Configuration seems not to be work
-------------------------------------------------

                 Key: MJAVADOC-207
                 URL: http://jira.codehaus.org/browse/MJAVADOC-207
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Window XP
            Reporter: Benjamin Asbach
            Priority: Minor


      <reporting>
        <plugins>
                        <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <configuration>
                                <additionalJOption>-J-version 
1.4</additionalJOption>
                                <!-- <javadocVersion>1.4</javadocVersion> -->
                        </configuration>
                </plugin>
                </plugins>
    </reporting>

With javadocVersion the reporting ends up in an embbed error:

"Embedded error: Error rendering Maven report: Exit code: 1 - [...]: as of 
release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)"

With additionalJOption the Problem is resolved.


-- 
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

        

Reply via email to