|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | | - |
4 | | - <parent> |
5 | | - <artifactId>oss-parent</artifactId> |
6 | | - <groupId>org.sonatype.oss</groupId> |
7 | | - <version>9</version> |
8 | | - </parent> |
9 | | - |
10 | 3 | <groupId>com.pivovarit</groupId> |
11 | 4 | <artifactId>throwing-function</artifactId> |
12 | 5 | <version>1.6.0-SNAPSHOT</version> |
|
52 | 45 | </properties> |
53 | 46 |
|
54 | 47 | <build> |
| 48 | + <defaultGoal>deploy</defaultGoal> |
| 49 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 50 | + |
55 | 51 | <plugins> |
56 | 52 | <plugin> |
57 | 53 | <groupId>org.apache.maven.plugins</groupId> |
58 | 54 | <artifactId>maven-compiler-plugin</artifactId> |
59 | | - <version>3.7.0</version> |
| 55 | + <version>3.13.0</version> |
60 | 56 | <configuration> |
61 | 57 | <source>1.8</source> |
62 | 58 | <target>1.8</target> |
|
69 | 65 | <version>3.4.2</version> |
70 | 66 | <configuration> |
71 | 67 | <archive> |
| 68 | + <manifest> |
| 69 | + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 70 | + </manifest> |
72 | 71 | <manifestEntries> |
| 72 | + <Build-Time>${maven.build.timestamp}</Build-Time> |
73 | 73 | <Automatic-Module-Name>com.pivovarit.function</Automatic-Module-Name> |
74 | 74 | </manifestEntries> |
75 | 75 | </archive> |
|
78 | 78 |
|
79 | 79 | <plugin> |
80 | 80 | <groupId>org.apache.maven.plugins</groupId> |
81 | | - <artifactId>maven-javadoc-plugin</artifactId> |
82 | | - <version>3.1.1</version> |
| 81 | + <artifactId>maven-resources-plugin</artifactId> |
| 82 | + <version>3.3.1</version> |
83 | 83 | <configuration> |
84 | | - <doclint>none</doclint> <!-- Turnoff all checks --> |
| 84 | + <encoding>UTF-8</encoding> |
85 | 85 | </configuration> |
| 86 | + </plugin> |
| 87 | + |
| 88 | + <plugin> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-gpg-plugin</artifactId> |
| 91 | + <version>3.2.6</version> |
86 | 92 | <executions> |
87 | 93 | <execution> |
88 | | - <id>attach-javadocs</id> |
| 94 | + <id>sign-artifacts</id> |
| 95 | + <phase>verify</phase> |
89 | 96 | <goals> |
90 | | - <goal>jar</goal> |
| 97 | + <goal>sign</goal> |
91 | 98 | </goals> |
| 99 | + <configuration> |
| 100 | + <gpgArguments> |
| 101 | + <arg>--pinentry-mode</arg> |
| 102 | + <arg>loopback</arg> |
| 103 | + </gpgArguments> |
| 104 | + </configuration> |
92 | 105 | </execution> |
93 | 106 | </executions> |
94 | 107 | </plugin> |
| 108 | + |
| 109 | + <plugin> |
| 110 | + <artifactId>maven-surefire-plugin</artifactId> |
| 111 | + <version>3.5.0</version> |
| 112 | + </plugin> |
| 113 | + |
| 114 | + <plugin> |
| 115 | + <groupId>org.apache.felix</groupId> |
| 116 | + <artifactId>maven-bundle-plugin</artifactId> |
| 117 | + <version>5.1.9</version> |
| 118 | + <extensions>true</extensions> |
| 119 | + </plugin> |
| 120 | + |
95 | 121 | </plugins> |
96 | 122 | </build> |
97 | 123 |
|
|
116 | 142 | <scope>test</scope> |
117 | 143 | </dependency> |
118 | 144 | </dependencies> |
| 145 | + |
| 146 | + <distributionManagement> |
| 147 | + <repository> |
| 148 | + <id>sonatype-nexus-staging</id> |
| 149 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 150 | + </repository> |
| 151 | + <snapshotRepository> |
| 152 | + <id>sonatype-nexus-snapshots</id> |
| 153 | + <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 154 | + </snapshotRepository> |
| 155 | + </distributionManagement> |
119 | 156 | </project> |
0 commit comments