Enable maven features to build a basic tech-detail site #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now
mvn clean package site site:stage
will produce a (very basic, uncustomized) directory tree representing a web site undertarget/staging
. It includes generated javadocs for everything (and I've also spent a bit of time completing javadocs, at least the ones I noticed missing and felt competent to write).In order to make maven do this, I had to put a site URL into
pom.xml
and you will see that I usedhttp://tada.github.io/pljava/
which is (I think) what the project's GitHub Pages URL would be, if you were to enable that feature. So, you may detect in this pull request a faint, implicit suggestion about doing that. :)I can see in the repository that there already is a
gh-pages
branch where you did some experimenting in early 2013, but that seems to have been just the same content that is now the wiki. What I would suggest is to keep the wiki, and enable thegh-pages
site for nothing but maven autogenerated technical docs. User Guide content on the wiki could then link to them when appropriate.Although I haven't tried it, I believe there is a GitHub-supplied plugin for maven that completes the process, so that a
mvn
command similar to mine above would build all the docs and put them on the GitHub Pages site.While I'm not sure how you feel about enabling the GitHub Pages site for that purpose, in any case merging this branch will allow anyone who downloads pljava to run the
mvn
command above and get a local set of the same docs.