Hi!

I've declared my parent pom as follows:

artifactId>maven-javadoc-plugin</artifactId>
                                                                
<version>2.2-SNAPSHOT</version> <!-- also tried latest release -->
                                                                <configuration>
                                                                        
<encoding>${encoding.default}</encoding>
                                                                        
<source>${jdk.level}</source>
                                                                </configuration>


jdk.level is 1.5

But still this fails during site generation with the following errors:


INFO] Generate "JavaDocs" report.
Loading source file
Loading source file
3 errors
1 warning
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation

Embedded error: Error rendering Maven report: Exit code: 1 - generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
    public Map send( Map  parameters )
              ^
 generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
    public Map send( Map parameters )
              ^
 for-each loops are not supported in -source 1.3
(try -source 1.5 to enable for-each loops)
        for ( Map.Entry entrySet : parameters.entrySet() )
                                                 ^
warning: as of release 1.4, 'assert' is a keyword, and may not be used as an identifier
(try -source 1.4 or higher to use 'assert' as a keyword)
                assert( stringTokenizer.countTokens() % 2 == 0 );


Some pathnames are left out here on puropose.


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

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

Reply via email to