Skip to content

Commit

Permalink
new version with bouncy castle dependency updated
Browse files Browse the repository at this point in the history
  • Loading branch information
verhas committed Sep 16, 2020
1 parent 270c905 commit 976be2c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.verhas</groupId>
<artifactId>license3j</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<packaging>jar</packaging>
<url>https:/github.com/verhas/license3j/tree/master</url>

<name>License3j</name>
<description>https://github.com/verhas/License3j</description>
Expand Down Expand Up @@ -42,7 +43,7 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpg-jdk15on</artifactId>
<version>1.57</version>
<version>1.60</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
Expand All @@ -68,6 +69,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -80,6 +82,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -88,6 +91,9 @@
</goals>
</execution>
</executions>
<configuration>
<source>8</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
19 changes: 19 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

mkdir -p release/
cp target/*.jar release/
cp pom.xml release/

cd release
rm *.sig
rm *.asc
for file in *.jar pom.xml
do
gpg -s -b $file
mv ${file}.sig ${file}.asc
done

rm *.zip
jar -c -M -f release.zip *.jar pom.xml *.asc
cd ..
cd ..

0 comments on commit 976be2c

Please sign in to comment.