Permalink
Browse files

Port Plugin for GeoGig to GeoServer 2.10

  • Loading branch information...
1 parent e9f9cf0 commit 68ac34548b20f1351d9bbd4d607445fca428385d @emerkle826 emerkle826 committed Jul 7, 2016
Showing with 15,314 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +361 −0 src/community/geogig/pom.xml
  3. +278 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/ConfigStore.java
  4. +157 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/DeprecatedDataStoreConfigFixer.java
  5. +34 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/GeoGigGeoServerLifeCycleListener.java
  6. +121 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/GeoGigInitializer.java
  7. +27 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/GeoServerStoreRepositoryResolver.java
  8. +42 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/ImportRepositoryFormBean.java
  9. +71 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/LogEvent.java
  10. +399 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/LogStore.java
  11. +321 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/LogStoreInitializer.java
  12. +203 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/PostgresConfigBean.java
  13. +105 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/RepositoryCache.java
  14. +146 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/RepositoryInfo.java
  15. +378 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/RepositoryManager.java
  16. +55 −0 src/community/geogig/src/main/java/org/geogig/geoserver/config/WhitelistRule.java
  17. +191 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/CompactMultiPoint.java
  18. +77 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/GeometryTileRangeMask.java
  19. +219 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/GrowableCoordinateSequence.java
  20. +92 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/MinimalDiffBounds.java
  21. +162 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/MinimalDiffBoundsConsumer.java
  22. +284 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/TruncateHelper.java
  23. +233 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/TruncateTilesOnUpdateRefHook.java
  24. +26 −0 src/community/geogig/src/main/java/org/geogig/geoserver/gwc/package-info.java
  25. +77 −0 src/community/geogig/src/main/java/org/geogig/geoserver/model/DropDownModel.java
  26. +69 −0 src/community/geogig/src/main/java/org/geogig/geoserver/model/ImportRepositoryFormModel.java
  27. +57 −0 src/community/geogig/src/main/java/org/geogig/geoserver/model/PGBeanModel.java
  28. +57 −0 src/community/geogig/src/main/java/org/geogig/geoserver/model/RepoDirModel.java
  29. +48 −0 src/community/geogig/src/main/java/org/geogig/geoserver/model/RepoNameModel.java
  30. +183 −0 src/community/geogig/src/main/java/org/geogig/geoserver/rest/GeoServerRepositoryProvider.java
  31. +231 −0 src/community/geogig/src/main/java/org/geogig/geoserver/rest/GeogigDispatcher.java
  32. +94 −0 src/community/geogig/src/main/java/org/geogig/geoserver/rest/InitCommandResource.java
  33. +215 −0 src/community/geogig/src/main/java/org/geogig/geoserver/rest/InitRequestHandler.java
  34. +148 −0 src/community/geogig/src/main/java/org/geogig/geoserver/rest/RepositoryListResource.java
  35. +140 −0 src/community/geogig/src/main/java/org/geogig/geoserver/rest/RepositoryResource.java
  36. +150 −0 src/community/geogig/src/main/java/org/geogig/geoserver/security/NetworkSecurityHook.java
  37. +43 −0 src/community/geogig/src/main/java/org/geogig/geoserver/security/SecurityLogHook.java
  38. +311 −0 src/community/geogig/src/main/java/org/geogig/geoserver/security/SecurityLogger.java
  39. +43 −0 src/community/geogig/src/main/java/org/geogig/geoserver/util/PostgresConnectionErrorHandler.java
  40. +31 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RemotesPage.html
  41. +50 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RemotesPage.java
  42. +16 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RepositoriesPage.html
  43. +37 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RepositoriesPage.java
  44. +10 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RepositoryEditPage.html
  45. +39 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RepositoryEditPage.java
  46. +10 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RepositoryImportPage.html
  47. +45 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/RepositoryImportPage.java
  48. +19 −0 ...mmunity/geogig/src/main/java/org/geogig/geoserver/web/data/store/geogig/BranchSelectionPanel.html
  49. +109 −0 ...mmunity/geogig/src/main/java/org/geogig/geoserver/web/data/store/geogig/BranchSelectionPanel.java
  50. +22 −0 ...ity/geogig/src/main/java/org/geogig/geoserver/web/data/store/geogig/GeoGigDataStoreEditPanel.html
  51. +273 −0 ...ity/geogig/src/main/java/org/geogig/geoserver/web/data/store/geogig/GeoGigDataStoreEditPanel.java
  52. +34 −0 .../geogig/src/main/java/org/geogig/geoserver/web/repository/DirectoryChooser$DirectoryDataView.html
  53. +14 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/DirectoryChooser.html
  54. +539 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/DirectoryChooser.java
  55. +12 −0 ...munity/geogig/src/main/java/org/geogig/geoserver/web/repository/GeoGigDirectoryFormComponent.html
  56. +136 −0 ...munity/geogig/src/main/java/org/geogig/geoserver/web/repository/GeoGigDirectoryFormComponent.java
  57. +14 −0 ...y/geogig/src/main/java/org/geogig/geoserver/web/repository/GeoGigRepositoryInfoFormComponent.html
  58. +138 −0 ...y/geogig/src/main/java/org/geogig/geoserver/web/repository/GeoGigRepositoryInfoFormComponent.java
  59. +14 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/PostgresConfigFormPanel.html
  60. +91 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/PostgresConfigFormPanel.java
  61. +38 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RemoteEditPanel.html
  62. +113 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RemoteEditPanel.java
  63. +123 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RemoteInfo.java
  64. +16 −0 ...geogig/src/main/java/org/geogig/geoserver/web/repository/RemotesListPanel$ConfirmRemovePanel.html
  65. +12 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RemotesListPanel.html
  66. +271 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RemotesListPanel.java
  67. +35 −0 ...g/src/main/java/org/geogig/geoserver/web/repository/RepositoriesListPanel$ConfirmRemovePanel.html
  68. +11 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoriesListPanel.html
  69. +276 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoriesListPanel.java
  70. +25 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryEditFormPanel.html
  71. +263 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryEditFormPanel.java
  72. +10 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryEditPanel.html
  73. +119 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryEditPanel.java
  74. +17 −0 ...community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryImportFormPanel.html
  75. +88 −0 ...community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryImportFormPanel.java
  76. +12 −0 ...c/main/java/org/geogig/geoserver/web/repository/RepositoryImportPanel$RepoDirectoryComponent.html
  77. +17 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryImportPanel.html
  78. +303 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryImportPanel.java
  79. +38 −0 ...unity/geogig/src/main/java/org/geogig/geoserver/web/repository/RepositoryInfoDetachableModel.java
  80. +7 −0 ...ity/geogig/src/main/java/org/geogig/geoserver/web/security/SecurityLogsPanel$StackTracePanel.html
  81. +7 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/security/SecurityLogsPanel.html
  82. +216 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/security/SecurityLogsPanel.java
  83. +41 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/security/WhitelistRuleEditor.html
  84. +79 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/security/WhitelistRuleEditor.java
  85. +9 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/security/WhitelistRulePanel.html
  86. +181 −0 src/community/geogig/src/main/java/org/geogig/geoserver/web/security/WhitelistRulePanel.java
  87. +307 −0 src/community/geogig/src/main/java/org/geogig/geoserver/wms/GeogigLayerIntegrationListener.java
  88. +126 −0 src/community/geogig/src/main/resources/GeoServerApplication.properties
  89. +6 −0 ...mmunity/geogig/src/main/resources/META-INF/services/org.locationtech.geogig.api.hooks.CommandHook
  90. +82 −0 src/community/geogig/src/main/resources/applicationContext.xml
  91. +15 −0 src/community/geogig/src/main/resources/git.properties
  92. +14 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/config/hsqldb.properties
  93. +48 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/config/hsqldb.sql
  94. +63 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/config/mysql.sql
  95. +14 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/config/postgresql.properties
  96. +57 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/config/postgresql.sql
  97. +63 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/config/sqlite.sql
  98. +70 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/functional/PluginInitRepository.feature
  99. +41 −0 ...ommunity/geogig/src/main/resources/org/geogig/geoserver/functional/PluginListRepositories.feature
  100. +24 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/rest/RepositoryListResource.ftl
  101. +22 −0 src/community/geogig/src/main/resources/org/geogig/geoserver/rest/RepositoryResource.ftl
  102. BIN src/community/geogig/src/main/resources/org/geogig/geoserver/web/geogig_16x16_babyblue.png
  103. BIN src/community/geogig/src/main/resources/org/geogig/geoserver/web/geogig_16x16_darkblue.png
  104. BIN src/community/geogig/src/main/resources/org/geogig/geoserver/web/lock.png
  105. BIN src/community/geogig/src/main/resources/org/geogig/geoserver/web/lock_open.png
  106. +557 −0 src/community/geogig/src/test/java/org/geogig/geoserver/GeoGigTestData.java
  107. +285 −0 src/community/geogig/src/test/java/org/geogig/geoserver/config/AbstractLogStoreTest.java
  108. +292 −0 src/community/geogig/src/test/java/org/geogig/geoserver/config/ConfigStoreTest.java
  109. +40 −0 src/community/geogig/src/test/java/org/geogig/geoserver/config/HSQLLogStoreTest.java
  110. +22 −0 src/community/geogig/src/test/java/org/geogig/geoserver/config/SQLiteLogStoreTest.java
  111. +392 −0 ...ommunity/geogig/src/test/java/org/geogig/geoserver/functional/GeoServerFunctionalTestContext.java
  112. +23 −0 ...y/geogig/src/test/java/org/geogig/geoserver/functional/GeoServerFunctionalTestInjectorSource.java
  113. +20 −0 ...community/geogig/src/test/java/org/geogig/geoserver/functional/GeoServerFunctionalTestModule.java
  114. +226 −0 src/community/geogig/src/test/java/org/geogig/geoserver/functional/PluginWebAPICucumberHooks.java
  115. +24 −0 src/community/geogig/src/test/java/org/geogig/geoserver/functional/RunWebAPIFunctionalTest.java
  116. +176 −0 src/community/geogig/src/test/java/org/geogig/geoserver/gwc/GWCIntegrationTest.java
  117. +301 −0 src/community/geogig/src/test/java/org/geogig/geoserver/rest/GeoGigGeoServerRESTntegrationTest.java
  118. +385 −0 src/community/geogig/src/test/java/org/geogig/geoserver/rest/GeoGigWebAPIIntegrationTest.java
  119. +240 −0 src/community/geogig/src/test/java/org/geogig/geoserver/rest/InitRequestHandlerTest.java
  120. +105 −0 src/community/geogig/src/test/java/org/geogig/geoserver/security/SecurityLoggerTest.java
  121. +160 −0 ...mmunity/geogig/src/test/java/org/geogig/geoserver/security/SecurityLoggerTestIntegrationTest.java
  122. +89 −0 src/community/geogig/src/test/java/org/geogig/geoserver/web/RepositoriesPageTest.java
  123. +186 −0 ...geogig/src/test/java/org/geogig/geoserver/web/data/store/geogig/GeoGigDataStoreEditPanelTest.java
  124. +125 −0 src/community/geogig/src/test/java/org/geogig/geoserver/web/repository/CommonPanelTest.java
  125. +97 −0 src/community/geogig/src/test/java/org/geogig/geoserver/web/repository/RepositoryEditPanelTest.java
  126. +95 −0 ...community/geogig/src/test/java/org/geogig/geoserver/web/repository/RepositoryImportPanelTest.java
  127. +400 −0 src/community/geogig/src/test/java/org/geogig/geoserver/wfs/WFSIntegrationTest.java
  128. +215 −0 src/community/geogig/src/test/java/org/geogig/geoserver/wms/GeogigLayerIntegrationListenerTest.java
  129. +4 −0 src/community/geogig/src/test/resources/cucumber.properties
  130. +8 −0 src/community/pom.xml
  131. +59 −0 src/community/release/ext-geogig.xml
  132. +5 −0 src/community/release/pom.xml
