Files
zeekay b1cbcc4806 rebrand: finish capnp → ZAP; bump build deps; gate CI on main
Complete the org.capnproto → org.zap rebrand across the Java port:
runtime, compiler plugin, examples, benchmark, schemas (.capnp → .zap),
docs and website. Zero capnp / Cap'n Proto content remains in source or
build files; upstream Sandstorm MIT headers are preserved. pom.xml and
Makefile reference zap (org.zap, zap-proto.io, zapc-java, libzap/kj).

Bump build dependencies to the latest release within each major:
- junit-jupiter 5.11.4 → 5.14.4
- maven-compiler-plugin 3.6.2/3.3 → 3.15.0
- maven-antrun-plugin 3.0.0 → 3.2.0
- build-helper-maven-plugin 3.1.0 → 3.6.1
- maven-source-plugin 2.2.1 → 2.4
- maven-javadoc-plugin 2.10.3 → 2.10.4
- nexus-staging-maven-plugin 1.6.6 → 1.7.0

CI: trigger on main (was master, the default branch had no gate); build
and test the pure-Java runtime on Temurin JDK 8 and 21 (checkout@v4,
setup-java@v4). The runtime has no native dependency and is the real
gate. The native zapc-java + conformance suite require the published
zap schema compiler toolchain and are reintroduced once it ships.

runtime: mvn -B -pl runtime test → 27 run, 0 failures, 0 errors, 1 skipped.
2026-06-19 23:43:24 -07:00

99 lines
3.4 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>org.zap</groupId>
<artifactId>benchmark</artifactId>
<packaging>jar</packaging>
<description>zap-java benchmark</description>
<version>0.1.17-SNAPSHOT</version>
<name>zap-java benchmark</name>
<organization>
<name>org.zap</name>
</organization>
<url>https://zap-proto.io/</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:zap-proto/java.git</url>
<connection>scm:[email protected]:zap-proto/java.git</connection>
</scm>
<developers>
<developer>
<id>dwrensha</id>
<name>David Renshaw</name>
<url>https://github.com/dwrensha</url>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
</properties>
<dependencies>
<dependency>
<groupId>org.zap</groupId>
<artifactId>runtime</artifactId>
<version>0.1.17-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<target>
<mkdir dir="src/main/generated"/>
<exec executable="zap" failonerror="true">
<arg value="compile"/>
<arg value="-I"/>
<arg value="../compiler/src/main/schema/"/>
<arg value="--src-prefix=src/main/schema/"/>
<arg value="-o../zapc-java:src/main/generated"/>
<arg value="src/main/schema/eval.zap"/>
<arg value="src/main/schema/carsales.zap"/>
<arg value="src/main/schema/catrank.zap"/>
</exec>
</target>
</configuration>
<goals>
<goal>run</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-generated-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/generated</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>