Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Transcode SVG files to Java2D classes

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 nb-configuration.xml
Octocat-spinner-32 pom.xml
README.md

flamingo-maven-plugin

flamingo-maven-plugin transcode SVG files into Java2D classes that can implement ResizableIcon from the Flamingo/Peacock project

The project is hosted in maven central. here you'll find a quick copy/paste for the dependency.

Transcode SVG files

Use the following goal: transcode

Configuration inside the POM

Here is a quick example:

<plugin>
<groupId>org.codeartisans</groupId>
<artifactId>flamingo-maven-plugin</artifactId>
<version>1.2</version>
<executions>
    <execution>
    <id>actions</id>
    <phase>generate-sources</phase>
    <goals>
        <goal>transcode</goal>
    </goals>
    <configuration>
        <sourceDirectory>${project.basedir}/src/main/svg</sourceDirectory>
        <outputPackage>com.example.icons</outputPackage>
        <implementsResizableIcon>true</implementsResizableIcon><!-- Defaults to false -->
        <stopOnFailure>false</stopOnFailure> <!-- Defaults to true -->
    </configuration>
    </execution>
</executions>
</plugin>
Something went wrong with that request. Please try again.