address comment for pom file of cassandra

This commit is contained in:
Jeff Zhang 2019-05-14 23:10:18 +08:00
parent e12563dc27
commit 4491b0c0f7
3 changed files with 21 additions and 3 deletions

View file

@ -58,7 +58,7 @@
<groupId>org.apache.zeppelin</groupId>
<artifactId>zeppelin-interpreter</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>

View file

@ -139,7 +139,6 @@
<shadedPattern>${shaded.dependency.prefix}.io</shadedPattern>
</relocation>
</relocations>
<outputFile>${project.basedir}/../interpreter/${project.artifactId}-${project.version}.jar</outputFile>
</configuration>
<executions>
<execution>
@ -150,6 +149,26 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>copy-to-interpreter</id>
<phase>package</phase>
<configuration>
<target>
<echo>ANT TASK - copying files....</echo>
<copy todir="${project.basedir}/../interpreter" overwrite="true" flatten="true">
<fileset dir="${project.build.directory}" includes="zeppelin-interpreter-api-*.jar" >
</fileset>
</copy>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

View file

@ -597,7 +597,6 @@ public abstract class ZeppelinSparkClusterTest extends AbstractTestRestApi {
Paragraph p0 = note.addNewParagraph(anonymous);
p0.setText("%dep z.load(\"com.databricks:spark-csv_2.11:1.2.0\")");
note.run(p0.getId(), true);
LOGGER.info(p0.getReturn().toString());
assertEquals(Status.FINISHED, p0.getStatus());
// write test csv file