Skip to content

Commit

Permalink
KYLO-3234: add maven version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
harschware committed Dec 20, 2018
1 parent aef7ffd commit 02d2a75
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 53 deletions.
2 changes: 1 addition & 1 deletion commons/commons-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
</project>
</project>
27 changes: 12 additions & 15 deletions commons/commons-spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,18 @@
<module>commons-spark-shell-v2</module>
<module>commons-spark-shell-plugin-shared</module>
</modules>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${spark.java.version}</source>
<target>${spark.java.version}</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${spark.java.version}</source>
<target>${spark.java.version}</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
2 changes: 2 additions & 0 deletions commons/commons-test-persistence/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,6 @@
<optional>true</optional>
</dependency>
</dependencies>


</project>
4 changes: 0 additions & 4 deletions core/file-metadata/file-metadata-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@
<properties>
<plugin.license.parentRelative>../../../</plugin.license.parentRelative>
</properties>

<dependencies>
</dependencies>

</project>
25 changes: 12 additions & 13 deletions core/file-metadata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,17 @@
</modules>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${spark.java.version}</source>
<target>${spark.java.version}</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${spark.java.version}</source>
<target>${spark.java.version}</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
2 changes: 1 addition & 1 deletion integrations/spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<version>${plugin.enforcer.version}</version>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
Expand Down
1 change: 1 addition & 0 deletions integrations/spark/spark-file-metadata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
<module>spark-file-metadata-spark-v2</module>
<module>spark-file-metadata-core</module>
</modules>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,4 @@
</dependency>
</dependencies>

<build>
<plugins>
</plugins>
</build>

</project>
33 changes: 31 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@
<java.version>1.8</java.version>
<spark.java.version>1.7</spark.java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<skipTests>false</skipTests>
<skipITs>${skipTests}</skipITs>
<skipUTs>${skipTests}</skipUTs>
<skipDebian>false</skipDebian>
Expand Down Expand Up @@ -190,6 +188,8 @@
<!-- Plugin Versions -->
<plugin.license.version>1.16</plugin.license.version>

<plugin.enforcer.version>1.4.1</plugin.enforcer.version>

<liquibase.version>3.5.3</liquibase.version>
<!--<liquibase.version>3.3.5</liquibase.version>-->
<liquibase-slf4j.version>2.0.0</liquibase-slf4j.version>
Expand Down Expand Up @@ -1111,6 +1111,35 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${plugin.enforcer.version}</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.3.9</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
18 changes: 6 additions & 12 deletions security/security-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,11 @@
<plugin.license.parentRelative>../../</plugin.license.parentRelative>
</properties>
<dependencies>
<dependency>
<groupId>com.thinkbiganalytics.kylo</groupId>
<artifactId>kylo-commons-security</artifactId>
<version>${project.version}</version>
</dependency>
<!--
<dependency>
<groupId>com.thinkbiganalytics.kylo</groupId>
<artifactId>kylo-metadata-api</artifactId>
<version>${project.version}</version>
</dependency>
-->
<dependency>
<groupId>com.thinkbiganalytics.kylo</groupId>
<artifactId>kylo-commons-security</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

</project>

0 comments on commit 02d2a75

Please sign in to comment.