ecos4j-native
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.ustermetrics</groupId>
<artifactId>ecos4j-native</artifactId>
<version>2.0.0-2.0.10</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>com.ustermetrics</groupId>
<artifactId>ecos4j-native</artifactId>
<version>2.0.0-2.0.10</version>
<properties>
<java.version>23</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<git.repository>https://github.com/atraplet/${project.artifactId}</git.repository>
<natives.dir>src/main/resources/natives</natives.dir>
<natives.lib.version>2.0.10</natives.lib.version>
<natives.download.url>https://github.com/atraplet/ecos/releases/download</natives.download.url>
</properties>
<name>${project.groupId}:${project.artifactId}</name>
<description>ECOS Solver for Java Native Libraries</description>
<url>${git.repository}</url>
<licenses>
<license>
<name>GNU General Public License, Version 3</name>
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Adrian Trapletti</name>
<email>a.trapletti@ustermetrics.com</email>
<organization>Uster Metrics GmbH</organization>
<organizationUrl>https://www.ustermetrics.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:${git.repository}.git</connection>
<developerConnection>scm:git:${git.repository}.git</developerConnection>
<url>${git.repository}/tree/master</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<version>2.5.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.11.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<filesets>
<fileset>
<directory>${natives.dir}</directory>
<includes>
<include>linux_64/*</include>
<include>windows_64/*</include>
<include>osx_arm64/*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>regex-property</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>module.name</name>
<value>${project.artifactId}</value>
<regex>-</regex>
<replacement>_</replacement>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.10.0</version>
<executions>
<execution>
<id>download libecos.so</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>${natives.download.url}/v${natives.lib.version}/libecos.so</url>
<outputDirectory>${project.basedir}/${natives.dir}/linux_64</outputDirectory>
<sha256>128d79880ae217cc460ce34f35916a3aa7dd333192362a7f2ad89ed27a0f2b9a</sha256>
</configuration>
</execution>
<execution>
<id>download ecos.dll</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>${natives.download.url}/v${natives.lib.version}/ecos.dll</url>
<outputDirectory>${project.basedir}/${natives.dir}/windows_64</outputDirectory>
<sha256>e45a67c78b69697858a78ce6152912ba6577d6c792612d23e64e04017efdf08b</sha256>
</configuration>
</execution>
<execution>
<id>download libecos.dylib</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>${natives.download.url}/v${natives.lib.version}/libecos.dylib</url>
<outputDirectory>${project.basedir}/${natives.dir}/osx_arm64</outputDirectory>
<sha256>5c6a73c9c384d37dfb6d8f9be6cd806eab72ff20cdc801c287aa5e845a7b1395</sha256>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<archive>
<manifestEntries>
<!--suppress UnresolvedMavenProperty -->
<Automatic-Module-Name>${project.groupId}.${module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.1</version>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<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-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>