convex-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>world.convex</groupId>
<artifactId>convex-core</artifactId>
<version>0.8.16</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>world.convex</groupId>
<artifactId>convex</artifactId>
<version>0.8.16</version>
</parent>
<properties>
<antlr.version>4.13.2</antlr.version>
<!-- All Bouncycastle modules move together. 1.85.2 is a bcprov-only patch:
bcpkix and bcutil have no such release, so taking it would run a
mismatched set in the signing path. Wait for a coordinated release. -->
<bc.version>1.85</bc.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Tests run on the module path, patched into convex.core. JUnit lives in the
unnamed module and instantiates helpers in convex.test reflectively, but
Surefire only opens packages that contain a selected test class, so a
filtered run (-Dtest=...) that leaves convex.test.Samples out fails with
IllegalAccessException. Open the helper packages explicitly. -->
<argLine>
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=convex.core/convex.test=ALL-UNNAMED
--add-opens=convex.core/convex.test.generators=ALL-UNNAMED
-Dslf4j.internal.verbosity=ERROR
</argLine>
</properties>
<modelVersion>4.0.0</modelVersion>
<artifactId>convex-core</artifactId>
<name>Convex Core</name>
<description>Convex core libraries and common utilities, incliding high performance lattice data structures</description>
<url>https://convex.world</url>
<profiles>
<!--
The base artefact remains Java 21 bytecode. Builds on JDK 22+ also
include the final FFM Etch backend as a multi-release JAR entry.
-->
<profile>
<id>jdk22-ffm</id>
<activation>
<jdk>[22,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>compile-java22</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>22</release>
<compileSourceRoots>
<compileSourceRoot>${project.basedir}/src/main/java22</compileSourceRoot>
</compileSourceRoots>
<multiReleaseOutput>true</multiReleaseOutput>
</configuration>
</execution>
<execution>
<id>compile-java22-for-tests</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<release>22</release>
<compileSourceRoots>
<compileSourceRoot>${project.basedir}/src/main/java22</compileSourceRoot>
</compileSourceRoots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!--
Maven builds on JDK 22+ must exercise the versioned backend.
Use a file so m2e does not copy this Maven-only guard into
ordinary Eclipse JUnit launch configurations.
-->
<systemPropertiesFile>${project.basedir}/src/test/resources/surefire-jdk22.properties</systemPropertiesFile>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>${antlr.version}</version>
<configuration>
<visitor>true</visitor>
</configuration>
<executions>
<execution>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/antlr4/</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- This plugin ensures we get a test-jar which is used as a
dependency for some other tests. Not needed any more?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
-->
</plugins>
<resources>
<resource>
<directory>src/main/cvx</directory>
</resource>
<resource>
<directory>src/main/antlr4</directory>
</resource>
<resource>
<directory>src/main/resources-filtered</directory>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/cvx</directory>
</testResource>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
</build>
<dependencies>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>${bc.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>${bc.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcutil-jdk18on</artifactId>
<version>${bc.version}</version>
</dependency>
<dependency>
<groupId>com.pholser</groupId>
<artifactId>junit-quickcheck-core</artifactId>
<version>1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.pholser</groupId>
<artifactId>junit-quickcheck-generators</artifactId>
<version>1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>${antlr.version}</version>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<!-- Fix for old javasset warning -->
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.32.0-GA</version> <!-- clean, modern, no broken systemPath -->
</dependency>
</dependencies>
</dependencyManagement>
</project>