Skip to content

Commit

Permalink
#314 Some Configure build of sourceJar and javadocJar
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Ruhroth authored and ascheman committed Nov 19, 2024
1 parent 9b6ef0d commit 8e7e693
Showing 1 changed file with 36 additions and 10 deletions.
46 changes: 36 additions & 10 deletions htmlSanityCheck-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,27 +165,53 @@
<goal>prepare-agent</goal>
</goals>
<configuration>
<append>false</append>
<!-- <append>false</append>-->
<destFile>build/jacoco/test.exec</destFile>
<propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
<!-- set arg line property for failsafe -->
<!-- <execution>-->
<!-- <id>prepare-agent-integration</id>-->
<!-- <goals>-->
<!-- <goal>prepare-agent-integration</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <append>true</append>-->
<!-- <destFile>build/jacoco/test.exec</destFile>-->
<!-- <propertyName>failsafeArgLine</propertyName>-->
<!-- </configuration>-->
<!-- </execution>-->
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>prepare-agent-integration</id>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>prepare-agent-integration</goal>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.1</version>
<executions>
<execution>
<id>attach-javadoc</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<append>true</append>
<destFile>build/jacoco/test.exec</destFile>
<propertyName>failsafeArgLine</propertyName>
</configuration>
</execution>
</executions>
</plugin>


</plugins>
</build>
</project>

0 comments on commit 8e7e693

Please sign in to comment.