|
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/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion> |
3 | | - <parent> |
4 | | - <groupId>org.sonatype.oss</groupId> |
5 | | - <artifactId>oss-parent</artifactId> |
6 | | - <version>9</version> |
7 | | - </parent> |
8 | 4 | <groupId>io.vavr</groupId> |
9 | 5 | <artifactId>vavr-match-processor</artifactId> |
10 | 6 | <version>0.11.0-SNAPSHOT</version> |
|
152 | 148 | <groupId>org.apache.maven.plugins</groupId> |
153 | 149 | <artifactId>maven-jar-plugin</artifactId> |
154 | 150 | <version>${maven.jar.version}</version> |
155 | | - <configuration> |
156 | | - <skipIfEmpty>true</skipIfEmpty> |
157 | | - <archive> |
158 | | - <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
159 | | - <manifestEntries> |
160 | | - <Automatic-Module-Name>io.vavr.match.processor</Automatic-Module-Name> |
161 | | - </manifestEntries> |
162 | | - </archive> |
163 | | - </configuration> |
164 | 151 | </plugin> |
165 | 152 | <plugin> |
166 | 153 | <groupId>org.apache.maven.plugins</groupId> |
167 | 154 | <artifactId>maven-javadoc-plugin</artifactId> |
168 | 155 | <version>${maven.javadoc.version}</version> |
| 156 | + <executions> |
| 157 | + <execution> |
| 158 | + <id>attach-javadocs</id> |
| 159 | + <goals> |
| 160 | + <goal>jar</goal> |
| 161 | + </goals> |
| 162 | + </execution> |
| 163 | + </executions> |
169 | 164 | <configuration> |
170 | | - <!-- fix for https://bugs.openjdk.java.net/browse/JDK-8212233 --> |
171 | | - <source>8</source> |
172 | | - </configuration> |
| 165 | + <failOnWarnings>false</failOnWarnings> |
| 166 | + <failOnError>true</failOnError> |
| 167 | + </configuration> |
173 | 168 | </plugin> |
| 169 | + |
174 | 170 | <plugin> |
175 | 171 | <groupId>org.apache.felix</groupId> |
176 | 172 | <artifactId>maven-bundle-plugin</artifactId> |
|
193 | 189 | <configuration> |
194 | 190 | <publishingServerId>central</publishingServerId> |
195 | 191 | <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
| 192 | + <autoPublish>true</autoPublish> |
196 | 193 | </configuration> |
197 | 194 | </plugin> |
198 | 195 | <plugin> |
|
242 | 239 | </build> |
243 | 240 | <profiles> |
244 | 241 | <profile> |
245 | | - <id>release-sign-artifacts</id> |
246 | | - <activation> |
247 | | - <property> |
248 | | - <!-- Automatically set to true on mvn release:perform --> |
249 | | - <name>performRelease</name> |
250 | | - <value>true</value> |
251 | | - </property> |
252 | | - </activation> |
| 242 | + <id>maven-central-release</id> |
253 | 243 | <build> |
254 | 244 | <plugins> |
255 | 245 | <plugin> |
|
0 commit comments