Skip to content

Commit

Permalink
Merge pull request #551 from geoserver/backport-543-to-release/1.8.x
Browse files Browse the repository at this point in the history
[Backport release/1.8.x] Add DXF extension
  • Loading branch information
groldan authored Oct 16, 2024
2 parents 062ad28 + c1681a1 commit 2366154
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Only a curated list of the [vast amount](http://geoserver.org/release/stable/) o
- Pregeneralized feature datastore
- vectortiles
- flatgeobuf
- dxf
- cog
- importer
- imagepyramid
Expand Down
8 changes: 8 additions & 0 deletions src/apps/geoserver/webui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@
<groupId>org.geoserver.community</groupId>
<artifactId>gs-flatgeobuf</artifactId>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-dxf-core</artifactId>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-dxf-wps</artifactId>
</dependency>
<dependency>
<groupId>org.geoserver</groupId>
<artifactId>gs-wms</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
locations = { //
"jar:gs-web-wfs-.*!/applicationContext.xml", //
"jar:gs-wfs-.*!/applicationContext.xml",
"jar:gs-flatgeobuf-.*!/applicationContext.xml#name=.*"
"jar:gs-flatgeobuf-.*!/applicationContext.xml#name=.*",
"jar:gs-dxf-core-.*!/applicationContext.xml#name=.*"
} //
)
public class WfsConfiguration {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// exclude wpsRequestBuilder, DemosAutoConfiguration takes care of it
"jar:gs-web-wps-.*!/applicationContext.xml#name=^(?!wpsRequestBuilder).*$",
"jar:gs-wps-.*!/applicationContext.xml",
"jar:gs-wcs-.*!/applicationContext.xml"
"jar:gs-wcs-.*!/applicationContext.xml",
"jar:gs-dxf-core-.*!/applicationContext.xml#name=.*",
"jar:gs-dxf-wps-.*!/applicationContext.xml#name=.*"
})
public class WpsConfiguration {}
4 changes: 4 additions & 0 deletions src/apps/geoserver/wfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
<groupId>org.geoserver.community</groupId>
<artifactId>gs-flatgeobuf</artifactId>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-dxf-core</artifactId>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
reader = FilteringXmlBeanDefinitionReader.class, //
locations = {
"jar:gs-wfs-.*!/applicationContext.xml#name=.*",
"jar:gs-flatgeobuf-.*!/applicationContext.xml#name=.*"
"jar:gs-flatgeobuf-.*!/applicationContext.xml#name=.*",
"jar:gs-dxf-core-.*!/applicationContext.xml#name=.*"
} //
)
public class WfsAutoConfiguration {
Expand Down
8 changes: 8 additions & 0 deletions src/apps/geoserver/wps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
<groupId>org.geoserver.cloud</groupId>
<artifactId>gs-cloud-starter-raster-formats</artifactId>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-dxf-core</artifactId>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-dxf-wps</artifactId>
</dependency>
<dependency>
<!-- REVISIT: for some reason, the WPS service won't start up without the web components. A bean creation exception
will be reported: "Error creating bean with name 'wpsInitializer' ... -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"jar:gs-wcs1_1-.*!/applicationContext.xml", //
"jar:gs-wcs2_0-.*!/applicationContext.xml", //
"jar:gs-wfs-.*!/applicationContext.xml#name=^(?!wfsInsertElementHandler|wfsUpdateElementHandler|wfsDeleteElementHandler|wfsReplaceElementHandler).*$", //
"jar:gs-dxf-core-.*!/applicationContext.xml#name=.*",
"jar:gs-dxf-wps-.*!/applicationContext.xml#name=.*"
})
public class WpsApplicationConfiguration {

Expand Down
10 changes: 10 additions & 0 deletions src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,16 @@
<artifactId>gs-flatgeobuf</artifactId>
<version>${gs.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-dxf-core</artifactId>
<version>${gs.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-dxf-wps</artifactId>
<version>${gs.version}</version>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-web-resource</artifactId>
Expand Down

0 comments on commit 2366154

Please sign in to comment.