The Tango Icon Set as resizeable Java2D objects.
The project is hosted in maven central. here you’ll find a quick copy/paste for the dependency.
See them all at a bigger size at Wikimedia Commons Tango icons page
The Tango Icon Set as resizeable Java2D objects.
The project is hosted in maven central. here you’ll find a quick copy/paste for the dependency.
See them all at a bigger size at Wikimedia Commons Tango icons page
flamingo-maven-plugin transcode SVG files into Java2D classes that can implement ResizableIcon from the Flamingo / Insubstantial projects
The project is hosted in maven central. here you’ll find a quick copy/paste for the dependency.
Use the following goal: transcode
Here is a quick example:
<plugin> <groupId>org.codeartisans</groupId> <artifactId>flamingo-maven-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>icons</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>
Use thirdparties-maven-plugin to easily copy/download external files and attach them as classified artifacts.
The project is hosted in maven central so no special setup is needed to use it.
Here is the snippet for the 1.0 version :
<plugin> <groupId>org.codeartisans</groupId> <artifactId>thirdparties-maven-plugin</artifactId> <version>1.0</version> </plugin>
This plugin has only one goal : attached.
<configuration>
<thirdPartiesFile>${project.basedir}/path/to/yours.properties</thirdPartiesFile>
</configuration>
Property file syntax is as follow:
[classifier].[type].src=[url]
[classifier].[type].md5=[md5]
Here is a quick example:
foo.tar.gz.src=http://example.com/Foo-1.2.3-r5635.tar.gz
foo.tar.gz.md5=94c331b029ab45d7db5d39cccacdf0e1
The md5 statement is optional and used only if present. If absent a file that already exists is not downloaded.
Here is a quick example:
<configuration> <thirdParties> <thirdParty> <classifier>foo</classifier> <type>tar.gz</type> <src>http://example.com/Foo-1.2.3-r5635.tar.gz</src> <md5>94c331b029ab45d7db5d39cccacdf0e1</md5> </thirdParty> </thirdParties> </configuration>
artifactinfo-maven-plugin generate java code with constants containing maven project metadata for use in your code.
The project is hosted in maven central so no special setup is needed to use it.
Here is the snippet for the 1.0 version :
<plugin> <groupId>org.codeartisans</groupId> <artifactId>artifactinfo-maven-plugin</artifactId> <version>1.0</version> </plugin>
It is very simple to use: