Skip to content

Commit

Permalink
HPCC4J-673 Fix poms and directory structure to include spark-hpcc as …
Browse files Browse the repository at this point in the history
…a module

Signed-off-by: Michael Gardner <[email protected]>
  • Loading branch information
Michael-Gardner committed Dec 17, 2024
1 parent d742feb commit 6fa9fc3
Show file tree
Hide file tree
Showing 27 changed files with 15 additions and 119 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*/target
target/
bin/
.project
.settings/
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@
<module>commons-hpcc</module>
<module>wsclient</module>
<module>dfsclient</module>
<module>spark-hpcc</module>
</modules>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.version>3.8.0</maven.compiler.version>
<maven.compiler.release>8</maven.compiler.release>
<maven.assembly.version>3.1.1</maven.assembly.version>
<maven.failsafe.version>3.1.2</maven.failsafe.version>
<sonatype.staging.version>1.6.8</sonatype.staging.version>
<sonatype.staging.autorelease>false</sonatype.staging.autorelease>
<maven.gpg.version>1.6</maven.gpg.version>
Expand Down Expand Up @@ -65,6 +67,9 @@
<opentelemetry.bom.version>1.38.0</opentelemetry.bom.version>
<opentelemetry.semconv.version>1.25.0-alpha</opentelemetry.semconv.version>
<opentelemetry.instrumentation.annotations.version>2.6.0</opentelemetry.instrumentation.annotations.version>
<spark.runtime.version>2.4.6</spark.runtime.version>
<scala.binary.version>2.11</scala.binary.version>
<scala.version>2.11</scala.version>
</properties>

<scm>
Expand Down
6 changes: 0 additions & 6 deletions spark-hpcc/DataAccess/README.md

This file was deleted.

122 changes: 9 additions & 113 deletions spark-hpcc/DataAccess/pom.xml → spark-hpcc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,21 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.hpccsystems</groupId>
<artifactId>spark-hpcc</artifactId>
<version>9.9.0-0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>spark-hpcc</name>
<description>Spark connector for reading files residing in an HPCC cluster environment</description>
<url>https://hpccsystems.com</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<parent>
<groupId>org.hpccsystems</groupId>
<artifactId>hpcc4j</artifactId>
<version>9.9.0-0-SNAPSHOT</version>
</parent>

<properties>
<sonatype.staging.version>1.6.8</sonatype.staging.version>
<sonatype.staging.autorelease>false</sonatype.staging.autorelease>
<maven.surefire.version>3.1.2</maven.surefire.version>
<maven.failsafe.version>3.1.2</maven.failsafe.version>
<maven.gpg.version>1.6</maven.gpg.version>
<maven.gpg.skip>true</maven.gpg.skip>
<maven.source.version>2.2.1</maven.source.version>
<maven.javadoc.version>3.1.0</maven.javadoc.version>
<maven.compiler.version>3.8.0</maven.compiler.version>
<maven.compiler.release>8</maven.compiler.release>
<spark.runtime.version>2.4.6</spark.runtime.version>
<scala.binary.version>2.11</scala.binary.version>
<scala.version>2.11</scala.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javadoc.excludePackageNames>net.razorvine.*:org.apache.*:org.hpccsystems.commons.*:org.hpccsystems.generated.*:org.hpccsystems.dfs.*:org.hpccsystems.ws.*:org.hpccsystems.ws.client.antlr.*</javadoc.excludePackageNames>
</properties>
<scm>
<connection>scm:git:https://github.com/hpcc-systems/Spark-HPCC.git</connection>
<developerConnection>scm:git:https://github.com/hpcc-systems/Spark-HPCC.git</developerConnection>
<url>scm:git:https://github.com/hpcc-systems/Spark-HPCC.git</url>
<tag>HEAD</tag>
</scm>

<!-- This for deployment of snapshots -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<!-- This is for fetching dependencies when doing SNAPSHOT builds -->
<repositories>
<repository>
<id>ossrh</id>
<name>Ossrh Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<layout>default</layout>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</repository>
</repositories>

<dependencies>
<dependency>
Expand Down Expand Up @@ -155,66 +109,8 @@
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
<excludePackageNames>${javadoc.excludePackageNames}</excludePackageNames>
<additionalparam>-Xdoclint:none</additionalparam>
<header>Copyright © 2021 HPCC Systems®. All rights reserved</header>
<footer>Copyright © 2021 HPCC Systems®. All rights reserved</footer>
<includeDependencySources>true</includeDependencySources>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
File renamed without changes.

0 comments on commit 6fa9fc3

Please sign in to comment.