[
https://issues.apache.org/jira/browse/SOLR-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861240#comment-16861240
]
Mark Miller commented on SOLR-13452:
------------------------------------
[~dsmiley], in my current build, spatial is missing the following runtime stuff
- do we actaully want this? Appears to mostly geom package stuff from
org.locationtech.jts.
{noformat}
spatial4j-0.7.jar.dot:
"org.locationtech.spatial4j.context.jts.JtsSpatialContext" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.context.jts.JtsSpatialContext" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory" ->
"org.locationtech.jts.geom.CoordinateSequenceFactory (not found)";
"org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory" ->
"org.locationtech.jts.geom.PrecisionModel (not found)";
"org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory" ->
"org.locationtech.jts.geom.PrecisionModel$Type (not found)";
"org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory" ->
"org.locationtech.jts.geom.impl.CoordinateArraySequenceFactory (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.geom.PrecisionModel (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.geom.PrecisionModel$Type (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.io.InStream (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.io.OutStream (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.io.ParseException (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.io.WKBReader (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec" ->
"org.locationtech.jts.io.WKBWriter (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec$1" ->
"org.locationtech.jts.io.InStream (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec$1" ->
"org.locationtech.jts.io.WKBConstants (not found)";
"org.locationtech.spatial4j.io.jts.JtsBinaryCodec$2" ->
"org.locationtech.jts.io.OutStream (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.CoordinateSequence (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.GeometryCollection (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.MultiLineString (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.MultiPoint (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.MultiPolygon (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.Point (not found)";
"org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter" ->
"org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.CoordinateSequence (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.GeometryCollection (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.MultiPoint (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.Point (not found)";
"org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter" ->
"org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.io.jts.JtsWKTWriter" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.CoordinateSequence (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.CoordinateSequenceFilter (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.Envelope (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.GeometryCollection (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.GeometryFilter (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.IntersectionMatrix (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.Lineal (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.LinearRing (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.MultiPoint (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.Point (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.Puntal (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.prep.PreparedGeometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.geom.prep.PreparedGeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.operation.union.UnaryUnionOp (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.operation.valid.IsValidOp (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry" ->
"org.locationtech.jts.operation.valid.TopologyValidationError (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.CoordinateSequence (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.GeometryFilter (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.LinearRing (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.Point (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$1" ->
"org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$2" ->
"org.locationtech.jts.geom.Envelope (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$2" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$2" ->
"org.locationtech.jts.geom.GeometryFilter (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$2" ->
"org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$2" ->
"org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$3" ->
"org.locationtech.jts.geom.CoordinateSequence (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$3" ->
"org.locationtech.jts.geom.CoordinateSequenceFilter (not found)";
"org.locationtech.spatial4j.shape.jts.JtsGeometry$3" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsPoint" ->
"org.locationtech.jts.geom.CoordinateSequence (not found)";
"org.locationtech.spatial4j.shape.jts.JtsPoint" ->
"org.locationtech.jts.geom.Point (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.algorithm.CGAlgorithms (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.Envelope (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.GeometryCollection (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.LinearRing (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.Point (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.geom.PrecisionModel (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory" ->
"org.locationtech.jts.util.GeometricShapeFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$CoordinatesAccumulator"
-> "org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsLineStringBuilder" ->
"org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsLineStringBuilder" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsLineStringBuilder" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsLineStringBuilder" ->
"org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiLineStringBuilder"
-> "org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiLineStringBuilder"
-> "org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiLineStringBuilder"
-> "org.locationtech.jts.geom.LineString (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiLineStringBuilder"
-> "org.locationtech.jts.geom.MultiLineString (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPointBuilder" ->
"org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPointBuilder" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPointBuilder" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPointBuilder" ->
"org.locationtech.jts.geom.MultiPoint (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPolygonBuilder"
-> "org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPolygonBuilder"
-> "org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPolygonBuilder"
-> "org.locationtech.jts.geom.MultiPolygon (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiPolygonBuilder"
-> "org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiShapeBuilder" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiShapeBuilder" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsMultiShapeBuilder" ->
"org.locationtech.jts.geom.Point (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder" ->
"org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder" ->
"org.locationtech.jts.geom.Geometry (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder" ->
"org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder" ->
"org.locationtech.jts.geom.LinearRing (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder" ->
"org.locationtech.jts.geom.Polygon (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder$JtsHoleBuilder"
-> "org.locationtech.jts.geom.Coordinate (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder$JtsHoleBuilder"
-> "org.locationtech.jts.geom.GeometryFactory (not found)";
"org.locationtech.spatial4j.shape.jts.JtsShapeFactory$JtsPolygonBuilder$JtsHoleBuilder"
-> "org.locationtech.jts.geom.LinearRing (not found)";
{noformat}
> Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle.
> -------------------------------------------------------------------------
>
> Key: SOLR-13452
> URL: https://issues.apache.org/jira/browse/SOLR-13452
> Project: Solr
> Issue Type: Improvement
> Components: Build
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Major
> Fix For: master (9.0)
>
>
> I took some things from the great work that Dat did in
> [https://github.com/apache/lucene-solr/tree/jira/gradle] and took the ball a
> little further.
>
> When working with gradle in sub modules directly, I recommend
> [https://github.com/dougborg/gdub]
> This gradle branch uses the following plugin for version locking, version
> configuration and version consistency across modules:
> [https://github.com/palantir/gradle-consistent-versions]
>
> https://github.com/apache/lucene-solr/tree/jira/SOLR-13452_gradle_3
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]