Skip to content

Commit 1220ddb

Browse files
committed
Fix for inclusion of convex-core test jar in Maven build
1 parent 975c766 commit 1220ddb

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

convex-core/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,19 @@
8282
</configuration>
8383
</execution>
8484
</executions>
85+
</plugin>
86+
87+
<!-- This plugin ensures we get a test-jar which is used as a dependency for some other tests -->
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-jar-plugin</artifactId>
91+
<executions>
92+
<execution>
93+
<goals>
94+
<goal>test-jar</goal>
95+
</goals>
96+
</execution>
97+
</executions>
8598
</plugin>
8699
</plugins>
87100
<resources>

convex-peer/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
<groupId>world.convex</groupId>
2727
<artifactId>convex-core</artifactId>
2828
<version>${convex.version}</version>
29+
<type>jar</type>
30+
<scope>compile</scope>
31+
</dependency>
32+
<dependency>
33+
<groupId>world.convex</groupId>
34+
<artifactId>convex-core</artifactId>
35+
<version>${convex.version}</version>
36+
<classifier>tests</classifier>
37+
<scope>test</scope>
2938
</dependency>
3039

3140
<dependency>

0 commit comments

Comments
 (0)