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?

Hi Samuel,

Thanks for the tip on using Maven->build with the install + ignore javadoc option.  That worked.

Yes, I have a JAVA_HOME environment variable set correctly (though my experience has been that Eclipse doesn't really look at operating system environment variables).



and Eclipse is pointing to a JDK (not a JRE).




Regards,

Daniel Chirillo
IBM Software Services for Rational
1-720-395-0914  (voice & fax)
chirillo@xxxxxxxxxx



From:        Samuel Padgett/Durham/IBM@IBMUS
To:        Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc:        lyo-dev-bounces@xxxxxxxxxxx
Date:        01/14/2014 04:27 PM
Subject:        Re: [lyo-dev] OSLC Workshop Lab Question: How to Help Eclipse/Maven Find Javadoc on Mac OS?
Sent by:        lyo-dev-bounces@xxxxxxxxxxx




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

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


Back to the top