j4rs
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.astonbitecode</groupId> <artifactId>j4rs</artifactId> <version>0.21.0</version> </dependency>
<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.astonbitecode</groupId> <artifactId>j4rs</artifactId> <version>0.21.0</version> <name>j4rs</name> <description>Java for Rust</description> <url>https://github.com/astonbitecode/j4rs</url> <developers> <developer> <name>astonbitecode</name> </developer> </developers> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0</url> </license> <license> <name>MIT</name> <url>https://opensource.org/licenses/MIT</url> </license> </licenses> <scm> <connection>scm:git:git@github.com:astonbitecode/j4rs.git</connection> <url>git@github.com:astonbitecode/j4rs.git</url> <developerConnection>scm:git:git@github.com:astonbitecode/j4rs.git</developerConnection> </scm> <!-- <repositories>--> <!-- <repository>--> <!-- <id>thenewmotion</id>--> <!-- <name>The New Motion Repository</name>--> <!-- <url>http://nexus.thenewmotion.com/content/repositories/releases-public</url>--> <!-- </repository>--> <!-- </repositories>--> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <maven.surefire.version>3.1.2</maven.surefire.version> <junit.version>4.13.2</junit.version> <maven.jar.plugin.version>3.3.0</maven.jar.plugin.version> <nexus.staging.plugin.version>1.6.13</nexus.staging.plugin.version> <maven.gpg.plugin.version>3.1.0</maven.gpg.plugin.version> <maven.source.plugin.version>3.3.0</maven.source.plugin.version> <maven.javadoc.plugin.version>3.5.0</maven.javadoc.plugin.version> <maven.assembly.plugin.version>3.6.0</maven.assembly.plugin.version> <maven.resources.plugin.version>3.3.1</maven.resources.plugin.version> <logback.version>1.3.8</logback.version> <build.plugins.plugin.version>3.11.0</build.plugins.plugin.version> <jackson.version>2.15.2</jackson.version> <mockito.version>5.4.0</mockito.version> <javafx.version>21.0.2</javafx.version> </properties> <dependencies> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*</include> </includes> <excludes> <exclude>MANIFEST.MF</exclude> </excludes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${maven.resources.plugin.version}</version> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${build.plugins.plugin.version}</version> <executions> <execution> <phase>compile</phase> <goals> <goal>compile</goal> </goals> </execution> </executions> <configuration> <encoding>UTF-8</encoding> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.surefire.version}</version> <configuration> <useFile>true</useFile> <disableXmlReport>false</disableXmlReport> <includes> <include>**/*Test.*</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven.jar.plugin.version}</version> <configuration> <archive> <index>true</index> <manifest> <addClasspath>false</addClasspath> </manifest> <manifestEntries> <Built-By>astonbitecode</Built-By> <url>${project.url}</url> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>${maven.assembly.plugin.version}</version> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifestFile>src/main/resources/MANIFEST.MF</manifestFile> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven.jar.plugin.version}</version> <configuration> <archive> <index>true</index> <manifest> <addClasspath>false</addClasspath> </manifest> <manifestEntries> <Built-By>astonbitecode</Built-By> <url>${project.url}</url> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus.staging.plugin.version}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven.gpg.plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven.source.plugin.version}</version> <configuration> <useDefaultManifestFile>false</useDefaultManifestFile> </configuration> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <configuration> <source>8</source> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>