Skip to content

Commit

Permalink
Fix macros subproject and unidoc publish
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed Nov 28, 2019
1 parent 1d1561c commit dc23be3
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 100 deletions.
49 changes: 24 additions & 25 deletions .locationtech/deploy-211.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,27 @@
set -e
set -x

./sbt "project macros" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project vector" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project proj4" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project raster" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project spark-pipeline" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project s3" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project s3-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project accumulo" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project accumulo-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project hbase" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project hbase-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project cassandra" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project cassandra-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project geomesa" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project geotools" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project shapefile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project layer" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project store" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project util" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project vectortile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project raster-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project vector-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project spark-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project gdal" publish -no-colors -J-Drelease=locationtech
./sbt -211 "project macros" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project vector" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project proj4" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project raster" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project spark-pipeline" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project s3" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project s3-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project accumulo" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project accumulo-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project hbase" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project hbase-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project cassandra" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project cassandra-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project geotools" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project shapefile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project layer" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project store" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project util" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project vectortile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project raster-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project vector-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project spark-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -211 "project gdal" publish -no-colors -J-Drelease=locationtech
49 changes: 24 additions & 25 deletions .locationtech/deploy-212.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,27 @@
set -e
set -x

# there is no geomesa project
./sbt -212 "project macros" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project vector" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project proj4" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project raster" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project spark-pipeline" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project s3" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project s3-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project accumulo" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project accumulo-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project hbase" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project hbase-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project cassandra" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project cassandra-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project geotools" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project shapefile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project layer" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project store" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project util" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project vectortile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project raster-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project vector-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project spark-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt -212 "project gdal" publish -no-colors -J-Drelease=locationtech
./sbt "project macros" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project vector" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project proj4" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project raster" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project spark-pipeline" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project s3" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project s3-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project accumulo" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project accumulo-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project hbase" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project hbase-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project cassandra" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project cassandra-spark" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project geotools" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project shapefile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project layer" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project store" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project util" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project vectortile" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project raster-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project vector-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project spark-testkit" publish -no-colors -J-Drelease=locationtech \
&& ./sbt "project gdal" publish -no-colors -J-Drelease=locationtech
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ lazy val root = Project("geotrellis", file("."))
vectortile
)
.enablePlugins(ScalaUnidocPlugin)
.settings(Settings.commonSettings)
.settings(unidocProjectFilter in (ScalaUnidoc, unidoc) := inAnyProject)

lazy val macros = project
Expand Down
2 changes: 1 addition & 1 deletion project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ object Settings {
"org.scala-lang" % "scala-reflect" % scalaVersion.value
),
resolvers += Resolver.sonatypeRepo("snapshots")
)
) ++ commonSettings

lazy val proj4 = Seq(
name := "geotrellis-proj4",
Expand Down
48 changes: 24 additions & 24 deletions publish/publish-to-sonatype-211.sh
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
#!/bin/bash
# Publish to sonatype for all supported scala version 2.11

./sbt "project macros" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project vector" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project proj4" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project raster" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project spark-pipeline" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project s3" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project s3-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project accumulo" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project accumulo-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project hbase" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project hbase-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project cassandra" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project cassandra-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project geotools" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project shapefile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project layer" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project store" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project util" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project vectortile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project raster-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project vector-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project spark-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project gdal" publishSigned -no-colors -J-Drelease=sonatype
./sbt -211 "project macros" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project vector" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project proj4" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project raster" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project spark-pipeline" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project s3" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project s3-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project accumulo" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project accumulo-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project hbase" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project hbase-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project cassandra" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project cassandra-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project geotools" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project shapefile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project layer" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project store" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project util" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project vectortile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project raster-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project vector-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project spark-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -211 "project gdal" publishSigned -no-colors -J-Drelease=sonatype
49 changes: 24 additions & 25 deletions publish/publish-to-sonatype-212.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
#!/bin/bash
# Publish to sonatype for all supported scala version 2.12

# there is no geomesa project
./sbt -212 "project macros" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project vector" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project proj4" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project raster" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project spark-pipeline" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project s3" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project s3-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project accumulo" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project accumulo-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project hbase" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project hbase-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project cassandra" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project cassandra-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project geotools" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project shapefile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project layer" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project store" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project util" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project vectortile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project raster-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project vector-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project spark-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt -212 "project gdal" publishSigned -no-colors -J-Drelease=sonatype
./sbt "project macros" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project vector" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project proj4" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project raster" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project spark-pipeline" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project s3" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project s3-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project accumulo" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project accumulo-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project hbase" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project hbase-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project cassandra" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project cassandra-spark" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project geotools" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project shapefile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project layer" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project store" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project util" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project vectortile" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project raster-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project vector-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project spark-testkit" publishSigned -no-colors -J-Drelease=sonatype \
&& ./sbt "project gdal" publishSigned -no-colors -J-Drelease=sonatype

0 comments on commit dc23be3

Please sign in to comment.