GIScience / oshdb

OpenStreetMap History Data Analysis Framework
https://ohsome.org
GNU Lesser General Public License v3.0
110 stars 18 forks source link

Make Jenkins deploy uber-jar (fat-jar, jar-with-dependencies) to artifactoy #80

Closed SlowMo24 closed 5 years ago

SlowMo24 commented 5 years ago

For easy installation of oshdb to Ignite, a jar with dependencies is useful and should be stored in artifactory repository.

SlowMo24 commented 5 years ago

81 solves the issue with http://maven.apache.org/plugins/maven-assembly-plugin/

might also be solved using http://maven.apache.org/plugins/maven-shade-plugin/ Example output can be seen here: http://repo.heigit.org/artifactory/webapp/#/artifacts/browse/tree/General/libs-snapshot-local/org/heigit/bigspatialdata/oshdb/0.5.0-SNAPSHOT/oshdb-0.5.0-20190301.094759-258-jar-with-dependencies.jar

tyrasd commented 5 years ago

Thanks! Some suggestions:

SlowMo24 commented 5 years ago
  1. this could be a solution: https://stackoverflow.com/questions/3532297/how-to-activate-a-maven-profile-in-a-dependent-module or we just run build and deploy a second time using only oshdb-module?
  2. yes, sure, that profile is OLD!!!
  3. yes, and never have been.
SlowMo24 commented 5 years ago

removes profiles from parent pom: https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/parent/commit/df21caad95c7e63cf555584ee783633e65834064