Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] OSLC Workshop Lab Question: How to Help Eclipse/Maven Find Javadoc on Mac OS?

Daniel,

Have you verified your JAVA_HOME environment variable is correct? You might also check that you have a JDK set under the Eclipse preferences, installed JREs.

If that doesn't work, you should at least be able to turn off Javadoc generation by using Run As -> Maven Build... and using this as the goal:

install -Dmaven.javadoc.skip=true

--
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx
Eclipse Lyo: Enabling tool integration with OSLC


Inactive hide details for Daniel Chirillo---01/14/2014 03:38:51 PM---Ran into this issue in Step 6C of Lab 1 (Right click pom.xDaniel Chirillo---01/14/2014 03:38:51 PM---Ran into this issue in Step 6C of Lab 1 (Right click pom.xml and select  Run As -> Maven install): F


    From:

Daniel Chirillo/New York/IBM@IBMUS

    To:

"Lyo project developer discussions" <lyo-dev@xxxxxxxxxxx>

    Date:

01/14/2014 03:38 PM

    Subject:

[lyo-dev] OSLC Workshop Lab Question: How to Help Eclipse/Maven Find Javadoc on Mac OS?

    Sent by:

lyo-dev-bounces@xxxxxxxxxxx




Ran into this issue in Step 6C of Lab 1 (Right click pom.xml and select Run As -> Maven install): Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (attach-javadocs) on project oslc4j-core: MavenReportException: Error while creating archive: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly 

To work around this, I ran maven from the command line.  Does anyone know what I need to do so that maven, when run from within Eclipse, can find javadoc?
 

Regards,
 

Daniel Chirillo
 
IBM Software Services for Rational
 
1-720-395-0914  (voice & fax)
 
chirillo@xxxxxxxxxx
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


GIF image

GIF image


Back to the top