<build>
<plugins>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>servicedocgen-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptor>
<info>
<title>Service Documentation</title>
<description>This is ...</description>
</info>
<host>my.service.com</host>
<port>8443</port>
<basePath>myapp/services/rest</basePath>
<schemes>
<scheme>https</scheme>
</schemes>
<javadocUrl>https://my.service.com/apidocs</javadocUrl>
</descriptor>
</configuration>
</plugin>
</plugins>
</build>