Skip to content

Commit 99112f7

Browse files
committed
Add sources to Maven release
1 parent 88d7ec9 commit 99112f7

File tree

1 file changed

+13
-33
lines changed

1 file changed

+13
-33
lines changed

pom.xml

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -430,39 +430,6 @@ limitations under the License.]]></inlineHeader>
430430
</additionalSourceDirectories>
431431
</configuration>
432432
</plugin>
433-
<plugin>
434-
<groupId>org.codehaus.mojo</groupId>
435-
<artifactId>build-helper-maven-plugin</artifactId>
436-
<executions>
437-
<execution>
438-
<id>add-integration-test-sources</id>
439-
<phase>generate-test-sources</phase>
440-
<goals>
441-
<goal>add-test-source</goal>
442-
</goals>
443-
<configuration>
444-
<sources>
445-
<source>src/it/java</source>
446-
</sources>
447-
</configuration>
448-
</execution>
449-
<execution>
450-
<id>add-integration-test-resources</id>
451-
<phase>generate-test-resources</phase>
452-
<goals>
453-
<goal>add-test-resource</goal>
454-
</goals>
455-
<configuration>
456-
<resources>
457-
<resource>
458-
<filtering>false</filtering>
459-
<directory>src/it/resources</directory>
460-
</resource>
461-
</resources>
462-
</configuration>
463-
</execution>
464-
</executions>
465-
</plugin>
466433
<plugin>
467434
<groupId>com.mycila</groupId>
468435
<artifactId>license-maven-plugin</artifactId>
@@ -630,6 +597,19 @@ limitations under the License.]]></inlineHeader>
630597
</execution>
631598
</executions>
632599
</plugin>
600+
<plugin>
601+
<groupId>org.apache.maven.plugins</groupId>
602+
<artifactId>maven-source-plugin</artifactId>
603+
<version>3.2.1</version>
604+
<executions>
605+
<execution>
606+
<goals>
607+
<goal>jar-no-fork</goal>
608+
</goals>
609+
<phase>package</phase>
610+
</execution>
611+
</executions>
612+
</plugin>
633613
<plugin>
634614
<artifactId>maven-gpg-plugin</artifactId>
635615
<executions>

0 commit comments

Comments
 (0)