Skip to content

Commit

Permalink
Several improvements, fixes and cleanups in pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
imedina committed Dec 11, 2017
1 parent 712e752 commit c112227
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 79 deletions.
4 changes: 2 additions & 2 deletions bionetdb-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.opencb.bionetdb</groupId>
<artifactId>bionetdb</artifactId>
<version>0.2.0</version>
<version>0.2.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.47</version>
<version>1.58</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
4 changes: 2 additions & 2 deletions bionetdb-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>bionetdb</artifactId>
<groupId>org.opencb.bionetdb</groupId>
<version>0.2.0</version>
<artifactId>bionetdb</artifactId>
<version>0.2.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions bionetdb-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>bionetdb</artifactId>
<groupId>org.opencb.bionetdb</groupId>
<version>0.2.0</version>
<artifactId>bionetdb</artifactId>
<version>0.2.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
148 changes: 75 additions & 73 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.opencb.bionetdb</groupId>
<artifactId>bionetdb</artifactId>
<version>0.2.0</version>
<version>0.2.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>BioNetDB project</name>
Expand All @@ -20,12 +20,12 @@
</modules>

<properties>
<bionetdb.version>0.2.0</bionetdb.version>
<bionetdb.version>0.2.0-SNAPSHOT</bionetdb.version>
<java.version>1.8</java.version>
<java-common-libs.version>3.7.0-SNAPSHOT</java-common-libs.version>
<biodata.version>1.4.0-SNAPSHOT</biodata.version>
<cellbase.version>4.5.0-rc</cellbase.version>
<jackson.version>2.6.4</jackson.version>
<jackson.version>2.8.10</jackson.version>
<jersey.version>2.23</jersey.version>
<build.dir>build</build.dir>
</properties>
Expand Down Expand Up @@ -55,9 +55,9 @@
<email>[email protected]</email>
</developer>
<developer>
<id>pfurio</id>
<name>Pedro</name>
<email>pedrofurio@gmail.com</email>
<id>jtarraga</id>
<name>Joaquin</name>
<email>joaquintarraga@gmail.com</email>
</developer>
</developers>

Expand Down Expand Up @@ -163,7 +163,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.6.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand All @@ -172,64 +172,10 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</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.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>deploy</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</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-checkstyle-plugin</artifactId>
<version>2.16</version>
<version>2.17</version>
<executions>
<execution>
<id>validate</id>
Expand All @@ -254,16 +200,80 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<opencga.war.name>opencga-${bionetdb.version}</opencga.war.name>

<BIONETDB.DATABASE>scerevisiae</BIONETDB.DATABASE>
<BIONETDB.CATALOG.DB.HOST>localhost</BIONETDB.CATALOG.DB.HOST>
<BIONETDB.CATALOG.DB.PORT>7687</BIONETDB.CATALOG.DB.PORT>
<BIONETDB.CATALOG.DB.USER>neo4j</BIONETDB.CATALOG.DB.USER>
<BIONETDB.CATALOG.DB.PASSWORD>rnapol</BIONETDB.CATALOG.DB.PASSWORD>
<BIONETDB.CATALOG.DB.PASSWORD></BIONETDB.CATALOG.DB.PASSWORD>
</properties>
</profile>

<profile>
<id>deploy</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.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.10.4</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>deploy</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<distributionManagement>
<repository>
<id>ossrh</id>
Expand All @@ -281,14 +291,6 @@
<name>IntAct Nexus</name>
<url>http://www.ebi.ac.uk/intact/maven/nexus/content/groups/public</url>
</repository>
<repository>
<id>biopax.releases</id>
<name>BioPax repository</name>
<url>http://biopax.sourceforge.net/m2repo/releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

</project>

0 comments on commit c112227

Please sign in to comment.