Skip to content

Commit 81a170e

Browse files
authored
fix: update release jar (#608)
1 parent 0e121cc commit 81a170e

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ VERSION := $(shell mvn help:evaluate -Dexpression=project.version --batch-mode |
44
install:
55
@java -version || (echo "Java is not installed, please install Java >= 7"; exit 1);
66
mvn clean install -DskipTests=true -Dgpg.skip -B
7-
cp target/sendgrid-java-$(VERSION).jar sendgrid-java.jar
7+
cp target/sendgrid-java-$(VERSION)-shaded.jar sendgrid-java.jar
88

99
test:
1010
mvn test

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@
143143
<goals>
144144
<goal>shade</goal>
145145
</goals>
146+
<configuration>
147+
<shadedArtifactAttached>true</shadedArtifactAttached>
148+
<shadedClassifierName>shaded</shadedClassifierName>
149+
</configuration>
146150
</execution>
147151
</executions>
148152
</plugin>
@@ -248,6 +252,10 @@
248252
<goals>
249253
<goal>shade</goal>
250254
</goals>
255+
<configuration>
256+
<shadedArtifactAttached>true</shadedArtifactAttached>
257+
<shadedClassifierName>shaded</shadedClassifierName>
258+
</configuration>
251259
</execution>
252260
</executions>
253261
</plugin>
@@ -296,4 +304,4 @@
296304
<scope>test</scope>
297305
</dependency>
298306
</dependencies>
299-
</project>
307+
</project>

0 commit comments

Comments
 (0)