Skip to content

Commit 347cb71

Browse files
committed
Merge branch 'release/2.2.1'
2 parents 22a9f04 + 3fdfdfe commit 347cb71

File tree

2 files changed

+48
-7
lines changed

2 files changed

+48
-7
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ Riscure Inspector uses the `.trs` file format to save and read traces from disk.
66
This library supports reading and writing of `.trs` files, but it does not support modifying existing `.trs` files.
77

88
### Installation
9-
Simply include the latest release of the library jar in your project. It is currently not available through any distribution networks (Maven central, etc..). If this changes, it will be stated here.
9+
#### Maven central
10+
This library is available on Maven Central. Use the following information to include it in your pom.xml:
11+
12+
<dependency>
13+
<groupId>com.riscure</groupId>
14+
<artifactId>trsfile</artifactId>
15+
<version>2.2.1</version>
16+
</dependency>
17+
18+
#### Basic
19+
Alternatively, simply include the latest release of the library jar in your project.
1020

1121
### General use tips
1222
##### File creation

pom.xml

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.riscure</groupId>
88
<artifactId>trsfile</artifactId>
9-
<version>2.2</version>
9+
<version>2.2.1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>${project.groupId}:${project.artifactId}</name>
@@ -43,6 +43,15 @@
4343

4444
<build>
4545
<plugins>
46+
<plugin>
47+
<groupId>org.apache.maven.plugins</groupId>
48+
<artifactId>maven-jar-plugin</artifactId>
49+
<configuration>
50+
<archive>
51+
<addMavenDescriptor>false</addMavenDescriptor>
52+
</archive>
53+
</configuration>
54+
</plugin>
4655
<plugin>
4756
<groupId>org.apache.maven.plugins</groupId>
4857
<artifactId>maven-javadoc-plugin</artifactId>
@@ -65,22 +74,32 @@
6574
<goal>sign</goal>
6675
</goals>
6776
<configuration>
68-
<!-- keyId must be the the sign-only subkey fingerprint! (master key 718AF75F82773822E8A71DD4CF33AD49CF13F02D is kept offline)-->
69-
<keyId>D9B4FE0BC89DAA12EEAE5B4F397EA166CDA246DB</keyId>
70-
<keyPass>${env.GPG_PASSPHRASE}</keyPass>
71-
<keyFile>${project.basedir}/secrets/718AF75F82773822E8A71DD4CF33AD49CF13F02D_private_subkeys.asc</keyFile>
77+
<keyId>5287B80DBAC9612B12C06D8919239F30014C7B35</keyId>
78+
<keyPass>${env.PGP_PASSPHRASE}</keyPass>
79+
<skipNoKey>false</skipNoKey>
7280
</configuration>
7381
</execution>
7482
</executions>
7583
</plugin>
7684

85+
<plugin>
86+
<groupId>org.sonatype.plugins</groupId>
87+
<artifactId>nexus-staging-maven-plugin</artifactId>
88+
<version>1.6.7</version>
89+
<extensions>true</extensions>
90+
<configuration>
91+
<serverId>ossrh</serverId>
92+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
93+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
94+
</configuration>
95+
</plugin>
96+
7797
<plugin>
7898
<groupId>org.apache.maven.plugins</groupId>
7999
<artifactId>maven-source-plugin</artifactId>
80100
<executions>
81101
<execution>
82102
<id>attach-sources</id>
83-
<phase>verify</phase>
84103
<goals>
85104
<goal>jar-no-fork</goal>
86105
</goals>
@@ -132,6 +151,11 @@
132151
<artifactId>maven-javadoc-plugin</artifactId>
133152
<version>3.2.0</version>
134153
</plugin>
154+
<plugin>
155+
<groupId>org.apache.maven.plugins</groupId>
156+
<artifactId>maven-jar-plugin</artifactId>
157+
<version>3.2.0</version>
158+
</plugin>
135159
<plugin>
136160
<groupId>org.apache.maven.plugins</groupId>
137161
<artifactId>maven-source-plugin</artifactId>
@@ -187,4 +211,11 @@
187211
<scope>test</scope>
188212
</dependency>
189213
</dependencies>
214+
215+
<distributionManagement>
216+
<snapshotRepository>
217+
<id>ossrh</id>
218+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
219+
</snapshotRepository>
220+
</distributionManagement>
190221
</project>

0 commit comments

Comments
 (0)