[
https://issues.jboss.org/browse/JBTM-1749?page=com.atlassian.jira.plugin....
]
Ondřej Chaloupka commented on JBTM-1749:
----------------------------------------
Hi,
I'm hitting the same problem probably. I work on fedora 16 and setting the JAVA_HOME
does not help (for JDK 1.6). It helps to switch to 1.7. It does not matter of using maven
3.0.3 or 3.0.5
export JAVA_HOME=/opt/jdk1.6.0_43
mvn -version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: /home/ochaloup/Programs/apache-maven-3.0.5
Java version: 1.6.0_43, vendor: Sun Microsystems Inc.
Failure building Javadoc when JAVA_HOME is empty
------------------------------------------------
Key: JBTM-1749
URL:
https://issues.jboss.org/browse/JBTM-1749
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Build System
Environment: Mac OSX
Reporter: Paul Robinson
Assignee: Paul Robinson
Priority: Minor
Fix For: 5.0.0.M4
To reproduce:
# export JAVA_HOME=
# /opt/apache-maven-3.0.5/bin/mvn clean install -DskipTests -f
./ArjunaJTA/narayana-jta/pom.xml
It also happens if you use the maven version in tools/maven (also version 3.0.5).
This doesn't fail:
# export JAVA_HOME=
# /opt/apache-maven-3.0.3/bin/mvn clean install -DskipTests -f
./ArjunaJTA/narayana-jta/pom.xml
Currently only seen this on a Mac. Would be good if a linux user could try to reproduce.
Maven 3.0.5 is the latest release. I've not found a known issue for this, but it is
hard to search for.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira