File tree Expand file tree Collapse file tree 1 file changed +62
-1
lines changed
Expand file tree Collapse file tree 1 file changed +62
-1
lines changed Original file line number Diff line number Diff line change 460460 </build >
461461 </profile >
462462 <profile >
463- <id >release</id >
463+ <id >local- release</id >
464464 <properties >
465465 <maven .test.skip>true</maven .test.skip>
466466 </properties >
534534 </plugins >
535535 </build >
536536 </profile >
537+ <profile >
538+ <id >release</id >
539+ <properties >
540+ <maven .test.skip>true</maven .test.skip>
541+ </properties >
542+ <build >
543+ <plugins >
544+ <plugin >
545+ <groupId >org.jacoco</groupId >
546+ <artifactId >jacoco-maven-plugin</artifactId >
547+ <executions >
548+ <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as
549+ VM argument when Maven the Surefire plugin is executed. -->
550+ <execution >
551+ <id >pre-unit-test</id >
552+ <goals >
553+ <goal >prepare-agent</goal >
554+ </goals >
555+ </execution >
556+ <!-- Ensures that the code coverage report for unit tests is created after unit tests have
557+ been run. -->
558+ <execution >
559+ <id >post-unit-test</id >
560+ <phase >test</phase >
561+ <goals >
562+ <goal >report</goal >
563+ </goals >
564+ </execution >
565+ </executions >
566+ </plugin >
567+ <plugin >
568+ <groupId >org.eluder.coveralls</groupId >
569+ <artifactId >coveralls-maven-plugin</artifactId >
570+ </plugin >
571+ <plugin >
572+ <groupId >org.apache.maven.plugins</groupId >
573+ <artifactId >maven-deploy-plugin</artifactId >
574+ <configuration >
575+ <skip >true</skip >
576+ </configuration >
577+ </plugin >
578+ <plugin >
579+ <groupId >org.sonatype.plugins</groupId >
580+ <artifactId >nexus-staging-maven-plugin</artifactId >
581+ <executions >
582+ <execution >
583+ <id >deploy-to-sonatype</id >
584+ <phase >deploy</phase >
585+ <goals >
586+ <goal >deploy</goal >
587+ </goals >
588+ </execution >
589+ </executions >
590+ <configuration >
591+ <serverId >sonatype-release</serverId >
592+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
593+ </configuration >
594+ </plugin >
595+ </plugins >
596+ </build >
597+ </profile >
537598 </profiles >
538599
539600 <distributionManagement >
You can’t perform that action at this time.
0 commit comments