You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Asbach (JIRA)" <ji...@codehaus.org> on 2008/07/29 13:31:27 UTC

[jira] Created: (MJAVADOC-207) javadocVersion-Configuration seems not to be work

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

        

[jira] Closed: (MJAVADOC-207) javadocVersion-Configuration seems not to be work

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MJAVADOC-207.
------------------------------------

    Resolution: Not A Bug

Calling the following in a command line:
{noformat}
javadoc -J-version
{noformat}
display only information about the version of the javadoc. See [1] for more information.

Like your error said, try to add <source>1.4</source> in your Maven Javadoc Plugin configuration.

[1] http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#J

> 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