Found the problem: forgot the 'm' after 512 for the maxmemory ...
Sorry for that ;-)
--mike
Michael Niemaz wrote:
Hi Brett,
It looks like some changes are affecting the javadoc generation.
When I run maven javadoc after the maven upgrade, I get the following
error: Incompatible initial and maximum heap sizes specified
[See the error output below].
I tried running the command with or without setting
maven.javadoc.additionalparam=-J-Xmx512m
maven.javadoc.maxmemory = 512
Note: I have MAVEN_OPTS set to -Xmx512m in my environment.
Any ideas?
--mike
maven -Dmaven.javadoc.debug=true javadoc
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1
build:start:
xdoc:init-i18n:
[echo] Init the i18n support
xdoc:init:
[echo] Generates the directory structure required for xdocs
maven-javadoc-plugin:report:
[echo] javadoc init
[echo]
### Debug mode is on ###
==================================
=== java plugin properties ===
==================================
maven.compile.encoding = []
maven.compile.src.set =
[/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/src/java]
==================================
=== docs properties ===
==================================
maven.docs.outputencoding = [ISO-8859-1]
==================================
=== javadoc plugin properties ===
==================================
--------------------
Javadoc properties :
--------------------
maven.javadoc.additionalparam = [-J-Xmx512m]
maven.javadoc.debug = [true]
maven.javadoc.doclet = []
maven.javadoc.docletpath = []
maven.javadoc.excludepackagenames = []
maven.javadoc.locale = []
maven.javadoc.maxmemory = [512]
maven.javadoc.overview = []
maven.javadoc.package = []
maven.javadoc.private = []
maven.javadoc.public = []
maven.javadoc.source = []
maven.javadoc.useexternalfile = [yes]
----------------------------
Standard doclet properties :
----------------------------
maven.javadoc.author = [true]
maven.javadoc.bottom = [Copyright © BPS Smart
Documents Platforms Group. All Rights Reserved.]
maven.javadoc.customtags = []
maven.javadoc.destdir =
[/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/docs/apidocs]
maven.javadoc.links = []
maven.javadoc.offlineLinks = []
maven.javadoc.mode.online = []
maven.javadoc.stylesheet =
[/home/niemaz/.maven/cache/maven-javadoc-plugin-1.7/plugin-resources/stylesheet.css]
maven.javadoc.tagletpath = []
maven.javadoc.taglets = []
maven.javadoc.use = [true]
maven.javadoc.version = [true]
maven.javadoc.windowtitle = [SmartDocument Blob detector
1.1.1 API]
==================================
=== Project descriptor ===
==================================
pom.package =
[com.xerox.smartdocument.services.blob]
==================================
=== javadoc internal variables ===
==================================
internal_javadoc_jar =
[/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/smartdocument.blob-1.1.1_javadoc.jar]
internal_javadoc_needed = []
internal_javadoc_working_dir =
[/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/javadoc]
[mkdir] Created dir:
/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/javadoc/src
[echo] sourceModifications not used.
[echo] internal_javadoc_needed is true
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Error occurred during initialization of VM
[javadoc] Incompatible initial and maximum heap sizes specified
Brett Porter wrote:
The Apache Maven team is pleased to announce the release of Maven
1.1-beta-1
http://maven.apache.org/start/download.html
Maven is a project management and project comprehension tool. Maven
is based on the concept of a project object model: builds,
documentation creation, site publication, and distribution
publication are all controlled from the project object model. Maven
also provides tools to create source metrics, change logs based
directly on source repository, and source cross-references.
This release focuses on the following objectives:
* Integration of Maven 2 technologies such as Maven Wagon, Maven
SCM and the new model code
* Ant 1.6.5 support
* Upgrade to later releases of dependencies, in particular Jelly
* Significant improvements in memory usage
* Improved POM layout
* Bugfixes
With just a few exceptions [1], Maven 1.1 is backwards compatible
with Maven 1.0.
For a full list of changes, please see JIRA [2].
*IMPORTANT: * You must ensure that Maven 1.1 is first in your path if
you want to have it installed side-by-side with Maven 1.0.2
We hope you enjoy using Maven! If you have any questions, please
consult:
* the FAQ: http://maven.apache.org/faq.html
* the maven-user mailing list:
http://maven.apache.org/mail-lists.html
For news and information, see:
* Maven Blogs: http://www.mavenblogs.com/
- The Apache Maven Team
[1] http://maven.apache.org/reference/backwards-compatibility.html
[2]
http://jira.codehaus.org/secure/ReleaseNote.jspa?version=11371&styleName=Html&projectId=10030&Create=Create
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]