Maven 站点皮肤原型

maven-archetype-site-skin是一个原型,它生成一个示例Maven 站点皮肤

project
|-- pom.xml
`-- src
    |-- main
    |   `-- resources
    |       `-- META-INF
    |           |-- css
    |           |   |-- maven-base.css
    |           |   |-- maven-theme.css
    |           |   `-- print.css
    |           |-- images
    |           |   |-- external.png
    |           |   |-- icon_error_sml.gif
    |           |   |-- icon_info_sml.gif
    |           |   |-- icon_success_sml.gif
    |           |   |-- icon_warning_sml.gif
    |           |   `-- newwindow.png
    |           `-- maven
    |               |-- site.vm
    |               |-- site-macros.vm
    |               `-- skin.xml
    `-- it
        |-- settings.xml
        `-- sample
            |-- pom.xml
            `-- verify.groovy
                `-- src
                    `-- site
                        |-- site.xml
                        `-- apt
                            `-- index.apt.vm

用法

要从此原型生成新项目,请键入:

mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site-skin -DarchetypeVersion=1.4