Skip to content
This repository was archived by the owner on Oct 7, 2019. It is now read-only.

Commit a8fc375

Browse files
committed
[pom] Upgrade remote source to use github instead of legacy svn repo
1 parent 329bf15 commit a8fc375

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Skip tests
2424
```
2525
mvn -DskipTests=true clean install
2626
```
27-
Run tests on findbugs test source code that is local instead of from FindBugs SVN repository
27+
Run tests on findbugs test source code that is local instead of from FindBugs github repository
2828
```
2929
mvn -DtestSrc=local -DlocalTestSrc=/opt/findBugs/findbugsTestCases/src -Prun-its clean install
3030
```

pom.xml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@
129129
<junitVersion>4.12</junitVersion>
130130
<mavenSurefireVersion>2.20</mavenSurefireVersion>
131131
<InfoReportsVersion>2.9</InfoReportsVersion>
132+
132133
<findbugsTestDebug>false</findbugsTestDebug>
133134
<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</includesTestSrcPattern>
138138
<testSrc>remote</testSrc>
139139

140140
<pmd.skip>true</pmd.skip>
@@ -583,8 +583,9 @@
583583
</plugins>
584584
</build>
585585
</profile>
586+
586587
<profile>
587-
<id>find-it-src-export</id>
588+
<id>find-it-src-checkout</id>
588589
<activation>
589590
<!-- <file> -->
590591
<!-- <missing>${integrationTestSrc}/A.java</missing> -->
@@ -605,23 +606,23 @@
605606
<id>prepare-integration-test-remote-findbugs-src</id>
606607
<phase>pre-integration-test</phase>
607608
<goals>
608-
<goal>export</goal>
609+
<goal>checkout</goal>
609610
</goals>
610611
<configuration>
611612
<connectionUrl>${remoteTestSrc}</connectionUrl>
612613
<exportDirectory>${integrationTestSrc}</exportDirectory>
613614
<providerImplementations>
614-
<svn>javasvn</svn>
615+
<git>jgit</git>
615616
</providerImplementations>
616617
<includes>${includesTestSrcPattern}</includes>
617618
</configuration>
618619
</execution>
619620
</executions>
620621
<dependencies>
621622
<dependency>
622-
<groupId>com.google.code.maven-scm-provider-svnjava</groupId>
623-
<artifactId>maven-scm-provider-svnjava</artifactId>
624-
<version>2.1.2</version>
623+
<groupId>org.apache.maven.scm</groupId>
624+
<artifactId>maven-scm-provider-jgit</artifactId>
625+
<version>1.9.5</version>
625626
</dependency>
626627
</dependencies>
627628
</plugin>

0 commit comments

Comments
 (0)