Image Formats

UMlet Maven Plugin supports several output images formats. Specify the required format by providing the plugin format property as shown below:

<project>
    ...
    <build>
        ...
        <plugins>
            ...
            <plugin>
                <groupId>com.kryshchuk.maven.plugins</groupId>
                <artifactId>umlet-maven-plugin</artifactId>
                <configuration>
                  <format>jpg</format>
                </configuration>
                <executions>
                    <execution>
                        <id>convert-uml</id>
                        <goals>
                            <goal>convert</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            ...
        </plugins>
        ...
    </build>
    ...
</project>
            

Supported formats are:

  • bmp
  • eps
  • gif
  • jpg
  • pdf
  • png - default
  • svg