|
13 | 13 | <version>2.0.0-SNAPSHOT</version> |
14 | 14 |
|
15 | 15 | <name>throwing-function</name> |
16 | | - <packaging>bundle</packaging> |
| 16 | + <packaging>jar</packaging> |
17 | 17 |
|
18 | 18 | <description>Java 8+ functional interfaces with enhanced checked exceptions support</description> |
19 | 19 | <url>https://github.com/pivovarit/throwing-function</url> |
|
24 | 24 | |
25 | 25 | <url>4comprehension.com</url> |
26 | 26 | <organization>4comprehension</organization> |
27 | | - <id>gpiwowarek</id> |
| 27 | + <id>pivovarit</id> |
28 | 28 | </developer> |
29 | 29 | </developers> |
30 | 30 |
|
31 | 31 | <licenses> |
32 | 32 | <license> |
33 | 33 | <name>The Apache License, Version 2.0</name> |
34 | | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 34 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
35 | 35 | </license> |
36 | 36 | </licenses> |
37 | 37 |
|
38 | 38 | <scm> |
39 | 39 | <url>https://github.com/pivovarit/throwing-function</url> |
40 | 40 | < connection>scm:git: [email protected]:pivovarit/throwing-function.git</ connection> |
41 | 41 | < developerConnection>scm:git: [email protected]:pivovarit/throwing-function.git</ developerConnection> |
42 | | - </scm> |
| 42 | + <tag>HEAD</tag> |
| 43 | + </scm> |
43 | 44 |
|
44 | 45 | <issueManagement> |
45 | 46 | <url>https://github.com/pivovarit/throwing-function/issues</url> |
|
48 | 49 |
|
49 | 50 | <properties> |
50 | 51 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
51 | | - <junit.version>5.9.1</junit.version> |
| 52 | + <junit.version>5.11.0</junit.version> |
52 | 53 | <assertj.version>3.26.3</assertj.version> |
53 | 54 | </properties> |
54 | 55 |
|
| 56 | + <profiles> |
| 57 | + <profile> |
| 58 | + <id>sonatype-oss-release</id> |
| 59 | + <build> |
| 60 | + <plugins> |
| 61 | + <plugin> |
| 62 | + <groupId>org.apache.maven.plugins</groupId> |
| 63 | + <artifactId>maven-source-plugin</artifactId> |
| 64 | + <version>3.3.1</version> |
| 65 | + <executions> |
| 66 | + <execution> |
| 67 | + <id>attach-sources</id> |
| 68 | + <goals> |
| 69 | + <goal>jar-no-fork</goal> |
| 70 | + </goals> |
| 71 | + </execution> |
| 72 | + </executions> |
| 73 | + </plugin> |
| 74 | + <plugin> |
| 75 | + <groupId>org.apache.maven.plugins</groupId> |
| 76 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 77 | + <version>3.10.0</version> |
| 78 | + <executions> |
| 79 | + <execution> |
| 80 | + <id>attach-javadocs</id> |
| 81 | + <goals> |
| 82 | + <goal>jar</goal> |
| 83 | + </goals> |
| 84 | + </execution> |
| 85 | + </executions> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <groupId>org.apache.maven.plugins</groupId> |
| 89 | + <artifactId>maven-gpg-plugin</artifactId> |
| 90 | + <version>3.2.6</version> |
| 91 | + <executions> |
| 92 | + <execution> |
| 93 | + <id>sign-artifacts</id> |
| 94 | + <phase>verify</phase> |
| 95 | + <goals> |
| 96 | + <goal>sign</goal> |
| 97 | + </goals> |
| 98 | + <configuration> |
| 99 | + <gpgArguments> |
| 100 | + <arg>--pinentry-mode</arg> |
| 101 | + <arg>loopback</arg> |
| 102 | + </gpgArguments> |
| 103 | + </configuration> |
| 104 | + </execution> |
| 105 | + </executions> |
| 106 | + </plugin> |
| 107 | + |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-deploy-plugin</artifactId> |
| 111 | + <configuration> |
| 112 | + <skip>true</skip> |
| 113 | + </configuration> |
| 114 | + </plugin> |
| 115 | + <plugin> |
| 116 | + <groupId>org.sonatype.plugins</groupId> |
| 117 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 118 | + <executions> |
| 119 | + <execution> |
| 120 | + <id>deploy-to-sonatype</id> |
| 121 | + <phase>deploy</phase> |
| 122 | + <goals> |
| 123 | + <goal>deploy</goal> |
| 124 | + <goal>release</goal> |
| 125 | + </goals> |
| 126 | + </execution> |
| 127 | + </executions> |
| 128 | + <configuration> |
| 129 | + <serverId>oss.sonatype.org</serverId> |
| 130 | + <nexusUrl>https://oss.sonatype.org</nexusUrl> |
| 131 | + </configuration> |
| 132 | + </plugin> |
| 133 | + </plugins> |
| 134 | + </build> |
| 135 | + </profile> |
| 136 | + </profiles> |
55 | 137 | <build> |
| 138 | + <defaultGoal>deploy</defaultGoal> |
| 139 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 140 | + |
56 | 141 | <plugins> |
57 | 142 | <plugin> |
58 | 143 | <groupId>org.apache.maven.plugins</groupId> |
59 | 144 | <artifactId>maven-compiler-plugin</artifactId> |
60 | | - <version>3.11.0</version> |
| 145 | + <version>3.13.0</version> |
61 | 146 | <configuration> |
62 | 147 | <source>1.8</source> |
63 | 148 | <target>1.8</target> |
64 | 149 | </configuration> |
65 | 150 | </plugin> |
66 | 151 |
|
67 | 152 | <plugin> |
68 | | - <groupId>org.apache.felix</groupId> |
69 | | - <artifactId>maven-bundle-plugin</artifactId> |
70 | | - <extensions>true</extensions> |
71 | | - <version>5.1.9</version> |
| 153 | + <groupId>org.apache.maven.plugins</groupId> |
| 154 | + <artifactId>maven-jar-plugin</artifactId> |
| 155 | + <version>3.4.2</version> |
72 | 156 | <configuration> |
73 | | - <instructions> |
74 | | - <Export-Package>*</Export-Package> |
75 | | - </instructions> |
| 157 | + <archive> |
| 158 | + <manifest> |
| 159 | + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 160 | + </manifest> |
| 161 | + <manifestEntries> |
| 162 | + <Build-Time>${maven.build.timestamp}</Build-Time> |
| 163 | + <Automatic-Module-Name>com.pivovarit.function</Automatic-Module-Name> |
| 164 | + </manifestEntries> |
| 165 | + </archive> |
76 | 166 | </configuration> |
77 | 167 | </plugin> |
78 | 168 |
|
79 | 169 | <plugin> |
80 | 170 | <groupId>org.apache.maven.plugins</groupId> |
| 171 | + <artifactId>maven-resources-plugin</artifactId> |
| 172 | + <version>3.3.1</version> |
| 173 | + <configuration> |
| 174 | + <encoding>UTF-8</encoding> |
| 175 | + </configuration> |
| 176 | + </plugin> |
| 177 | + |
| 178 | + <plugin> |
81 | 179 | <artifactId>maven-surefire-plugin</artifactId> |
82 | 180 | <version>3.5.0</version> |
83 | 181 | </plugin> |
| 182 | + |
| 183 | + <plugin> |
| 184 | + <groupId>org.apache.felix</groupId> |
| 185 | + <artifactId>maven-bundle-plugin</artifactId> |
| 186 | + <version>5.1.9</version> |
| 187 | + <extensions>true</extensions> |
| 188 | + </plugin> |
| 189 | + |
84 | 190 | </plugins> |
85 | 191 | </build> |
86 | 192 |
|
|
122 | 228 | <scope>test</scope> |
123 | 229 | </dependency> |
124 | 230 | </dependencies> |
| 231 | + |
| 232 | + <distributionManagement> |
| 233 | + <repository> |
| 234 | + <id>sonatype-nexus-staging</id> |
| 235 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 236 | + </repository> |
| 237 | + <snapshotRepository> |
| 238 | + <id>sonatype-nexus-snapshots</id> |
| 239 | + <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 240 | + </snapshotRepository> |
| 241 | + </distributionManagement> |
125 | 242 | </project> |
0 commit comments