Skip to content

Commit

Permalink
Move uberjar creation to install phase
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed Sep 17, 2024
1 parent 5951f92 commit 54fd726
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions convex-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<outputDirectory>${project.build.directory}/..</outputDirectory>
<outputDirectory>${project.build.directory}</outputDirectory>
<appendAssemblyId>false</appendAssemblyId>
<finalName>convex-cli</finalName>
</configuration>
<executions>
<execution>
<id>create-archive</id>
<phase>package</phase>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
Expand Down
5 changes: 3 additions & 2 deletions convex-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<outputDirectory>${project.build.directory}/..</outputDirectory>
<outputDirectory>${project.build.directory}</outputDirectory>
<appendAssemblyId>false</appendAssemblyId>
<finalName>convex</finalName>
</configuration>
<executions>
<execution>
<id>create-archive</id>
<phase>package</phase>
<!-- Use install phase so it doesn't go in deployed Maven artifacts' -->
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
Expand Down

0 comments on commit 54fd726

Please sign in to comment.