Skip to content

Commit

Permalink
Merge branch 'hotfix-1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Dec 14, 2021
2 parents c36cc70 + a636dde commit 49bca56
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 33 deletions.
56 changes: 31 additions & 25 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>baseCode</name>
<groupId>baseCode</groupId>
<artifactId>baseCode</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
<inceptionYear>2003</inceptionYear>
<description>
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>
Expand Down Expand Up @@ -150,6 +150,16 @@
<groupId>org.apache.jena</groupId>
<artifactId>jena-core</artifactId>
<version>2.7.4</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Be careful with versions of lucene -->
<!-- jena-text uses lucene 4.x.. Not ready for this. -->
Expand All @@ -159,11 +169,31 @@
<groupId>org.apache.jena</groupId>
<artifactId>jena-larq</artifactId>
<version>1.0.0-incubating</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>2.9.4</version> <!-- latest release is 2.10.1, but not compatible with larq? -->
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Lucene -->
Expand Down Expand Up @@ -308,13 +338,6 @@
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>3.4.3</version>
</extension>
</extensions>
</build>
<reporting>
<plugins>
Expand Down Expand Up @@ -400,23 +423,6 @@
</plugin>
</plugins>
</reporting>
<distributionManagement>
<site>
<id>broca</id>
<name>broca</name>
<url>scpexe://otto.pavlab.chibi.ubc.ca:/space/gemmaData/baseCode-site</url>
</site>
<repository>
<id>repo</id>
<name>Pavlab</name>
<url>scpexe://otto.pavlab.chibi.ubc.ca:/space/maven2</url>
</repository>
<snapshotRepository>
<id>repo</id>
<name>Pavlab</name>
<url>scpexe://otto.pavlab.chibi.ubc.ca:/space/maven2</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>pavlab</id>
Expand Down
8 changes: 0 additions & 8 deletions test/log4j.properties

This file was deleted.

7 changes: 7 additions & 0 deletions test/ubic/basecode/ontology/ncbo/AnnotatorClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,20 @@

import java.util.Collection;

import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;

/**
* @author Paul
*/
public class AnnotatorClientTest {

@Before
public void setUp() {
Assume.assumeTrue( "", System.getProperty( "ncbo.api.key" ) != null );
}

@Test
public void test() throws Exception {
Collection<AnnotatorResponse> results = AnnotatorClient.findTerm( "cancer" );
Expand Down

0 comments on commit 49bca56

Please sign in to comment.