Skip to content

Commit

Permalink
Update pom.xml to publish to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelien-naldi committed May 4, 2020
1 parent 71ce243 commit 5723dc3
Showing 1 changed file with 69 additions and 31 deletions.
100 changes: 69 additions & 31 deletions pom.xml
Expand Up @@ -7,28 +7,38 @@
<groupId>org.colomoto</groupId>
<artifactId>bioLQM</artifactId>
<name>Logical Qualitative Models of biological network</name>
<version>0.7.1-SNAPSHOT</version>
<version>0.7.1</version>
<description>simple toolbox for the manipulation of logical models (not edition)</description>
<inceptionYear>2012</inceptionYear>
<packaging>jar</packaging>
<url>https://github.com/colomoto/bioLQM</url>

<licenses>
<license>
<name>GNU Lesser General Public License Version 3 (LGPL v3+)</name>
<url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
</license>
</licenses>

<developers>
<developer>
<name>Aurélien Naldi</name>
<email>aurelien.naldi@gmail.com</email>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/colomoto/bioLQM.git</connection>
<developerConnection>scm:git:ssh://github.com:colomoto/bioLQM.git</developerConnection>
<url>http://github.com/colomoto/bioLQM</url>
</scm>

<properties>
<project.java.version>1.8</project.java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<repositories>
<repository>
<id>colomoto</id>
<snapshots><enabled>false</enabled></snapshots>
<releases><enabled>true</enabled></releases>
<name>The colomoto maven repository</name>
<url>https://colomoto.github.io/colomoto-maven-repository</url>
</repository>
</repositories>

<dependencies>

<dependency>
Expand Down Expand Up @@ -61,7 +71,7 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.7.1</version>
<version>4.8</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -97,7 +107,7 @@
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>4.7.1</version>
<version>4.8</version>
<executions>
<execution>
<goals>
Expand All @@ -110,7 +120,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -120,7 +130,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
<version>3.1.2</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -139,7 +149,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
Expand All @@ -155,14 +165,43 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<!--
<configuration>
<links>
<link>http://aurelien-naldi.github.com/gh-documentation/api/mddlib</link>
</links>
</configuration>
-->
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.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-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
Expand Down Expand Up @@ -190,15 +229,14 @@
</plugins>
</build>

<!--
deploy to a local repository using:
mvn deploy -Dlocal.repository.url=file:///path/to/your/repository -DperformRelease
-->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>${local.repository.url}</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

Expand Down

0 comments on commit 5723dc3

Please sign in to comment.