Skip to content

Commit

Permalink
style: 💄 sorts pom with custom_1
Browse files Browse the repository at this point in the history
  • Loading branch information
asm0dey committed Aug 8, 2020
1 parent 2477b97 commit c8cd1e3
Show file tree
Hide file tree
Showing 4 changed files with 314 additions and 310 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>kotlin-spark-api-parent</artifactId>
<groupId>org.jetbrains.kotlin.spark</groupId>
<artifactId>kotlin-spark-api-parent</artifactId>
<version>0.3.2</version>
</parent>
<artifactId>core</artifactId>
Expand Down
147 changes: 73 additions & 74 deletions examples/pom.xml
Original file line number Diff line number Diff line change
@@ -1,86 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<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/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>kotlin-spark-api-parent</artifactId>
<groupId>org.jetbrains.kotlin.spark</groupId>
<version>0.3.2</version>
</parent>
<parent>
<groupId>org.jetbrains.kotlin.spark</groupId>
<artifactId>kotlin-spark-api-parent</artifactId>
<version>0.3.2</version>
</parent>

<groupId>org.jetbrains.kotlin.spark.examples</groupId>
<artifactId>examples</artifactId>
<packaging>jar</packaging>
<groupId>org.jetbrains.kotlin.spark.examples</groupId>
<artifactId>examples</artifactId>
<packaging>jar</packaging>

<name>Kotlin Spark API: Examples</name>
<name>Kotlin Spark API: Examples</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.3.72</kotlin.version>
<kotlin.code.style>official</kotlin.code.style>
<junit.version>4.12</junit.version>
</properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.3.72</kotlin.version>
<kotlin.code.style>official</kotlin.code.style>
<junit.version>4.12</junit.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin.spark</groupId>
<artifactId>kotlin-spark-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.12</artifactId>
</dependency>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin.spark</groupId>
<artifactId>kotlin-spark-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.12</artifactId>
</dependency>

</dependencies>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
<testSourceDirectory>src/test/kotlin</testSourceDirectory>

<plugins>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<jvmTarget>1.8</jvmTarget>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>org.jetbrains.spark.api.examples.WordCountKt</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<plugins>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>compile</goal>
</goals>
<phase>compile</phase>
<configuration>
<jvmTarget>1.8</jvmTarget>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<goals>
<goal>test-compile</goal>
</goals>
<phase>test-compile</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>org.jetbrains.spark.api.examples.WordCountKt</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>

</project>
Loading

0 comments on commit c8cd1e3

Please sign in to comment.