Skip to content

Commit ea72aeb

Browse files
committed
Fix javadoc and sources upload during release
1 parent e747571 commit ea72aeb

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

pom.xml

+22-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ specific language governing permissions and limitations
1717
under the License.
1818
-->
1919

20-
<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">
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2122

2223
<modelVersion>4.0.0</modelVersion>
2324
<groupId>org.scoverage</groupId>
@@ -279,6 +280,14 @@ under the License.
279280
</links>
280281
<notimestamp>true</notimestamp>
281282
</configuration>
283+
<executions>
284+
<execution>
285+
<id>attach-javadocs</id>
286+
<goals>
287+
<goal>jar</goal>
288+
</goals>
289+
</execution>
290+
</executions>
282291
</plugin>
283292

284293
<plugin>
@@ -363,6 +372,14 @@ under the License.
363372
<groupId>org.apache.maven.plugins</groupId>
364373
<artifactId>maven-source-plugin</artifactId>
365374
<version>3.3.0</version>
375+
<executions>
376+
<execution>
377+
<id>attach-sources</id>
378+
<goals>
379+
<goal>jar-no-fork</goal>
380+
</goals>
381+
</execution>
382+
</executions>
366383
</plugin>
367384

368385
<plugin>
@@ -457,7 +474,7 @@ under the License.
457474
</goals>
458475
</pluginExecutionFilter>
459476
<action>
460-
<ignore />
477+
<ignore/>
461478
</action>
462479
</pluginExecution>
463480

@@ -472,7 +489,7 @@ under the License.
472489
</goals>
473490
</pluginExecutionFilter>
474491
<action>
475-
<ignore />
492+
<ignore/>
476493
</action>
477494
</pluginExecution>
478495

@@ -486,7 +503,7 @@ under the License.
486503
</goals>
487504
</pluginExecutionFilter>
488505
<action>
489-
<ignore />
506+
<ignore/>
490507
</action>
491508
</pluginExecution>
492509
</pluginExecutions>
@@ -515,7 +532,7 @@ under the License.
515532
<version>3.4.1</version>
516533
<executions>
517534
<execution>
518-
<id>enforce-maven</id> <!-- don't change this 'id', it overrides one from 'oss-parent' parent -->
535+
<id>enforce-maven</id>
519536
<goals>
520537
<goal>enforce</goal>
521538
</goals>

0 commit comments

Comments
 (0)