Missing jars

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

Missing jars

Daves Open
I added flink-formats to my pom.xml file, but the jar files are not found.  I checked in mvnrepository and the pom entry exists, but there are no files.  Can you please confirm that the jars for flink-format are available in the repos?  The following is my pom entry:

<dependency>
    <groupId>org.apache.flink</groupId>
    <artifactId>flink-formats</artifactId>
    <version>1.11.0</version>
</dependency>

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Missing jars

Chesnay Schepler
flink-formats is a pom artifact, meaning that there are no jars for it.

You should add a dependency to the specific format(s) you are interested
in, like flink-formats-csv.

On 14/07/2020 17:41, Daves Open wrote:

> I added flink-formats to my pom.xml file, but the jar files are not
> found.  I checked in mvnrepository and the pom entry exists, but there
> are no files.  Can you please confirm that the jars for flink-format
> are available in the repos?  The following is my pom entry:
>
> <dependency>
>     <groupId>org.apache.flink</groupId>
>     <artifactId>flink-formats</artifactId>
>     <version>1.11.0</version>
> </dependency>
>
> Thanks


Reply | Threaded
Open this post in threaded view
|

Re: Missing jars

Daves Open
Thanks for your help.  I had to create a dependency like this to reference the flink-avro module found in the flink-formats pom.  Learn something new every day.
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-avro</artifactId>
  <version>1.11.0</version>
  <scope>provided</scope>
</dependency>

On Tue, Jul 14, 2020 at 11:43 AM Chesnay Schepler <[hidden email]> wrote:
flink-formats is a pom artifact, meaning that there are no jars for it.

You should add a dependency to the specific format(s) you are interested
in, like flink-formats-csv.

On 14/07/2020 17:41, Daves Open wrote:
> I added flink-formats to my pom.xml file, but the jar files are not
> found.  I checked in mvnrepository and the pom entry exists, but there
> are no files.  Can you please confirm that the jars for flink-format
> are available in the repos?  The following is my pom entry:
>
> <dependency>
>     <groupId>org.apache.flink</groupId>
>     <artifactId>flink-formats</artifactId>
>     <version>1.11.0</version>
> </dependency>
>
> Thanks