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

How to generate javadocs? #34

Closed
antonxt opened this issue Jun 6, 2014 · 2 comments
Closed

How to generate javadocs? #34

antonxt opened this issue Jun 6, 2014 · 2 comments

Comments

@antonxt
Copy link

antonxt commented Jun 6, 2014

Working on #32, I build the site using "site" maven goal to check my corrections in *.md.vm files. This way I get HTMLs for the site in target/site folder. The HTMLs contain links to javadocs, like:

./apidocs-${project.version}/com/jcabi/http/response/XmlResponse.html

These links are not valid, because there are no javadocs in ./apidocs-${project.version} folder.

How should I generate the javadocs? I tried all other maven goals, none of them made javadocs.

Maybe we need such maven goal?

@yegor256
Copy link
Member

yegor256 commented Jun 7, 2014

Run mvn clean site -Psite. You will build a site in target/site directory

@antonxt
Copy link
Author

antonxt commented Jun 7, 2014

@yegor256, thank you, it works. I have used "run maven goal" in Idea IDE, and it just generated HTMLs, no JavaDocs.

image 1

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

No branches or pull requests

2 participants