Skip to content

Commit ee5fbe0

Browse files
committed
update version number
1 parent 8e9f6f9 commit ee5fbe0

File tree

4 files changed

+281
-4
lines changed

4 files changed

+281
-4
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
/.cache-main
66
/.cache-tests
77
.DS_Store
8+
/.idea/
9+
spark-warehouse/
10+
/spark-warehouse/
11+
/metastore_db/

pom.xml

Lines changed: 92 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<name>spark-http-stream</name>
55
<groupId>com.github.bluejoe2008</groupId>
66
<artifactId>spark-http-stream</artifactId>
7-
<version>0.9</version>
7+
<version>0.9.1</version>
88
<description>http source and sink for spark</description>
99
<url>https://github.com/bluejoe2008/spark-http-stream</url>
1010
<licenses>
@@ -29,7 +29,9 @@
2929
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3030
<jetty.version>9.0.0.M0</jetty.version>
3131
<spark.version>2.1.0</spark.version>
32-
<scala.version>2.11.8</scala.version>
32+
<akka.version>2.4.20</akka.version>
33+
<scala.version>2.11.4</scala.version>
34+
<scala.binary.version>2.11</scala.binary.version>
3335
</properties>
3436
<dependencies>
3537
<!-- https://mvnrepository.com/artifact/junit/junit -->
@@ -56,11 +58,13 @@
5658
<groupId>org.scala-lang</groupId>
5759
<artifactId>scala-library</artifactId>
5860
<version>${scala.version}</version>
61+
<scope>compile</scope>
5962
</dependency>
6063
<dependency>
6164
<groupId>org.scala-lang</groupId>
6265
<artifactId>scala-compiler</artifactId>
6366
<version>${scala.version}</version>
67+
<scope>compile</scope>
6468
</dependency>
6569
<!-- https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.11 -->
6670
<dependency>
@@ -103,11 +107,45 @@
103107
</dependency>
104108
</dependencies>
105109
<profiles>
106-
<!-- mvn clean deploy -P release -->
110+
<!-- mvn clean deploy -P release -DskipTests -Dgpg.passphrase= -->
107111
<profile>
108112
<id>release</id>
113+
<dependencies>
114+
<dependency>
115+
<groupId>com.typesafe.akka</groupId>
116+
<artifactId>akka-testkit_${scala.binary.version}</artifactId>
117+
<version>${akka.version}</version>
118+
<scope>provided</scope>
119+
</dependency>
120+
</dependencies>
109121
<build>
110122
<plugins>
123+
<plugin>
124+
<groupId>org.scala-tools</groupId>
125+
<artifactId>maven-scala-plugin</artifactId>
126+
<executions>
127+
<execution>
128+
<goals>
129+
<goal>compile</goal>
130+
<goal>testCompile</goal>
131+
</goals>
132+
</execution>
133+
</executions>
134+
<configuration>
135+
<scalaVersion>${scala.version}</scalaVersion>
136+
</configuration>
137+
</plugin>
138+
<plugin>
139+
<groupId>org.apache.maven.plugins</groupId>
140+
<artifactId>maven-compiler-plugin</artifactId>
141+
<version>3.7.0</version>
142+
<configuration>
143+
<source>${java.version}</source>
144+
<target>${java.version}</target>
145+
<skipMain>true</skipMain>
146+
<skip>true</skip>
147+
</configuration>
148+
</plugin>
111149
<plugin>
112150
<groupId>org.apache.maven.plugins</groupId>
113151
<artifactId>maven-source-plugin</artifactId>
@@ -121,10 +159,60 @@
121159
</execution>
122160
</executions>
123161
</plugin>
162+
<!--
163+
<plugin>
164+
<groupId>net.alchim31.maven</groupId>
165+
<artifactId>scala-maven-plugin</artifactId>
166+
<executions>
167+
<execution>
168+
<id>doc</id>
169+
<phase>generate-sources</phase>
170+
<goals>
171+
<goal>compile</goal>
172+
</goals>
173+
</execution>
174+
</executions>
175+
<configuration>
176+
<args>
177+
<arg>-P:genjavadoc:out=${project.build.directory}/genjavadoc</arg>
178+
</args>
179+
<compilerPlugins>
180+
<compilerPlugin>
181+
<groupId>com.typesafe.genjavadoc</groupId>
182+
<artifactId>genjavadoc-plugin_2.11.2</artifactId>
183+
<version>0.10</version>
184+
</compilerPlugin>
185+
</compilerPlugins>
186+
</configuration>
187+
</plugin>
188+
<plugin>
189+
<groupId>org.codehaus.mojo</groupId>
190+
<artifactId>build-helper-maven-plugin</artifactId>
191+
<executions>
192+
<execution>
193+
<phase>generate-sources</phase>
194+
<goals>
195+
<goal>add-source</goal>
196+
</goals>
197+
<configuration>
198+
<sources>
199+
<source>${project.build.directory}/genjavadoc</source>
200+
</sources>
201+
</configuration>
202+
</execution>
203+
</executions>
204+
</plugin>
205+
-->
124206
<plugin>
125207
<groupId>org.apache.maven.plugins</groupId>
126208
<artifactId>maven-javadoc-plugin</artifactId>
127-
<version>2.9.1</version>
209+
<version>2.10.4</version>
210+
<configuration>
211+
<encoding>UTF-8</encoding>
212+
<aggregate>true</aggregate>
213+
<charset>UTF-8</charset>
214+
<docencoding>UTF-8</docencoding>
215+
</configuration>
128216
<executions>
129217
<execution>
130218
<id>attach-javadocs</id>

0 commit comments

Comments
 (0)