View
@@ -13,3 +13,6 @@ target
# Intellij
.idea/
*.iml
+
+# Cucumber Testing artifacts
+cucumber-report
@@ -0,0 +1,361 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.geoserver</groupId>
+ <artifactId>community</artifactId>
+ <version>2.10-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.geoserver.community</groupId>
+ <artifactId>gs-geogig</artifactId>
+ <packaging>jar</packaging>
+ <name>GeoGig GeoServer integration</name>
+
+ <properties>
+ <geogig.version>1.0-SNAPSHOT</geogig.version>
+ <jline.version>2.12</jline.version>
+ <mockito.version>1.8.5</mockito.version>
+ <logback.version>1.1.2</logback.version>
+ <cucumber-java.version>1.2.4</cucumber-java.version>
+ </properties>
+
+ <repositories>
+ <repository>
+ <id>oracle</id>
+ <name>Oracles Maven Repository</name>
+ <url>http://download.oracle.com/maven/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>${logback.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>${logback.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-cli</artifactId>
+ <version>${geogig.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-geotools</artifactId>
+ <version>${geogig.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-datastore</artifactId>
+ <version>${geogig.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-web-api</artifactId>
+ <version>${geogig.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-osm</artifactId>
+ <version>${geogig.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-postgres</artifactId>
+ <version>${geogig.version}</version>
+ </dependency>
+
+ <!--
+ The following are geotools dependencies that geogig uses but we declare explicitly
+ here with a provided scope, since we excluded all geotools transitive dependencies
+ in the geogig entries above in order to avoid having duplicates when geogig is tied
+ to a different geotools version than this project.
+ -->
+ <dependency>
+ <groupId>org.geotools</groupId>
+ <artifactId>gt-geojson</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools.jdbc</groupId>
+ <artifactId>gt-jdbc-postgis</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools.jdbc</groupId>
+ <artifactId>gt-jdbc-sqlserver</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools.jdbc</groupId>
+ <artifactId>gt-jdbc-oracle</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools</groupId>
+ <artifactId>gt-referencing</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools</groupId>
+ <artifactId>gt-main</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools</groupId>
+ <artifactId>gt-cql</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools</groupId>
+ <artifactId>gt-epsg-hsql</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geotools</groupId>
+ <artifactId>gt-geopkg</artifactId>
+ <version>${gt.version}</version>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.geotools</groupId>
+ <artifactId>gt-coverage</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-main</artifactId>
+ <version>${gs.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver.web</groupId>
+ <artifactId>gs-web-core</artifactId>
+ <version>${gs.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-ows</artifactId>
+ <version>${gs.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-rest</artifactId>
+ <version>${gs.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-wfs</artifactId>
+ <version>${gs.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-gwc</artifactId>
+ <version>${gs.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-restconfig</artifactId>
+ <version>${gs.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>info.cukes</groupId>
+ <artifactId>cucumber-java</artifactId>
+ <version>${cucumber-java.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>info.cukes</groupId>
+ <artifactId>cucumber-junit</artifactId>
+ <version>${cucumber-java.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>info.cukes</groupId>
+ <artifactId>cucumber-guice</artifactId>
+ <version>${cucumber-java.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-core</artifactId>
+ <version>${geogig.version}</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-web-api</artifactId>
+ <version>${geogig.version}</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-web-api-functional-tests</artifactId>
+ <version>${geogig.version}</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver.web</groupId>
+ <artifactId>gs-web-core</artifactId>
+ <version>${gs.version}</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.locationtech.geogig</groupId>
+ <artifactId>geogig-cli</artifactId>
+ <version>${geogig.version}</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-main</artifactId>
+ <version>${gs.version}</version>
+ <type>test-jar</type>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-wfs</artifactId>
+ <version>${gs.version}</version>
+ <type>test-jar</type>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.geoserver</groupId>
+ <artifactId>gs-restconfig</artifactId>
+ <version>${gs.version}</version>
+ <type>test-jar</type>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-core</artifactId>
+ <version>2.1.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-matchers</artifactId>
+ <version>2.1.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.mockrunner</groupId>
+ <artifactId>mockrunner</artifactId>
+ <version>0.3.6</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>${mockito.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <profile>
+ <id>jacoco</id>
+ <build>
+ <plugins>
+ <plugin>
+ <!--
+ Overriding the root pom's surefire plugin configuration is
+ necessary in order to set argLine to ${argLine} as the value
+ is passed by the jacoco prepare-agent goal
+ -->
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${argLine}</argLine>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.7.7.201606060606</version>
+ <configuration>
+ <excludes>
+ <exclude>**/*Exception.class</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <id>pre-unit-test</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>post-unit-test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
Oops, something went wrong.

0 comments on commit 68ac345

Please sign in to comment.