Empty test-jar

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Empty test-jar

Matthias J. Sax-2
Hi,

I want to use HttpTestClient from flink-runtime-web in flink-tests
module. However, the test-jar file

  flink-runtime-web-1.0-SNAPSHOT-tests.jar

is empty... Any ideas how to fix this?

-Matthias


signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Empty test-jar

Robert Metzger
Hi,

I think you need to add the following to the flink-runtime-web pom:

<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-jar-plugin</artifactId>
   <inherited>true</inherited>
   <executions>
      <execution>
         <goals>
            <goal>test-jar</goal>
         </goals>
      </execution>
   </executions>
</plugin>


On Tue, Jan 5, 2016 at 10:01 PM, Matthias J. Sax <[hidden email]> wrote:

> Hi,
>
> I want to use HttpTestClient from flink-runtime-web in flink-tests
> module. However, the test-jar file
>
>   flink-runtime-web-1.0-SNAPSHOT-tests.jar
>
> is empty... Any ideas how to fix this?
>
> -Matthias
>
>