|
4 | 4 | <name>spark-http-stream</name>
|
5 | 5 | <groupId>com.github.bluejoe2008</groupId>
|
6 | 6 | <artifactId>spark-http-stream</artifactId>
|
7 |
| - <version>0.9</version> |
| 7 | + <version>0.9.1</version> |
8 | 8 | <description>http source and sink for spark</description>
|
9 | 9 | <url>https://github.com/bluejoe2008/spark-http-stream</url>
|
10 | 10 | <licenses>
|
|
29 | 29 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
30 | 30 | <jetty.version>9.0.0.M0</jetty.version>
|
31 | 31 | <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> |
33 | 35 | </properties>
|
34 | 36 | <dependencies>
|
35 | 37 | <!-- https://mvnrepository.com/artifact/junit/junit -->
|
|
56 | 58 | <groupId>org.scala-lang</groupId>
|
57 | 59 | <artifactId>scala-library</artifactId>
|
58 | 60 | <version>${scala.version}</version>
|
| 61 | + <scope>compile</scope> |
59 | 62 | </dependency>
|
60 | 63 | <dependency>
|
61 | 64 | <groupId>org.scala-lang</groupId>
|
62 | 65 | <artifactId>scala-compiler</artifactId>
|
63 | 66 | <version>${scala.version}</version>
|
| 67 | + <scope>compile</scope> |
64 | 68 | </dependency>
|
65 | 69 | <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.11 -->
|
66 | 70 | <dependency>
|
|
103 | 107 | </dependency>
|
104 | 108 | </dependencies>
|
105 | 109 | <profiles>
|
106 |
| - <!-- mvn clean deploy -P release --> |
| 110 | + <!-- mvn clean deploy -P release -DskipTests -Dgpg.passphrase= --> |
107 | 111 | <profile>
|
108 | 112 | <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> |
109 | 121 | <build>
|
110 | 122 | <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> |
111 | 149 | <plugin>
|
112 | 150 | <groupId>org.apache.maven.plugins</groupId>
|
113 | 151 | <artifactId>maven-source-plugin</artifactId>
|
|
121 | 159 | </execution>
|
122 | 160 | </executions>
|
123 | 161 | </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 | + --> |
124 | 206 | <plugin>
|
125 | 207 | <groupId>org.apache.maven.plugins</groupId>
|
126 | 208 | <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> |
128 | 216 | <executions>
|
129 | 217 | <execution>
|
130 | 218 | <id>attach-javadocs</id>
|
|
0 commit comments