avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ieme...@apache.org
Subject [avro] 01/03: Remove multiple maven build warnings
Date Wed, 26 Dec 2018 17:16:56 GMT
This is an automated email from the ASF dual-hosted git repository.

iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 6599fb29fb0ba8a2c3dba0b0e39feb31cfe2111c
Author: Ismaël Mejía <iemejia@gmail.com>
AuthorDate: Wed Dec 5 15:50:16 2018 +0100

    Remove multiple maven build warnings
---
 lang/java/compiler/pom.xml    | 11 +----------
 lang/java/ipc/pom.xml         |  6 ++++++
 lang/java/thrift/pom.xml      |  4 ----
 lang/java/trevni/avro/pom.xml |  2 --
 lang/java/trevni/core/pom.xml |  5 -----
 lang/java/trevni/pom.xml      | 31 -------------------------------
 6 files changed, 7 insertions(+), 52 deletions(-)

diff --git a/lang/java/compiler/pom.xml b/lang/java/compiler/pom.xml
index d194de0..922cd8e 100644
--- a/lang/java/compiler/pom.xml
+++ b/lang/java/compiler/pom.xml
@@ -39,8 +39,6 @@
       !org.apache.avro.compiler*,
       org.apache.avro*;version="${project.version}",
       org.apache.commons.lang3*,
-      org.apache.commons.velocity*,
-      org.apache.ant*,
       *
     </osgi.import>
     <osgi.export>org.apache.avro.compiler*;version="${project.version}"</osgi.export>
@@ -178,13 +176,6 @@
       <version>${project.version}</version>
     </dependency>
     <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>avro</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
       <version>${commons-lang.version}</version>
@@ -195,7 +186,7 @@
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-core</artifactId>
+      <artifactId>jackson-databind</artifactId>
     </dependency>
     <dependency>
       <groupId>org.apache.ant</groupId>
diff --git a/lang/java/ipc/pom.xml b/lang/java/ipc/pom.xml
index 1c5fef0..0119508 100644
--- a/lang/java/ipc/pom.xml
+++ b/lang/java/ipc/pom.xml
@@ -141,6 +141,12 @@
       <groupId>org.apache.velocity</groupId>
       <artifactId>velocity-engine-core</artifactId>
     </dependency>
+    <!-- javax.annotation-api dependency must be explicit for forward compatibility (Java
> 9) -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>1.3.2</version>
+    </dependency>
 
   </dependencies>
 
diff --git a/lang/java/thrift/pom.xml b/lang/java/thrift/pom.xml
index f98f09e..0167806 100644
--- a/lang/java/thrift/pom.xml
+++ b/lang/java/thrift/pom.xml
@@ -91,10 +91,6 @@
       <artifactId>libthrift</artifactId>
       <version>${thrift.version}</version>
     </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-core</artifactId>
-    </dependency>
   </dependencies>
 
 </project>
diff --git a/lang/java/trevni/avro/pom.xml b/lang/java/trevni/avro/pom.xml
index 01e4691..9499760 100644
--- a/lang/java/trevni/avro/pom.xml
+++ b/lang/java/trevni/avro/pom.xml
@@ -56,13 +56,11 @@
       <groupId>org.apache.avro</groupId>
       <artifactId>avro-mapred</artifactId>
       <version>${project.version}</version>
-      <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.avro</groupId>
       <artifactId>avro</artifactId>
       <version>${project.version}</version>
-      <scope>compile</scope>
     </dependency>
   </dependencies>
 
diff --git a/lang/java/trevni/core/pom.xml b/lang/java/trevni/core/pom.xml
index fcd3d14..a2a2912 100644
--- a/lang/java/trevni/core/pom.xml
+++ b/lang/java/trevni/core/pom.xml
@@ -35,8 +35,6 @@
     <dependency>
       <groupId>org.xerial.snappy</groupId>
       <artifactId>snappy-java</artifactId>
-      <version>${snappy.version}</version>
-      <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>
@@ -44,8 +42,5 @@
     </dependency>
   </dependencies>
 
-  <profiles>
-  </profiles>
-
 </project>
 
diff --git a/lang/java/trevni/pom.xml b/lang/java/trevni/pom.xml
index ffca08a..07789ea 100644
--- a/lang/java/trevni/pom.xml
+++ b/lang/java/trevni/pom.xml
@@ -53,33 +53,6 @@
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>${compiler-plugin.version}</version>
-          <configuration>
-            <source>1.8</source>
-            <target>1.8</target>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>${checkstyle-plugin.version}</version>
-          <configuration>
-            <consoleOutput>true</consoleOutput>
-            <configLocation>checkstyle.xml</configLocation>
-          </configuration>
-          <executions>
-            <execution>
-              <id>checkstyle-check</id>
-              <phase>test</phase>
-              <goals>
-                <goal>check</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>${jar-plugin.version}</version>
           <executions>
@@ -94,8 +67,4 @@
     </pluginManagement>
   </build>
 
-  <profiles>
-  </profiles>
-
 </project>
-


Mime
View raw message