Skip to content

Commit 5c0db1d

Browse files
author
frankie
committed
v3
1 parent fb835c8 commit 5c0db1d

File tree

16 files changed

+41
-41
lines changed

16 files changed

+41
-41
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@
146146
<Resource-Path>resources</Resource-Path>
147147
<Context-File>META-INF/motech/applicationContext.xml</Context-File>
148148
<Export-Package>
149-
acme.sample.service;version=${project.version},
150-
acme.sample.repository;version=${project.version},
151-
acme.sample.domain;version=${project.version},
149+
org.motechproject.sample.service;version=${project.version},
150+
org.motechproject.sample.repository;version=${project.version},
151+
org.motechproject.sample.domain;version=${project.version},
152152
</Export-Package>
153153
<Import-Package>*</Import-Package>
154154
</instructions>

src/main/java/acme/sample/domain/Author.java renamed to src/main/java/org/motechproject/sample/domain/Author.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package acme.sample.domain;
1+
package org.motechproject.sample.domain;
22

33
import org.motechproject.mds.annotations.Entity;
44
import org.motechproject.mds.annotations.Field;

src/main/java/acme/sample/domain/Book.java renamed to src/main/java/org/motechproject/sample/domain/Book.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package acme.sample.domain;
1+
package org.motechproject.sample.domain;
22

33
import org.motechproject.mds.annotations.Entity;
44
import org.motechproject.mds.annotations.Field;

src/main/java/acme/sample/repository/AuthorDataService.java renamed to src/main/java/org/motechproject/sample/repository/AuthorDataService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package acme.sample.repository;
1+
package org.motechproject.sample.repository;
22

3-
import acme.sample.domain.Author;
3+
import org.motechproject.sample.domain.Author;
44
import org.motechproject.mds.annotations.Lookup;
55
import org.motechproject.mds.annotations.LookupField;
66
import org.motechproject.mds.service.MotechDataService;

src/main/java/acme/sample/repository/BookDataService.java renamed to src/main/java/org/motechproject/sample/repository/BookDataService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package acme.sample.repository;
1+
package org.motechproject.sample.repository;
22

3-
import acme.sample.domain.Book;
3+
import org.motechproject.sample.domain.Book;
44
import org.motechproject.mds.annotations.Lookup;
55
import org.motechproject.mds.annotations.LookupField;
66
import org.motechproject.mds.service.MotechDataService;

src/main/java/acme/sample/service/AuthorService.java renamed to src/main/java/org/motechproject/sample/service/AuthorService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package acme.sample.service;
1+
package org.motechproject.sample.service;
22

33
import java.util.List;
44

5-
import acme.sample.domain.Author;
5+
import org.motechproject.sample.domain.Author;
66

77
/**
88
* Service interface for CRUD on simple repository authors.

src/main/java/acme/sample/service/HelloWorldService.java renamed to src/main/java/org/motechproject/sample/service/HelloWorldService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package acme.sample.service;
1+
package org.motechproject.sample.service;
22

33
/**
44
* Simple example of a service interface.

src/main/java/acme/sample/service/impl/AuthorServiceImpl.java renamed to src/main/java/org/motechproject/sample/service/impl/AuthorServiceImpl.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
package acme.sample.service.impl;
1+
package org.motechproject.sample.service.impl;
22

3-
import acme.sample.domain.Author;
4-
import acme.sample.repository.AuthorDataService;
5-
import acme.sample.service.AuthorService;
3+
import org.motechproject.sample.domain.Author;
4+
import org.motechproject.sample.repository.AuthorDataService;
5+
import org.motechproject.sample.service.AuthorService;
66

77
import org.springframework.beans.factory.annotation.Autowired;
88
import org.springframework.stereotype.Service;
99

1010
import java.util.List;
1111

1212
/**
13-
* Implementation of the {@link acme.sample.service.AuthorService} interface. Uses
14-
* {@link acme.sample.repository.AuthorDataService} in order to retrieve and persist authors.
13+
* Implementation of the {@link org.motechproject.sample.service.AuthorService} interface. Uses
14+
* {@link org.motechproject.sample.repository.AuthorDataService} in order to retrieve and persist authors.
1515
*/
1616
@Service("authorService")
1717
public class AuthorServiceImpl implements AuthorService {

src/main/java/acme/sample/service/impl/HelloWorldServiceImpl.java renamed to src/main/java/org/motechproject/sample/service/impl/HelloWorldServiceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package acme.sample.service.impl;
1+
package org.motechproject.sample.service.impl;
22

3-
import acme.sample.service.HelloWorldService;
3+
import org.motechproject.sample.service.HelloWorldService;
44
import org.springframework.stereotype.Service;
55

66
/**

src/main/resources/META-INF/motech/applicationContext.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
66

77
<context:annotation-config />
8-
<context:component-scan base-package="acme.sample" />
8+
<context:component-scan base-package="org.motechproject.sample" />
99

1010
</beans>

0 commit comments

Comments
 (0)