Skip to content

Commit 4c74335

Browse files
authored
Merge pull request #29 from openworm/development
Release 0.4.2
2 parents b600fc6 + 6195dbc commit 4c74335

6 files changed

Lines changed: 20 additions & 24 deletions

File tree

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ language: java
33
install:
44
- git clone https://github.com/openworm/org.geppetto.model.git
55
- cd org.geppetto.model
6-
- if [ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
6+
- if [[ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
77
- git status
88
- mvn install
99
- cd ..
1010
- git clone https://github.com/openworm/org.geppetto.core.git
1111
- cd org.geppetto.core
12-
- if [ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
12+
- if [[ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
1313
- git status
1414
- mvn install
1515
- cd ..
1616
- git clone https://github.com/openworm/org.geppetto.simulation.git
1717
- cd org.geppetto.simulation
18-
- if [ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
18+
- if [[ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
1919
- git status
2020
- mvn install
2121
- cd ..

pom.xml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<groupId>org.geppetto</groupId>
66
<artifactId>datasources</artifactId>
77
<name>Geppetto Data Sources bundle</name>
8-
<version>0.4.1</version>
8+
<version>0.4.2</version>
99
<packaging>bundle</packaging>
1010
<properties>
11-
<spring.version>3.1.3.RELEASE</spring.version>
11+
<spring.version>4.3.9.RELEASE</spring.version>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
</properties>
1414
<dependencies>
@@ -25,17 +25,17 @@
2525
</dependency>
2626
<dependency>
2727
<groupId>org.springframework</groupId>
28-
<artifactId>org.springframework.core</artifactId>
28+
<artifactId>spring-core</artifactId>
2929
<version>${spring.version}</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>org.springframework</groupId>
33-
<artifactId>org.springframework.beans</artifactId>
33+
<artifactId>spring-beans</artifactId>
3434
<version>${spring.version}</version>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.springframework</groupId>
38-
<artifactId>org.springframework.context</artifactId>
38+
<artifactId>spring-context</artifactId>
3939
<version>${spring.version}</version>
4040
</dependency>
4141
<dependency>
@@ -47,15 +47,9 @@
4747
<dependency>
4848
<groupId>org.junit</groupId>
4949
<artifactId>com.springsource.org.junit</artifactId>
50-
<version>4.5.0</version>
50+
<version>4.7.0</version>
5151
<scope>test</scope>
5252
</dependency>
53-
<dependency>
54-
<groupId>org.springframework</groupId>
55-
<artifactId>org.springframework.spring-library</artifactId>
56-
<type>libd</type>
57-
<version>${spring.version}</version>
58-
</dependency>
5953
<dependency>
6054
<groupId>org.springframework</groupId>
6155
<artifactId>spring-test</artifactId>
@@ -131,7 +125,7 @@
131125
{maven-resources},META-INF/spring=src/main/java/META-INF/spring
132126
</Include-Resource>
133127
<Import-Package>
134-
org.geppetto.core.services,org.geppetto.core.features,org.aopalliance.aop,org.springframework.aop,,org.springframework.aop.scope,org.springframework.aop.framework,*
128+
org.geppetto.core.services,org.geppetto.core.features,org.aopalliance.aop,org.springframework.aop,org.springframework.aop.scope,org.springframework.aop.framework,org.springframework.core,*
135129
</Import-Package>
136130
</instructions>
137131
</configuration>

src/main/java/META-INF/spring/app-config.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:context="http://www.springframework.org/schema/context"
45
xsi:schemaLocation="http://www.springframework.org/schema/beans
5-
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
6+
http://www.springframework.org/schema/beans/spring-beans.xsd
67
http://www.springframework.org/schema/context
7-
http://www.springframework.org/schema/context/spring-context-3.1.xsd">
8+
http://www.springframework.org/schema/context/spring-context.xsd">
89

910
<!-- <bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor"/>-->
1011
<!-- Instructs Spring to scan for internal service components to instantiate and configure -->

src/main/java/META-INF/spring/module-config.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xmlns:context="http://www.springframework.org/schema/context"
55
xsi:schemaLocation="http://www.springframework.org/schema/beans
6-
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
6+
http://www.springframework.org/schema/beans/spring-beans.xsd
77
http://www.springframework.org/schema/context
8-
http://www.springframework.org/schema/context/spring-context-3.1.xsd">
8+
http://www.springframework.org/schema/context/spring-context.xsd">
99

1010
<!-- <bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor"/>-->
1111
<!-- Instructs Spring to scan for internal service components to instantiate and configure -->

src/main/java/META-INF/spring/osgi-config.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
xmlns:osgi="http://www.springframework.org/schema/osgi"
55
xmlns:aop="http://www.springframework.org/schema/aop"
66
xsi:schemaLocation="http://www.springframework.org/schema/beans
7-
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
7+
http://www.springframework.org/schema/beans/spring-beans.xsd
88
http://www.springframework.org/schema/osgi
9-
http://www.springframework.org/schema/osgi/spring-osgi-1.2.xsd
9+
http://www.springframework.org/schema/osgi/spring-osgi.xsd
1010
http://www.springframework.org/schema/aop
11-
http://www.springframework.org/schema/aop/spring-aop-3.1.xsd">
11+
http://www.springframework.org/schema/aop/spring-aop.xsd">
1212

1313

1414
<osgi:service id="Neo4jDataSourceExporter" ref="neo4jDataSource"

src/test/java/org/geppetto/datasources/DataSourcesGeppettoManagerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public static void setUp() throws Exception
7575
context.registerBeanDefinition("scopedTarget.testDataSourceService", dataSourceBeanDefinition);
7676
context.registerBeanDefinition("testQueryProcessorService", queryProcessorBeanDefinition);
7777
context.registerBeanDefinition("scopedTarget.testQueryProcessorService", queryProcessorBeanDefinition);
78+
context.refresh();
7879
ContextRefreshedEvent event = new ContextRefreshedEvent(context);
7980
ApplicationListenerBean listener = new ApplicationListenerBean();
8081
listener.onApplicationEvent(event);

0 commit comments

Comments
 (0)