|
129 | 129 | <junitVersion>4.12</junitVersion>
|
130 | 130 | <mavenSurefireVersion>2.20</mavenSurefireVersion>
|
131 | 131 | <InfoReportsVersion>2.9</InfoReportsVersion>
|
| 132 | + |
132 | 133 | <findbugsTestDebug>false</findbugsTestDebug>
|
133 | 134 | <integrationTestSrc>${project.build.directory}/it-src-findbugs</integrationTestSrc>
|
134 |
| - <localTestSrc>${user.dir}/FindBugs/findbugsTestCases/src</localTestSrc> |
135 |
| - <remoteTestSrc>scm:svn:http://findbugs.googlecode.com/svn/branches/1.3.9/findbugsTestCases/src</remoteTestSrc> |
136 |
| - <!-- <remoteTestSrc>scm:svn:http://findbugs.googlecode.com/svn/trunk/findbugsTestCases/src/java/</remoteTestSrc> --> |
137 |
| - <includesTestSrcPattern>**/A*.java, **/Use*.java</includesTestSrcPattern> |
| 135 | + <localTestSrc>${user.dir}/FindBugs</localTestSrc> |
| 136 | + <remoteTestSrc>scm:git:https://github.com/findbugsproject/findbugs/</remoteTestSrc> |
| 137 | + <includesTestSrcPattern>**findbugsTestCases/src/java/A*.java, **findbugsTestCases/src/java/Use*.java, **findbugsTestCases/src/java/annotations/*.java</includesTestSrcPattern> |
138 | 138 | <testSrc>remote</testSrc>
|
139 | 139 |
|
140 | 140 | <pmd.skip>true</pmd.skip>
|
|
583 | 583 | </plugins>
|
584 | 584 | </build>
|
585 | 585 | </profile>
|
| 586 | + |
586 | 587 | <profile>
|
587 |
| - <id>find-it-src-export</id> |
| 588 | + <id>find-it-src-checkout</id> |
588 | 589 | <activation>
|
589 | 590 | <!-- <file> -->
|
590 | 591 | <!-- <missing>${integrationTestSrc}/A.java</missing> -->
|
|
605 | 606 | <id>prepare-integration-test-remote-findbugs-src</id>
|
606 | 607 | <phase>pre-integration-test</phase>
|
607 | 608 | <goals>
|
608 |
| - <goal>export</goal> |
| 609 | + <goal>checkout</goal> |
609 | 610 | </goals>
|
610 | 611 | <configuration>
|
611 | 612 | <connectionUrl>${remoteTestSrc}</connectionUrl>
|
612 |
| - <exportDirectory>${integrationTestSrc}</exportDirectory> |
| 613 | + <checkoutDirectory>${integrationTestSrc}</checkoutDirectory> |
613 | 614 | <providerImplementations>
|
614 |
| - <svn>javasvn</svn> |
| 615 | + <git>jgit</git> |
615 | 616 | </providerImplementations>
|
616 | 617 | <includes>${includesTestSrcPattern}</includes>
|
| 618 | + <scmVersion>release-${findbugsVersion}</scmVersion> |
| 619 | + <scmVersionType>branch</scmVersionType> |
617 | 620 | </configuration>
|
618 | 621 | </execution>
|
619 | 622 | </executions>
|
620 | 623 | <dependencies>
|
621 | 624 | <dependency>
|
622 |
| - <groupId>com.google.code.maven-scm-provider-svnjava</groupId> |
623 |
| - <artifactId>maven-scm-provider-svnjava</artifactId> |
624 |
| - <version>2.1.2</version> |
| 625 | + <groupId>org.apache.maven.scm</groupId> |
| 626 | + <artifactId>maven-scm-provider-jgit</artifactId> |
| 627 | + <version>1.9.5</version> |
625 | 628 | </dependency>
|
626 | 629 | </dependencies>
|
627 | 630 | </plugin>
|
|
657 | 660 | <target>
|
658 | 661 |
|
659 | 662 | <echo>Copying Source for Tests......</echo>
|
| 663 | + <echo>Making ${integrationTestSrc}</echo> |
660 | 664 | <mkdir dir="${integrationTestSrc}" />
|
| 665 | + <echo>Copying to ${integrationTestSrc}</echo> |
| 666 | + <echo>from ${localTestSrc}</echo> |
| 667 | + <echo>for ${includesTestSrcPattern}</echo> |
661 | 668 | <copy todir="${integrationTestSrc}">
|
662 | 669 | <fileset dir="${localTestSrc}" includes="${includesTestSrcPattern}" />
|
663 | 670 | </copy>
|
|
0 commit comments