Skip to content

Commit

Permalink
use central maven repo (#549)
Browse files Browse the repository at this point in the history
* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml
  • Loading branch information
EvenSol authored Oct 18, 2022
1 parent 13cbd43 commit 3cd9ee7
Showing 1 changed file with 86 additions and 4 deletions.
90 changes: 86 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,45 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.equinor</groupId>
<artifactId>neqsim</artifactId>
<name>NeqSim</name>
<description>NeqSim is a library for calculation of fluid behavior, phase equilibrium and process simulation.</description>
<url>https://github.com/equinor/neqsim</url>
<packaging>jar</packaging>
<version>${revision}${sha1}${changelist}</version>

<properties>
<revision>2.4.0</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sha1/>
<changelist/>
</properties>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<name>Even Solbraa</name>
<email>esolbraa@gmail.com</email>
<organization>com.equinor</organization>
<organizationUrl>https://github.com/equinor/neqsim</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/equinor/neqsim.git</connection>
<developerConnection>scm:git:ssh://github.com/equinor/neqsim.git</developerConnection>
<url>https://github.com/equinor/neqsim</url>
</scm>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
Expand Down Expand Up @@ -98,7 +119,58 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</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-source-plugin</artifactId>
<version>2.2.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>2.9.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>1.5</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-enforcer-plugin</artifactId>
Expand Down Expand Up @@ -239,10 +311,20 @@
</plugins>
</build>
<distributionManagement>
<!--
<repository>
<id>github</id>
<name>GitHub Equinor Apache Maven Packages</name>
<url>https://maven.pkg.github.com/Equinor/neqsim</url>
</repository>
-->
<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>
</project>

0 comments on commit 3cd9ee7

Please sign in to comment.