Skip to content

Commit 08ac13d

Browse files
committed
Bump version to 3.0.1, build source and Javadoc JARs along the library JAR
Signed-off-by: Mart Somermaa <mrts@users.noreply.github.com>
1 parent 60e1e84 commit 08ac13d

File tree

1 file changed

+33
-4
lines changed

1 file changed

+33
-4
lines changed

pom.xml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
<modelVersion>4.0.0</modelVersion>
66
<artifactId>authtoken-validation</artifactId>
77
<groupId>org.webeid.security</groupId>
8-
<version>3.0.1-SNAPSHOT</version>
8+
<version>3.0.1</version>
99
<packaging>jar</packaging>
1010
<name>authtoken-validation</name>
1111
<description>Web eID authentication token validation library for Java</description>
1212

1313
<properties>
14-
<maven.version>3.3.9</maven.version>
15-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
1614
<java.version>11</java.version>
1715
<jjwt.version>0.11.5</jjwt.version>
1816
<bouncycastle.version>1.76</bouncycastle.version>
@@ -21,6 +19,9 @@
2119
<junit-jupiter.version>5.9.2</junit-jupiter.version>
2220
<assertj.version>3.24.2</assertj.version>
2321
<mockito.version>5.2.0</mockito.version>
22+
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
23+
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
24+
<maven-javadoc-plugin.version>3.6.2</maven-javadoc-plugin.version>
2425
<jacoco.version>0.8.5</jacoco.version>
2526
<sonar.coverage.jacoco.xmlReportPaths>
2627
${project.basedir}/../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml
@@ -98,8 +99,36 @@
9899
<artifactId>maven-surefire-plugin</artifactId>
99100
<version>${maven-surefire-plugin.version}</version>
100101
</plugin>
102+
<!-- Build source JAR during packaging -->
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-source-plugin</artifactId>
106+
<version>${maven-source-plugin.version}</version>
107+
<executions>
108+
<execution>
109+
<id>attach-sources</id>
110+
<goals>
111+
<goal>jar</goal>
112+
</goals>
113+
</execution>
114+
</executions>
115+
</plugin>
116+
<!-- Build Javacdoc JAR during packaging -->
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-javadoc-plugin</artifactId>
120+
<version>${maven-javadoc-plugin.version}</version>
121+
<executions>
122+
<execution>
123+
<id>attach-javadocs</id>
124+
<goals>
125+
<goal>jar</goal>
126+
</goals>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
<!-- Generate a coverage XML file for Sonar -->
101131
<plugin>
102-
<!-- Generate a coverage XML file for Sonar -->
103132
<groupId>org.jacoco</groupId>
104133
<artifactId>jacoco-maven-plugin</artifactId>
105134
<version>${jacoco.version}</version>

0 commit comments

Comments
 (0)