Skip to content

Commit 49bca56

Browse files
committed
Merge branch 'hotfix-1.1.2'
2 parents c36cc70 + a636dde commit 49bca56

3 files changed

Lines changed: 38 additions & 33 deletions

File tree

pom.xml

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>baseCode</name>
66
<groupId>baseCode</groupId>
77
<artifactId>baseCode</artifactId>
8-
<version>1.1.1</version>
8+
<version>1.1.2</version>
99
<inceptionYear>2003</inceptionYear>
1010
<description>
1111
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>
@@ -150,6 +150,16 @@
150150
<groupId>org.apache.jena</groupId>
151151
<artifactId>jena-core</artifactId>
152152
<version>2.7.4</version>
153+
<exclusions>
154+
<exclusion>
155+
<groupId>log4j</groupId>
156+
<artifactId>log4j</artifactId>
157+
</exclusion>
158+
<exclusion>
159+
<groupId>org.slf4j</groupId>
160+
<artifactId>slf4j-log4j12</artifactId>
161+
</exclusion>
162+
</exclusions>
153163
</dependency>
154164
<!-- Be careful with versions of lucene -->
155165
<!-- jena-text uses lucene 4.x.. Not ready for this. -->
@@ -159,11 +169,31 @@
159169
<groupId>org.apache.jena</groupId>
160170
<artifactId>jena-larq</artifactId>
161171
<version>1.0.0-incubating</version>
172+
<exclusions>
173+
<exclusion>
174+
<groupId>log4j</groupId>
175+
<artifactId>log4j</artifactId>
176+
</exclusion>
177+
<exclusion>
178+
<groupId>org.slf4j</groupId>
179+
<artifactId>slf4j-log4j12</artifactId>
180+
</exclusion>
181+
</exclusions>
162182
</dependency>
163183
<dependency>
164184
<groupId>org.apache.jena</groupId>
165185
<artifactId>jena-arq</artifactId>
166186
<version>2.9.4</version> <!-- latest release is 2.10.1, but not compatible with larq? -->
187+
<exclusions>
188+
<exclusion>
189+
<groupId>log4j</groupId>
190+
<artifactId>log4j</artifactId>
191+
</exclusion>
192+
<exclusion>
193+
<groupId>org.slf4j</groupId>
194+
<artifactId>slf4j-log4j12</artifactId>
195+
</exclusion>
196+
</exclusions>
167197
</dependency>
168198

169199
<!-- Lucene -->
@@ -308,13 +338,6 @@
308338
</configuration>
309339
</plugin>
310340
</plugins>
311-
<extensions>
312-
<extension>
313-
<groupId>org.apache.maven.wagon</groupId>
314-
<artifactId>wagon-ssh-external</artifactId>
315-
<version>3.4.3</version>
316-
</extension>
317-
</extensions>
318341
</build>
319342
<reporting>
320343
<plugins>
@@ -400,23 +423,6 @@
400423
</plugin>
401424
</plugins>
402425
</reporting>
403-
<distributionManagement>
404-
<site>
405-
<id>broca</id>
406-
<name>broca</name>
407-
<url>scpexe://otto.pavlab.chibi.ubc.ca:/space/gemmaData/baseCode-site</url>
408-
</site>
409-
<repository>
410-
<id>repo</id>
411-
<name>Pavlab</name>
412-
<url>scpexe://otto.pavlab.chibi.ubc.ca:/space/maven2</url>
413-
</repository>
414-
<snapshotRepository>
415-
<id>repo</id>
416-
<name>Pavlab</name>
417-
<url>scpexe://otto.pavlab.chibi.ubc.ca:/space/maven2</url>
418-
</snapshotRepository>
419-
</distributionManagement>
420426
<repositories>
421427
<repository>
422428
<id>pavlab</id>

test/log4j.properties

Lines changed: 0 additions & 8 deletions
This file was deleted.

test/ubic/basecode/ontology/ncbo/AnnotatorClientTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,20 @@
2020

2121
import java.util.Collection;
2222

23+
import org.junit.Assume;
24+
import org.junit.Before;
2325
import org.junit.Test;
2426

2527
/**
2628
* @author Paul
2729
*/
2830
public class AnnotatorClientTest {
2931

32+
@Before
33+
public void setUp() {
34+
Assume.assumeTrue( "", System.getProperty( "ncbo.api.key" ) != null );
35+
}
36+
3037
@Test
3138
public void test() throws Exception {
3239
Collection<AnnotatorResponse> results = AnnotatorClient.findTerm( "cancer" );

0 commit comments

Comments
 (0)