tm4java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.mkpaz</groupId> <artifactId>tm4java</artifactId> <version>1.0.0</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"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.mkpaz</groupId> <artifactId>tm4java</artifactId> <version>1.0.0</version> <name>tm4java</name> <description>TextMate (VSCode) grammars and themes support for Java</description> <url>https://github.com/mkpaz/tm4java</url> <licenses> <license> <name>Eclipse Public License 2.0</name> <url>https://raw.githubusercontent.com/mkpaz/tm4java/master/LICENSE</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>mkpaz</id> <name>mkpaz</name> </developer> </developers> <scm> <developerConnection>scm:git:https://github.com/mkpaz/tm4java.git</developerConnection> <connection>${project.scm.developerConnection}</connection> <url>${project.url}</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.source>24</maven.compiler.source> <maven.compiler.target>24</maven.compiler.target> <java.version>24</java.version> <lib.junit.version>5.13.4</lib.junit.version> </properties> <dependencies> <dependency> <groupId>org.jspecify</groupId> <artifactId>jspecify</artifactId> <version>1.0.0</version> </dependency> <dependency> <groupId>org.jruby.joni</groupId> <artifactId>joni</artifactId> <version>2.2.6</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.13.1</version> <optional>true</optional> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${lib.junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${lib.junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${lib.junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.27.3</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <configuration> <release>${java.version}</release> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> <configuration> <configLocation>checkstyle.xml</configLocation> <consoleOutput>true</consoleOutput> <failsOnError>false</failsOnError> <linkXRef>false</linkXRef> </configuration> <executions> <execution> <id>validate</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> <configuration> <excludes>**/nanojson/*,**/OnigCaptureIndex.java</excludes> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>10.6.0</version> </dependency> </dependencies> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <!-- package project sources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-source</id> <phase>compile</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- package project javadoc --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <doclint>none</doclint> </configuration> </plugin> <!-- sign deployed artifacts --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> </plugins> </build> </profile> <!-- Runs benchmark in a separate JVM process: JAVA_HOME=path/to/jdk mvn verify -DskipTests -P benchmark --> <profile> <id>benchmark</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <phase>pre-integration-test</phase> <goals> <goal>shade</goal> </goals> <configuration> <createDependencyReducedPom>false</createDependencyReducedPom> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.5.1</version> <executions> <execution> <phase>integration-test</phase> <goals> <goal>exec</goal> </goals> <configuration> <!-- $JAVA_HOME must be set --> <executable>${JAVA_HOME}/bin/java</executable> <arguments> <!-- using G1 + large heap to prevent auto GC during benchmark run --> <argument>-Xms2048M</argument> <argument>-Xmx2048M</argument> <argument>-XX:+UseG1GC</argument> <!-- logging GC activity via stderr --> <argument>-Xlog:gc:stderr</argument> <argument>-cp</argument> <argument> ${project.build.directory}/${project.artifactId}-${project.version}.jar${path.separator}${project.build.directory}/test-classes </argument> <argument>tm4java.benchmark.GrammarBenchmark</argument> </arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <!-- Runs benchmark in the same (Maven build) JVM process: mvn verify -DskipTests -P benchmark-attach --> <id>benchmark-attach</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.5.1</version> <configuration> <mainClass>tm4java.benchmark.GrammarBenchmark</mainClass> <classpathScope>test</classpathScope> </configuration> <executions> <execution> <phase>integration-test</phase> <goals> <goal>java</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>