Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AEM Javadocs #61

Closed
cmrockwell opened this issue Jan 20, 2016 · 3 comments
Closed

AEM Javadocs #61

cmrockwell opened this issue Jan 20, 2016 · 3 comments
Labels

Comments

@cmrockwell
Copy link

I'm using AEM 6.1, but Javadocs don't seem to work in Eclipse. I'm looking for advice relating to this SO question. http://stackoverflow.com/questions/25820428/how-to-configure-javadocs-for-aem-cq5-6

It seems Javadocs are available..
https://repo.adobe.com/nexus/content/groups/public/com/adobe/aem/uber-jar/6.1.0/

According to the link below there should not be a need to explicitly add the JavaDocs. unfortunately it's not working for me...
http://stackoverflow.com/questions/17496996/maven-dependency-with-javadocs

@eglistefan
Copy link
Contributor

Besides http://stackoverflow.com/questions/44396/how-to-reference-javadocs-to-dependencies-in-mavens-eclipse-plugin-when-javadoc , have you also tried configuring the javadoc jar in eclipse (in the Project Explorer, open 'Maven Dependencies' and right-click on the jar you want to attach it to)?

@rombert
Copy link
Collaborator

rombert commented Feb 15, 2016

@cmrockwell - I am not sure what is going wrong here. The AEM plugin does not in any way try to influence javadoc resolution, so it's all Maven/m2e here.

I would suggest the following steps:

  1. Right-click the aem-api jar ( or equivalent for 6.1 ) and click on Maven and then on Download JavaDoc

m2e-download-javadoc

  1. If that does not work, open a terminal and run the following command in the working directory of the project referencing the AEM api/uber har:
$ mvn dependency:resolve -Dclassifier=javadoc

My intuition is that maybe m2e does not resolve javadocs from repositories defined in the pom.xml file, but that's a long shot.

@cmrockwell
Copy link
Author

Thanks a lot! very useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants