Merge pull request #47 from hugoduncan/add-zi-to-readme
Add zi plugin documentation for running marginalia from maven
This commit is contained in:
commit
23f51feaef
1 changed files with 38 additions and 1 deletions
39
README.md
39
README.md
|
@ -68,7 +68,44 @@ After that, you should be able to use it like any other cake task:
|
|||
|
||||
### Maven
|
||||
|
||||
Not yet supported.
|
||||
The [zi plugin](https://github.com/pallet/zi) supports marginalia.
|
||||
|
||||
Add the folowing to your `pom.xml`, and run `mvn zi:marginalia`.
|
||||
|
||||
```xml
|
||||
<plugin>
|
||||
<groupId>org.cloudhoist.plugin</groupId>
|
||||
<artifactId>zi</artifactId>
|
||||
<version>0.3.1</version>
|
||||
<configuration>
|
||||
<marginaliaTargetDirectory>autodoc/marginalia</marginaliaTargetDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
```
|
||||
|
||||
And the following to your `settings.xml`.
|
||||
|
||||
```xml
|
||||
<pluginGroups>
|
||||
<pluginGroup>org.cloudhoist.plugin</pluginGroup>
|
||||
</pluginGroups>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>clojure-dev</id>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>sonatype-snapshots</id>
|
||||
<url>http://oss.sonatype.org/content/repositories/releases</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<activeProfiles>
|
||||
<activeProfile>clojure-dev</activeProfile>
|
||||
</activeProfiles>
|
||||
```
|
||||
|
||||
Contributors and thanks
|
||||
-----------------------
|
||||
|
|
Loading…
Reference in a new issue