All Projects → Bernardo-MG → docs-maven-skin

Bernardo-MG / docs-maven-skin

Licence: MIT license
Minimalist HTML5 and Bootstrap based Maven Skin for using Maven Site as a documentation site.

Programming Languages

CSS
56736 projects
groovy
2714 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to docs-maven-skin

gatling-maven-plugin
Gatling Plugin for Maven
Stars: ✭ 30 (-3.23%)
Mutual labels:  maven-plugin
dependency-update-maven-plugin
A Maven plugin that creates merge requests for dependency updates.
Stars: ✭ 23 (-25.81%)
Mutual labels:  maven-plugin
requs
Controlled Natural Language for Requirements Specifications
Stars: ✭ 36 (+16.13%)
Mutual labels:  maven-plugin
escapevelocity
A subset reimplementation of Apache Velocity with a much simpler API.
Stars: ✭ 28 (-9.68%)
Mutual labels:  velocity
plexus-compiler
Plexus compiler a layer on top of compilers and used by maven-compiler-plugin
Stars: ✭ 24 (-22.58%)
Mutual labels:  maven-plugin
boost
Boost Maven and Gradle plugins for MicroProfile development
Stars: ✭ 27 (-12.9%)
Mutual labels:  maven-plugin
Velocity
🚀Velocity template engine for JavaScript and PHP.
Stars: ✭ 33 (+6.45%)
Mutual labels:  velocity
Velocity
The modern, next-generation Minecraft server proxy.
Stars: ✭ 1,153 (+3619.35%)
Mutual labels:  velocity
exists-maven-plugin
Check if artifact exists in remote maven repository
Stars: ✭ 39 (+25.81%)
Mutual labels:  maven-plugin
buildnumber-maven-plugin
BuildNumber Maven Plugin
Stars: ✭ 53 (+70.97%)
Mutual labels:  maven-plugin
mvn-jlink
Maven plugin to provide way to work with jlink tool in maven projects
Stars: ✭ 34 (+9.68%)
Mutual labels:  maven-plugin
dmn-check
A tool which performs static analyses on Decision Model Notation (DMN) files to detect bugs
Stars: ✭ 34 (+9.68%)
Mutual labels:  maven-plugin
jcabi-mysql-maven-plugin
MySQL Maven Plugin: starts MySQL server on pre-integration phase and shuts it down on post-integration phase
Stars: ✭ 34 (+9.68%)
Mutual labels:  maven-plugin
future
一个仿照知乎的问答项目,想了很久不知道怎么给这个项目起名,最终还是决定把它当做未来的起点吧!明天会更好!一定!!!
Stars: ✭ 16 (-48.39%)
Mutual labels:  velocity
protobuf-maven-plugin
Maven Plugin that executes the Protocol Buffers (protoc) compiler
Stars: ✭ 204 (+558.06%)
Mutual labels:  maven-plugin
Negativity
Github of Negativity, a Minecraft AntiCheat. Premium at 8€:
Stars: ✭ 184 (+493.55%)
Mutual labels:  velocity
ktlint-maven-plugin
Maven plugin for ktlint the Kotlin linter
Stars: ✭ 42 (+35.48%)
Mutual labels:  maven-plugin
restdocs-spec
A maven plugin for generating Open API and Postman Collection specifications using Spring Restdocs.
Stars: ✭ 43 (+38.71%)
Mutual labels:  maven-plugin
impsort-maven-plugin
Java import sorter plugin. Sort your imps!
Stars: ✭ 31 (+0%)
Mutual labels:  maven-plugin
mosec-maven-plugin
用于检测maven项目的第三方依赖组件是否存在安全漏洞。
Stars: ✭ 85 (+174.19%)
Mutual labels:  maven-plugin

Docs Maven Skin

A minimalist and responsive Bootstrap-based HTML5 skin for Maven Site, which will help to create documentation sites with Maven.

It is easy to use, just remember to check the project documentation to find out how to set it up, and also to find out how the skin looks in an actual Maven Site. New projects may as well make use of the Library Maven Archetype which, among other features, takes advantage of this skin and shows how to set it up.

The skin has been adapted from the static template Docs Bootstrap Template, which will be the visual reference to be followed by this project.

Maven support: the skin only supports the Maven Site Plugin 3.6 onwards, due to changes to the way the velocity tools are loaded.

Maven Central

Release docs Development docs

Features

Demo

The project documentation makes use of the skin, it is always built with the latest release available. You can check the links just below this section.

Documentation

Documentation is always generated for the latest release, kept in the 'master' branch:

Documentation is also generated from the latest snapshot, taken from the 'develop' branch:

The documentation site sources come along the source code (as it is a Maven site), so it is always possible to generate them using the following Maven command:

mvn verify site

The verify phase is required, as otherwise some of the reports won't be created.

Acknowledgement

The project started as a fork of the Reflow Maven Skin, but it quickly became its own thing. Still, it owes much to that project.

Usage

As any Maven Skin it is handled through the Maven Plugin. Check the docs for more concrete information.

Prerequisites

As a Maven Skin, the project requirements are very specific:

  • Maven
  • Maven Site plugin (>=3.6)
  • Maven Site enabled

Installing

The recommended way to install the project is by setting up your preferred dependencies manager. To get the configuration information for this check the Maven Central Repository.

If for some reason manual installation is necessary, use the usual Maven installation command:

mvn install

Reducing the Dependency Scope

There is no need to add the skin as a dependency for the full project. Just add it to the Maven site plugin:

<build>
    <plugins>
        ...
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-site-plugin</artifactId>
            <dependencies>
                ...
                <dependency>
                    <!-- Docs Maven Skin -->
                    <groupId>com.bernardomg.maven.skins</groupId>
                    <artifactId>docs-maven-skin</artifactId>
                    <version>${site.skin.version}</version>
                </dependency>
                ...
            </dependencies>
            ...
        </plugin>
        ...
    </plugins>
</build>

Setting Up the Skin

Register the skin into the site.xml file:

<skin>
    <groupId>com.bernardomg.maven.skins</groupId>
    <artifactId>docs-maven-skin</artifactId>
    <version>[current version]</version>
</skin>

Afterwards the skin will be used when generating the site.

More detailed information can be found in the documentation. Including information for changing the theme.

Running Tests

Integration tests are included in the project to verify various configurations. These can be run by using the usual Maven command:

mvn verify

They are run by using the Maven Invoker Plugin, and the configurations are included in the 'src/it' folder.

Pay attention that the results from generating these tests are copied to the generated Maven Site by the Maven Resources Plugin.

If using Eclipse the tests may not run, due to an incompatibility with the invoker. It is recommender running the tests through command line.

Collaborate

Any kind of help with the project will be well received, and there are two main ways to give such help:

  • Reporting errors and asking for extensions through the issues management
  • or forking the repository and extending the project

Issues Management

Issues are managed at the GitHub project issues tracker, where any Github user may report bugs or ask for new features.

Getting the Code

If you wish to fork or modify the code, visit the GitHub project page, where the latest versions are always kept. Check the 'master' branch for the latest release, and the 'develop' for the current, and stable, development version.

License

The project has been released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].