Browse Source

move hive/hadoop deps to provided

Larry Ogrodnek 7 years ago
parent
commit
bd9c5011ce
2 changed files with 8 additions and 9 deletions
  1. 8
    5
      pom.xml
  2. 0
    4
      src/main/assembly/jar-with-dependencies.xml

+ 8
- 5
pom.xml View File

@@ -5,25 +5,28 @@
5 5
   <artifactId>csv-serde</artifactId>
6 6
   <version>1.1.2-0.11.0</version>
7 7
   <dependencies>
8
+    <dependency>
9
+      <groupId>net.sf.opencsv</groupId>
10
+      <artifactId>opencsv</artifactId>
11
+      <version>2.3</version>
12
+    </dependency>
8 13
     <dependency>
9 14
       <groupId>org.apache.hive</groupId>
10 15
       <artifactId>hive-exec</artifactId>
11 16
       <version>0.11.0</version>
17
+      <scope>provided</scope>
12 18
     </dependency>
13 19
     <dependency>
14 20
       <groupId>org.apache.hadoop</groupId>
15 21
       <artifactId>hadoop-core</artifactId>
16 22
       <version>1.0.3</version>
17
-    </dependency>
18
-    <dependency>
19
-      <groupId>net.sf.opencsv</groupId>
20
-      <artifactId>opencsv</artifactId>
21
-      <version>2.3</version>
23
+      <scope>provided</scope>
22 24
     </dependency>
23 25
     <dependency>
24 26
       <groupId>javax.jdo</groupId>
25 27
       <artifactId>jdo2-api</artifactId>
26 28
       <version>2.3-20090302111651</version>
29
+      <scope>provided</scope>
27 30
     </dependency>
28 31
     <dependency>
29 32
       <groupId>junit</groupId>

+ 0
- 4
src/main/assembly/jar-with-dependencies.xml View File

@@ -12,10 +12,6 @@
12 12
       <useProjectArtifact>true</useProjectArtifact>
13 13
       <unpack>true</unpack>
14 14
       <scope>runtime</scope>
15
-      <includes>
16
-        <include>net.sf.opencsv:opencsv</include>
17
-        <include>com.bizo:csv-serde</include>
18
-      </includes>
19 15
     </dependencySet>
20 16
   </dependencySets>
21 17
 </assembly>

Loading…
Cancel
Save