gurobi
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.gurobi</groupId> <artifactId>gurobi</artifactId> <version>12.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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <!-- Project metadata --> <groupId>com.gurobi</groupId> <artifactId>gurobi</artifactId> <version>12.0.0</version> <packaging>jar</packaging> <name>${project.groupId}:${project.artifactId}</name> <description>The official Gurobi Optimizer Java package</description> <url>https://www.gurobi.com</url> <organization> <name>Gurobi Optimization, LLC</name> <url>https://www.gurobi.com</url> </organization> <licenses> <license> <name>Proprietary</name> <url>https://www.gurobi.com/EULA</url> <comments>A proprietary license agreement is in place. Please see the End User License Agreement (EULA) at the provided URL.</comments> </license> </licenses> <developers> <developer> <name>Thomas Braam</name> <email>braam@gurobi.com</email> <organization>Gurobi Optimization, LLC</organization> <organizationUrl>https://www.gurobi.com</organizationUrl> </developer> </developers> <scm> <!-- NOTE: these are dummy values--> <url>https://www.gurobi.com</url> <connection>scm:git:https://www.gurobi.com/gurobi.git</connection> <developerConnection>scm:git:https://www.gurobi.com/gurobi.git</developerConnection> </scm> <properties> <!-- Common 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.deploy.skip>true</maven.deploy.skip> <!-- disable default deploy --> <maven.plugin.validation>VERBOSE</maven.plugin.validation> <!-- Properties that will be overridden in profiles --> <platform.directory>undefined</platform.directory> <platform.classifier>undefined</platform.classifier> <!-- So we can override it for the source --> <src.dir>src/main/java</src.dir> <internalRepository>${internalRepository}</internalRepository> <internalRepositoryName>maven-snapshots</internalRepositoryName> </properties> <distributionManagement> <repository> <id>maven-internal</id> <url>${internalRepository}/${internalRepositoryName}/</url> </repository> </distributionManagement> <build> <sourceDirectory>${src.dir}</sourceDirectory> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <!-- We need this ancient version, since: - 3.0+ does not allow skipping uploading a POM - 2.5 - 3.0 has a bug where it tries to upload a .jar file twice --> <version>2.5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <configuration> <notimestamp>true</notimestamp> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> </plugin> </plugins> </pluginManagement> <plugins> <!-- Common plugins --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>default-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <classifier>${platform.classifier}</classifier> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>default-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-resources</id> <phase>compile</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/classes/native/v12.0.0</outputDirectory> <resources> <resource> <directory>${platform.directory}</directory> </resource> </resources> </configuration> </execution> <execution> <id>copy-license-files</id> <phase>prepare-package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/classes/META-INF/licenses</outputDirectory> <resources> <resource> <directory>licenses</directory> <includes> <include>*</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <executions> <execution> <id>platform-deploy</id> <phase>deploy</phase> <goals> <goal>deploy-file</goal> </goals> <configuration> <!-- Common configuration --> <url>${internalRepository}/${internalRepositoryName}/</url> <repositoryId>maven-internal</repositoryId> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <version>${project.version}</version> <packaging>jar</packaging> <generatePom>false</generatePom> <!-- Parameterized configuration --> <file>${project.build.directory}/${project.build.finalName}-${platform.classifier}.jar</file> <classifier>${platform.classifier}</classifier> </configuration> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>gurobi_version.properties</include> </includes> </resource> </resources> </build> <profiles> <profile> <id>full</id> <properties> <platform.directory>libs</platform.directory> <platform.classifier/> <maven.deploy.skip>false</maven.deploy.skip> <!-- enable default deploy --> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <executions> <execution> <id>platform-deploy</id> <phase>none</phase> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>core</id> <properties> <platform.directory>none</platform.directory> <platform.classifier>core</platform.classifier> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <executions> <execution> <id>platform-deploy</id> <phase>deploy</phase> <goals> <goal>deploy-file</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>sources</id> <properties> <platform.directory>none</platform.directory> <platform.classifier>sources</platform.classifier> <src.dir>src/main/dummy</src.dir> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> <configuration> <includes> <include>**/README</include> </includes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <executions> <execution> <id>platform-deploy</id> <phase>deploy</phase> <goals> <goal>deploy-file</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <properties> <internalRepositoryName>maven-internal</internalRepositoryName> </properties> </profile> <profile> <id>maven-central</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <configuration> <skip>true</skip> <skipIfEmpty>true</skipIfEmpty> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>3.1.1</version> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>3.0.0-M1</version> <configuration> <skip>true</skip> </configuration> <executions> <execution> <id>deploy-file</id> <phase>deploy</phase> <goals> <goal>deploy-file</goal> </goals> <configuration> <repositoryId>maven-central</repositoryId> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> <file>target/gurobi-12.0.0.jar</file> <pomFile>target/gurobi-12.0.0.pom</pomFile> <files> target/gurobi-12.0.0.jar.asc,target/gurobi-12.0.0.pom.asc,target/gurobi-12.0.0-core.jar,target/gurobi-12.0.0-core.jar.asc,target/gurobi-12.0.0-javadoc.jar,target/gurobi-12.0.0-javadoc.jar.asc,target/gurobi-12.0.0-sources.jar,target/gurobi-12.0.0-sources.jar.asc </files> <types>jar.asc,pom.asc,jar,jar.asc,jar,jar.asc,jar,jar.asc</types> <classifiers>,,core,core,javadoc,javadoc,sources,sources</classifiers> </configuration> </execution> <execution> <id>platform-deploy</id> <phase>none</phase> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>