Skip to content

Commit

Permalink
build zipfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwebb committed Feb 10, 2023
1 parent deb9948 commit da69f1b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
29 changes: 29 additions & 0 deletions assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<assembly>
<id>gt-bigquery</id>
<formats>
<format>zip</format>
</formats>

<includeBaseDirectory>false</includeBaseDirectory>
<baseDirectory>../</baseDirectory>

<fileSets>
<fileSet>
<directory>target</directory>
<outputDirectory />
<includes>
<include>gt-bigquery-*.jar</include>
</includes>
<excludes>
<exclude>*-sources.jar</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>target/dependency-jars</directory>
<outputDirectory />
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
</assembly>
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,24 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>zipfile</finalName>
<descriptors>
<descriptor>${basedir}/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

</build>
Expand Down

0 comments on commit da69f1b

Please sign in to comment.