Skip to content

Commit

Permalink
Renamed final jar instead of copy
Browse files Browse the repository at this point in the history
This is mainly to reduce the size of the snap files during build
  • Loading branch information
frossm committed May 6, 2022
1 parent 6b99894 commit 12243cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.fross</groupId>
<artifactId>cal</artifactId>
<version>2.3.13</version>
<version>2.3.14</version>
<packaging>jar</packaging>

<name>cal</name>
Expand Down Expand Up @@ -81,17 +81,17 @@
</executions>
</plugin>

<!-- Copy the jar with dependencies output to one simply called the <ProjectName>.jar -->
<!-- Move the jar with dependencies output to one simply called the <ProjectName>.jar -->
<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
<version>1.0</version>
<version>1.0.1</version>
<executions>
<execution>
<id>copy-file</id>
<id>rename-file</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
<goal>rename</goal>
</goals>
<configuration>
<sourceFile>${basedir}/target/${project.artifactId}-${project.version}-jar-with-dependencies.jar</sourceFile>
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: fcal
version: '2.3.13'
version: '2.3.14'
summary: Command line calendar display
description: |
fCal is a command line calendar display utility. It will display a
Expand Down

0 comments on commit 12243cb

Please sign in to comment.