| <project xmlns="http://maven.apache.org/POM/4.0.0"
|
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
| <modelVersion>4.0.0</modelVersion>
|
|
|
| <groupId>com.example</groupId>
|
| <artifactId>maven-scala-seed</artifactId>
|
| <version>1.0-SNAPSHOT</version>
|
|
|
| <properties>
|
| <maven.compiler.source>8</maven.compiler.source>
|
| <maven.compiler.target>8</maven.compiler.target>
|
| <encoding>UTF-8</encoding>
|
| <scala.version>2.12.18</scala.version>
|
| </properties>
|
|
|
| <dependencies>
|
|
|
|
|
| <dependency>
|
| <groupId>org.scala-lang</groupId>
|
| <artifactId>scala-library</artifactId>
|
| <version>2.12.18</version>
|
| </dependency>
|
|
|
|
|
| <dependency>
|
| <groupId>org.apache.spark</groupId>
|
| <artifactId>spark-core_2.12</artifactId>
|
| <version>3.5.0</version>
|
| <scope>provided</scope>
|
| </dependency>
|
|
|
|
|
| <dependency>
|
| <groupId>org.apache.spark</groupId>
|
| <artifactId>spark-sql_2.12</artifactId>
|
| <version>3.5.0</version>
|
| <scope>provided</scope>
|
| </dependency>
|
|
|
|
|
| <dependency>
|
| <groupId>com.mysql</groupId>
|
| <artifactId>mysql-connector-j</artifactId>
|
| <version>8.0.33</version>
|
| </dependency>
|
|
|
| </dependencies>
|
|
|
|
|
| <build>
|
| <sourceDirectory>src/main/scala</sourceDirectory>
|
| <testSourceDirectory>src/test/scala</testSourceDirectory>
|
|
|
| <plugins>
|
|
|
|
|
| <plugin>
|
| <groupId>net.alchim31.maven</groupId>
|
| <artifactId>scala-maven-plugin</artifactId>
|
| <version>4.9.2</version>
|
| <configuration>
|
| <scalaVersion>2.12.18</scalaVersion>
|
| </configuration>
|
| <executions>
|
| <execution>
|
| <goals>
|
| <goal>compile</goal>
|
| <goal>testCompile</goal>
|
| </goals>
|
| </execution>
|
| </executions>
|
| </plugin>
|
|
|
|
|
| <plugin>
|
| <groupId>org.apache.maven.plugins</groupId>
|
| <artifactId>maven-shade-plugin</artifactId>
|
| <version>3.4.1</version>
|
| <executions>
|
| <execution>
|
| <phase>package</phase>
|
| <goals>
|
| <goal>shade</goal>
|
| </goals>
|
| <configuration>
|
| <filters>
|
| <filter>
|
| <artifact>*:*</artifact>
|
| <excludes>
|
| <exclude>META-INF/*.SF</exclude>
|
| <exclude>META-INF/*.DSA</exclude>
|
| <exclude>META-INF/*.RSA</exclude>
|
| </excludes>
|
| </filter>
|
| </filters>
|
| <transformers>
|
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
| <mainClass>com.example.ChatbotDataExtractor</mainClass>
|
| </transformer>
|
| </transformers>
|
| </configuration>
|
| </execution>
|
| </executions>
|
| </plugin>
|
|
|
| </plugins>
|
| </build>
|
|
|
| </project>
|
|
|