Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java Shell
tree: 37458f2a0c

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
.gitignore
pom.xml
readme.txt

readme.txt

Maven plugin to package docs
============================

After installing it, add it to the project:

<plugin>
  <artifactId>docs-maven-plugin</artifactId>
  <groupId>org.neo4j.build.plugins</groupId>
  <version>0.1-SNAPSHOT</version>
  <!--  the directories below will be added by default,
    using the config element will _replace_ the defaults.
  <configuration>
    <sourceDirectories>
      <sourceDirectory>${basedir}/src/docs</sourceDirectory>
      <sourceDirectory>${project.build.directory}/docs</sourceDirectory>
    </sourceDirectories>
  </configuration>
   -->
</plugin>

Configuring execution from the pom.xml doesn't work yet.

There's two new commands you can use:

mvn docs:assembly
- creates the docs.jar
- attaches the created jar to the project
- mvn2 and mvn3

mvn docs:install
- creates and then installs the docs.jar
- mvn3 only
- CLI only

mvn docs:install -Dtest=DocsTest
- executes test, then assembles and installs docs.
- needs more work, but the basic functionality is there
Something went wrong with that request. Please try again.