minimap2-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>eu.virtualparadox</groupId> <artifactId>minimap2-java</artifactId> <version>1.0.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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>eu.virtualparadox</groupId> <artifactId>minimap2-java</artifactId> <version>1.0.0</version> <packaging>jar</packaging> <name>minimap2-java</name> <description>Java bindings for minimap2 aligner (JNI wrapper with native builds)</description> <url>https://github.com/virtualparadox/minimap2-java</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git://github.com/virtualparadox/minimap2-java.git</connection> <developerConnection>scm:git:ssh://github.com:virtualparadox/minimap2-java.git</developerConnection> <url>https://github.com/virtualparadox/minimap2-java</url> <tag>HEAD</tag> </scm> <developers> <developer> <id>tothpeter</id> <name>Péter Tóth</name> <email>peter.toth@virtualparadox.eu</email> <organization>Virtual Paradox</organization> <organizationUrl>https://virtualparadox.eu</organizationUrl> </developer> </developers> <properties> <maven.compiler.source>21</maven.compiler.source> <maven.compiler.target>21</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <!-- Új Central Publishing deployment config --> <distributionManagement> <repository> <id>central</id> <url>https://central.sonatype.com/api/v1/publisher/upload</url> </repository> </distributionManagement> <dependencies> <!-- JUnit 5 --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.10.2</version> <scope>test</scope> </dependency> </dependencies> <profiles> <!-- OS-specifikus natív libek --> <profile> <id>linux</id> <activation> <os> <family>unix</family> <name>Linux</name> </os> </activation> <properties> <LIBMM2_PATH>${project.build.outputDirectory}/natives/libmm2.so</LIBMM2_PATH> </properties> </profile> <profile> <id>osx</id> <activation> <os> <family>mac</family> </os> </activation> <properties> <LIBMM2_PATH>${project.build.outputDirectory}/natives/libmm2.dylib</LIBMM2_PATH> </properties> </profile> <profile> <id>windows</id> <activation> <os> <family>windows</family> </os> </activation> <properties> <LIBMM2_PATH>${project.build.outputDirectory}/natives/mm2.dll</LIBMM2_PATH> </properties> </profile> </profiles> <build> <plugins> <!-- Compiler --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <release>21</release> </configuration> </plugin> <!-- Native build --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>build-native</id> <phase>compile</phase> <goals> <goal>exec</goal> </goals> <configuration> <workingDirectory>${project.basedir}/src/main/c</workingDirectory> <executable>make</executable> </configuration> </execution> </executions> </plugin> <!-- Copy native libs --> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>copy-natives</id> <phase>process-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.outputDirectory}/natives</outputDirectory> <resources> <resource> <directory>${project.basedir}/src/main/c</directory> <includes> <include>*.so</include> <include>*.dylib</include> <include>*.dll</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <!-- JUnit 5 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> <configuration> <useModulePath>false</useModulePath> <systemPropertyVariables> <LIBMM2_PATH>${LIBMM2_PATH}</LIBMM2_PATH> </systemPropertyVariables> <forkCount>1</forkCount> <reuseForks>false</reuseForks> </configuration> </plugin> <!-- Shade --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.5.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <createDependencyReducedPom>false</createDependencyReducedPom> <shadedArtifactAttached>false</shadedArtifactAttached> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>eu.virtualparadox.minimap2.MiniMap2Initializer</mainClass> </transformer> </transformers> </configuration> </execution> </executions> </plugin> <!-- Sources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Javadocs --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.6.3</version> <configuration> <doclint>none</doclint> <failOnError>false</failOnError> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Sign --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.4</version> <configuration> <keyname>0C4238D5A8FF369A</keyname> <passphrase>${env.GPG_PASSPHRASE}</passphrase> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- Új Central Publishing plugin --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.5.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> </plugins> </build> </project>