Skip to content

Commit

Permalink
[FLINK-8833] [sql-client] Create a SQL Client JSON format fat-jar
Browse files Browse the repository at this point in the history
This closes #5700.
  • Loading branch information
twalthr committed Mar 26, 2018
1 parent 5e52bd8 commit 1277e92
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions flink-formats/flink-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ under the License.

<!-- test dependencies -->

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-test-utils-junit</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<!-- use a dedicated Scala version to not depend on it -->
Expand All @@ -79,4 +86,30 @@ under the License.
<scope>test</scope>
</dependency>
</dependencies>

<profiles>
<profile>
<!-- Create SQL Client uber jars for releases -->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>sql-jar</classifier>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 1277e92

Please sign in to comment.