-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
63 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.sterl.svg2png</groupId> | ||
|
@@ -15,15 +15,16 @@ | |
<name>SVG to PNG CLI util</name> | ||
|
||
<description> | ||
Manage your icons as SVG files and generate the needed PNG files into your projects as needed. | ||
No "Web Service" needed, just an executable JAR file. | ||
Manage your icons as SVG files and generate the needed PNG files into | ||
your projects as needed. | ||
No "Web Service" needed, just an executable JAR file. | ||
</description> | ||
|
||
<scm> | ||
<url>https://github.com/sterlp/svg2png</url> | ||
<connection>scm:git:[email protected]:sterlp/svg2png.git</connection> | ||
<tag>v1.2.0</tag> | ||
</scm> | ||
</scm> | ||
|
||
<licenses> | ||
<license> | ||
|
@@ -57,7 +58,7 @@ | |
<java.version>1.8</java.version> | ||
<batik.version>1.17</batik.version> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
|
@@ -69,7 +70,7 @@ | |
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
|
@@ -97,13 +98,13 @@ | |
<artifactId>xmlgraphics-commons</artifactId> | ||
<version>2.8</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>commons-cli</groupId> | ||
<artifactId>commons-cli</artifactId> | ||
<version>1.5.0</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
|
@@ -121,14 +122,14 @@ | |
<version>4.4.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<!-- | ||
https://junit.org/junit5/docs/current/user-guide/#writing-tests-parameterized-tests | ||
https://junit.org/junit5/docs/current/user-guide/#writing-tests-parameterized-tests | ||
--> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
|
@@ -201,8 +202,37 @@ | |
</profile> | ||
</profiles> | ||
|
||
<reporting> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-pmd-plugin</artifactId> | ||
<version>3.21.0</version> | ||
</plugin> | ||
</plugins> | ||
</reporting> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-pmd-plugin</artifactId> | ||
<version>3.21.0</version> | ||
<configuration> | ||
<!-- failOnViolation is actually true by default, but can be | ||
disabled --> | ||
<failOnViolation>true</failOnViolation> | ||
<!-- printFailingErrors is pretty useful --> | ||
<printFailingErrors>true</printFailingErrors> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
|
@@ -226,7 +256,8 @@ | |
<minimizeJar>false</minimizeJar> | ||
<createDependencyReducedPom>false</createDependencyReducedPom> | ||
<transformers> | ||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | ||
<transformer | ||
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | ||
<manifestEntries> | ||
<Main-Class>org.sterl.svg2png.Main</Main-Class> | ||
<X-Compile-Source-JDK>${java.version}</X-Compile-Source-JDK> | ||
|
@@ -260,24 +291,27 @@ | |
<artifactId>really-executable-jar-maven-plugin</artifactId> | ||
<version>2.1.1</version> | ||
<configuration> | ||
<!-- value of flags will be interpolated into the java invocation --> | ||
<!-- value of flags will be interpolated into the java | ||
invocation --> | ||
<!-- as "java $flags -jar ..." --> | ||
<flags>-Xmx1G</flags> | ||
|
||
<!-- (optional) name for binary executable, if not set will just --> | ||
|
||
<!-- (optional) name for binary executable, if not set will | ||
just --> | ||
<!-- make the regular jar artifact executable --> | ||
<programFile>svg2png</programFile> | ||
|
||
<!-- (optional) name for a file that will define what script | ||
gets --> | ||
<!-- embedded into the executable jar. This can be used to --> | ||
<!-- override the default startup script which is --> | ||
<!-- `#!/bin/sh --> | ||
<!-- --> | ||
<!-- exec java " + flags + " -jar "$0" "$@" --> | ||
<!-- <scriptFile>src/packaging/someScript.extension</scriptFile> --> | ||
<!-- | ||
<scriptFile>src/packaging/someScript.extension</scriptFile> --> | ||
</configuration> | ||
|
||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters