{"action":"created","issue":{"url":"https://api.github.com/repos/gaul/modernizer-maven-plugin/issues/47","repository_url":"https://api.github.com/repos/gaul/modernizer-maven-plugin","labels_url":"https://api.github.com/repos/gaul/modernizer-maven-plugin/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/gaul/modernizer-maven-plugin/issues/47/comments","events_url":"https://api.github.com/repos/gaul/modernizer-maven-plugin/issues/47/events","html_url":"https://github.com/gaul/modernizer-maven-plugin/issues/47","id":130866263,"node_id":"MDU6SXNzdWUxMzA4NjYyNjM=","number":47,"title":"Generate plugin docs and publish to github.io pages","user":{"login":"ctubbsii","id":1280725,"node_id":"MDQ6VXNlcjEyODA3MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1280725?v=4","gravatar_id":"","url":"https://api.github.com/users/ctubbsii","html_url":"https://github.com/ctubbsii","followers_url":"https://api.github.com/users/ctubbsii/followers","following_url":"https://api.github.com/users/ctubbsii/following{/other_user}","gists_url":"https://api.github.com/users/ctubbsii/gists{/gist_id}","starred_url":"https://api.github.com/users/ctubbsii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctubbsii/subscriptions","organizations_url":"https://api.github.com/users/ctubbsii/orgs","repos_url":"https://api.github.com/users/ctubbsii/repos","events_url":"https://api.github.com/users/ctubbsii/events{/privacy}","received_events_url":"https://api.github.com/users/ctubbsii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-02-03T00:30:08Z","updated_at":"2018-10-28T02:47:13Z","closed_at":null,"author_association":"NONE","body":""},"comment":{"url":"https://api.github.com/repos/gaul/modernizer-maven-plugin/issues/comments/433671702","html_url":"https://github.com/gaul/modernizer-maven-plugin/issues/47#issuecomment-433671702","issue_url":"https://api.github.com/repos/gaul/modernizer-maven-plugin/issues/47","id":433671702,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY3MTcwMg==","user":{"login":"ctubbsii","id":1280725,"node_id":"MDQ6VXNlcjEyODA3MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1280725?v=4","gravatar_id":"","url":"https://api.github.com/users/ctubbsii","html_url":"https://github.com/ctubbsii","followers_url":"https://api.github.com/users/ctubbsii/followers","following_url":"https://api.github.com/users/ctubbsii/following{/other_user}","gists_url":"https://api.github.com/users/ctubbsii/gists{/gist_id}","starred_url":"https://api.github.com/users/ctubbsii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctubbsii/subscriptions","organizations_url":"https://api.github.com/users/ctubbsii/orgs","repos_url":"https://api.github.com/users/ctubbsii/repos","events_url":"https://api.github.com/users/ctubbsii/events{/privacy}","received_events_url":"https://api.github.com/users/ctubbsii/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T02:47:13Z","updated_at":"2018-10-28T02:47:13Z","author_association":"NONE","body":"@gual Yeah, the [maven-site-plugin] generates static websites for maven projects. It can be tweaked with various reporting plugins. The [maven-plugin-plugin] is a particularly useful reporting plugin for generating sites for maven plugins. Once configured, you can generate the site with the built-in [site lifecycle] `mvn site`.\r\n\r\nYou can manually copy the generated static site's html from `target/` to a `gh-pages` branch in the project. If the repository is properly configured in GitHub, that would cause the generated docs to be hosted at https://gaul.github.io/modernizer-maven-plugin/ (see https://pages.github.com/ for info on static site hosting on GitHub).\r\n\r\nInstead of manually copying, publishing can be automated further by binding plugins to `deploy` phase of the site lifecycle so they automatically publish when you do `mvn site-deploy`. Several projects I host at https://github.com/revelc do this, if you want to see some example `pom.xml` files:\r\n\r\n* [formatter-maven-plugin] currently uses [wagon-git] and [wagon-ssh] to publish\r\n* (my preferred method): [apilyzer-maven-plugin], [zookeeper-maven-plugin] and others skip the built-in `deploy` action of [maven-site-plugin] and instead use GitHub's own [site-maven-plugin], which uses GitHub's API to directly upload the site to the `gh-pages` branch in the repository.\r\n\r\n[site lifecycle]: https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Built-in_Lifecycle_Bindings\r\n[maven-site-plugin]: https://maven.apache.org/plugins/maven-site-plugin/\r\n[maven-plugin-plugin]: https://maven.apache.org/plugin-tools/maven-plugin-plugin/\r\n[formatter-maven-plugin]: https://github.com/revelc/formatter-maven-plugin/\r\n[wagon-git]: https://github.com/trajano/wagon-git\r\n[wagon-ssh]: https://maven.apache.org/wagon/wagon-providers/wagon-ssh/\r\n[apilyzer-maven-plugin]: https://github.com/revelc/apilyzer-maven-plugin/\r\n[zookeeper-maven-plugin]: https://github.com/revelc/zookeeper-maven-plugin/\r\n[site-maven-plugin]: https://github.com/github/maven-plugins"}}
{"actor":{"display_login":"ctubbsii"}}