Skip to content

Files

Latest commit

c91edab · Jun 5, 2021

History

History
43 lines (31 loc) · 980 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 980 Bytes

spark

Project Purpose: For interacting with databases via spark.


Building spark

Foremost

    mvn clean package

Subsequently

    cd spark/target

and noting that the name of the .jar partly depends on the project tags

    <project>
      <groupId>com.grey.libraries</groupId>
      <artifactId>spark</artifactId>
      <version>1.0</version>
    </project>

in pom.xml, run

     mvn deploy:deploy-file 
         -Dfile=spark-1.0.jar 
         -DgroupId=com.grey.libraries   # ref. <groupId>com.grey.libraries</groupId> of pom.xml
         -DartifactId=spark             # ref. <artifactId>spark</artifactId> of pom.xml
         -Dversion=1.0                  # ref. <version>1.0</version> of pom.xml
         -Dpackaging=jar 
         -Durl=file:///[disk partition letter]:/[path to .m2]/.m2/repository -DrepositoryId=repository