diff --git a/.gitignore b/.gitignore
index ce5c20c..a8afa40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -125,8 +125,8 @@ data/
letsencrypt/
# generated resources
-app/src/main/resources/css-manifest.json
-app/src/main/resources/static/styles*
+simplenotes-app/src/main/resources/css-manifest.json
+simplenotes-app/src/main/resources/static/styles*
# h2 db
*.db
diff --git a/pom.xml b/pom.xml
index f2e9b0d..5aecab7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,15 +4,15 @@
4.0.0
be.simplenotes
- parent
+ simplenotes-parent
1.0-SNAPSHOT
- persistance
- app
- domain
- shared
- search
+ simplenotes-persistance
+ simplenotes-app
+ simplenotes-domain
+ simplenotes-shared
+ simplenotes-search
pom
diff --git a/app/pom.xml b/simplenotes-app/pom.xml
similarity index 95%
rename from app/pom.xml
rename to simplenotes-app/pom.xml
index b39affb..cc5d923 100644
--- a/app/pom.xml
+++ b/simplenotes-app/pom.xml
@@ -2,13 +2,13 @@
- parent
+ simplenotes-parent
be.simplenotes
1.0-SNAPSHOT
4.0.0
- app
+ simplenotes-app
3.268.0
@@ -17,22 +17,22 @@
be.simplenotes
- persistance
+ simplenotes-persistance
1.0-SNAPSHOT
be.simplenotes
- search
+ simplenotes-search
1.0-SNAPSHOT
be.simplenotes
- domain
+ simplenotes-domain
1.0-SNAPSHOT
be.simplenotes
- shared
+ simplenotes-shared
1.0-SNAPSHOT
@@ -81,7 +81,7 @@
be.simplenotes
- shared
+ simplenotes-shared
1.0-SNAPSHOT
test-jar
test
diff --git a/app/src/main/kotlin/Config.kt b/simplenotes-app/src/main/kotlin/Config.kt
similarity index 100%
rename from app/src/main/kotlin/Config.kt
rename to simplenotes-app/src/main/kotlin/Config.kt
diff --git a/app/src/main/kotlin/Server.kt b/simplenotes-app/src/main/kotlin/Server.kt
similarity index 100%
rename from app/src/main/kotlin/Server.kt
rename to simplenotes-app/src/main/kotlin/Server.kt
diff --git a/app/src/main/kotlin/SimpleNotes.kt b/simplenotes-app/src/main/kotlin/SimpleNotes.kt
similarity index 100%
rename from app/src/main/kotlin/SimpleNotes.kt
rename to simplenotes-app/src/main/kotlin/SimpleNotes.kt
diff --git a/app/src/main/kotlin/api/ApiNoteController.kt b/simplenotes-app/src/main/kotlin/api/ApiNoteController.kt
similarity index 100%
rename from app/src/main/kotlin/api/ApiNoteController.kt
rename to simplenotes-app/src/main/kotlin/api/ApiNoteController.kt
diff --git a/app/src/main/kotlin/api/ApiUserController.kt b/simplenotes-app/src/main/kotlin/api/ApiUserController.kt
similarity index 100%
rename from app/src/main/kotlin/api/ApiUserController.kt
rename to simplenotes-app/src/main/kotlin/api/ApiUserController.kt
diff --git a/app/src/main/kotlin/controllers/BaseController.kt b/simplenotes-app/src/main/kotlin/controllers/BaseController.kt
similarity index 100%
rename from app/src/main/kotlin/controllers/BaseController.kt
rename to simplenotes-app/src/main/kotlin/controllers/BaseController.kt
diff --git a/app/src/main/kotlin/controllers/HealthCheckController.kt b/simplenotes-app/src/main/kotlin/controllers/HealthCheckController.kt
similarity index 100%
rename from app/src/main/kotlin/controllers/HealthCheckController.kt
rename to simplenotes-app/src/main/kotlin/controllers/HealthCheckController.kt
diff --git a/app/src/main/kotlin/controllers/NoteController.kt b/simplenotes-app/src/main/kotlin/controllers/NoteController.kt
similarity index 100%
rename from app/src/main/kotlin/controllers/NoteController.kt
rename to simplenotes-app/src/main/kotlin/controllers/NoteController.kt
diff --git a/app/src/main/kotlin/controllers/SettingsController.kt b/simplenotes-app/src/main/kotlin/controllers/SettingsController.kt
similarity index 100%
rename from app/src/main/kotlin/controllers/SettingsController.kt
rename to simplenotes-app/src/main/kotlin/controllers/SettingsController.kt
diff --git a/app/src/main/kotlin/controllers/UserController.kt b/simplenotes-app/src/main/kotlin/controllers/UserController.kt
similarity index 100%
rename from app/src/main/kotlin/controllers/UserController.kt
rename to simplenotes-app/src/main/kotlin/controllers/UserController.kt
diff --git a/app/src/main/kotlin/extensions/Http4kExtensions.kt b/simplenotes-app/src/main/kotlin/extensions/Http4kExtensions.kt
similarity index 100%
rename from app/src/main/kotlin/extensions/Http4kExtensions.kt
rename to simplenotes-app/src/main/kotlin/extensions/Http4kExtensions.kt
diff --git a/app/src/main/kotlin/extensions/KoinExtensions.kt b/simplenotes-app/src/main/kotlin/extensions/KoinExtensions.kt
similarity index 100%
rename from app/src/main/kotlin/extensions/KoinExtensions.kt
rename to simplenotes-app/src/main/kotlin/extensions/KoinExtensions.kt
diff --git a/app/src/main/kotlin/extensions/KotlinxHtmlExtensions.kt b/simplenotes-app/src/main/kotlin/extensions/KotlinxHtmlExtensions.kt
similarity index 100%
rename from app/src/main/kotlin/extensions/KotlinxHtmlExtensions.kt
rename to simplenotes-app/src/main/kotlin/extensions/KotlinxHtmlExtensions.kt
diff --git a/app/src/main/kotlin/filters/AuthFilter.kt b/simplenotes-app/src/main/kotlin/filters/AuthFilter.kt
similarity index 100%
rename from app/src/main/kotlin/filters/AuthFilter.kt
rename to simplenotes-app/src/main/kotlin/filters/AuthFilter.kt
diff --git a/app/src/main/kotlin/filters/ErrorFilter.kt b/simplenotes-app/src/main/kotlin/filters/ErrorFilter.kt
similarity index 100%
rename from app/src/main/kotlin/filters/ErrorFilter.kt
rename to simplenotes-app/src/main/kotlin/filters/ErrorFilter.kt
diff --git a/app/src/main/kotlin/filters/ImmutableFilter.kt b/simplenotes-app/src/main/kotlin/filters/ImmutableFilter.kt
similarity index 100%
rename from app/src/main/kotlin/filters/ImmutableFilter.kt
rename to simplenotes-app/src/main/kotlin/filters/ImmutableFilter.kt
diff --git a/app/src/main/kotlin/filters/SecurityFilter.kt b/simplenotes-app/src/main/kotlin/filters/SecurityFilter.kt
similarity index 100%
rename from app/src/main/kotlin/filters/SecurityFilter.kt
rename to simplenotes-app/src/main/kotlin/filters/SecurityFilter.kt
diff --git a/app/src/main/kotlin/filters/TransactionFilter.kt b/simplenotes-app/src/main/kotlin/filters/TransactionFilter.kt
similarity index 100%
rename from app/src/main/kotlin/filters/TransactionFilter.kt
rename to simplenotes-app/src/main/kotlin/filters/TransactionFilter.kt
diff --git a/app/src/main/kotlin/modules/ApiModule.kt b/simplenotes-app/src/main/kotlin/modules/ApiModule.kt
similarity index 100%
rename from app/src/main/kotlin/modules/ApiModule.kt
rename to simplenotes-app/src/main/kotlin/modules/ApiModule.kt
diff --git a/app/src/main/kotlin/modules/ConfigModule.kt b/simplenotes-app/src/main/kotlin/modules/ConfigModule.kt
similarity index 100%
rename from app/src/main/kotlin/modules/ConfigModule.kt
rename to simplenotes-app/src/main/kotlin/modules/ConfigModule.kt
diff --git a/app/src/main/kotlin/modules/CoreModules.kt b/simplenotes-app/src/main/kotlin/modules/CoreModules.kt
similarity index 100%
rename from app/src/main/kotlin/modules/CoreModules.kt
rename to simplenotes-app/src/main/kotlin/modules/CoreModules.kt
diff --git a/app/src/main/kotlin/modules/JsonModule.kt b/simplenotes-app/src/main/kotlin/modules/JsonModule.kt
similarity index 100%
rename from app/src/main/kotlin/modules/JsonModule.kt
rename to simplenotes-app/src/main/kotlin/modules/JsonModule.kt
diff --git a/app/src/main/kotlin/modules/ServerModule.kt b/simplenotes-app/src/main/kotlin/modules/ServerModule.kt
similarity index 100%
rename from app/src/main/kotlin/modules/ServerModule.kt
rename to simplenotes-app/src/main/kotlin/modules/ServerModule.kt
diff --git a/app/src/main/kotlin/routes/Router.kt b/simplenotes-app/src/main/kotlin/routes/Router.kt
similarity index 100%
rename from app/src/main/kotlin/routes/Router.kt
rename to simplenotes-app/src/main/kotlin/routes/Router.kt
diff --git a/app/src/main/kotlin/serialization/LocaleDateTimeSerializer.kt b/simplenotes-app/src/main/kotlin/serialization/LocaleDateTimeSerializer.kt
similarity index 100%
rename from app/src/main/kotlin/serialization/LocaleDateTimeSerializer.kt
rename to simplenotes-app/src/main/kotlin/serialization/LocaleDateTimeSerializer.kt
diff --git a/app/src/main/kotlin/serialization/UuidSerializer.kt b/simplenotes-app/src/main/kotlin/serialization/UuidSerializer.kt
similarity index 100%
rename from app/src/main/kotlin/serialization/UuidSerializer.kt
rename to simplenotes-app/src/main/kotlin/serialization/UuidSerializer.kt
diff --git a/app/src/main/kotlin/utils/PrettyDate.kt b/simplenotes-app/src/main/kotlin/utils/PrettyDate.kt
similarity index 100%
rename from app/src/main/kotlin/utils/PrettyDate.kt
rename to simplenotes-app/src/main/kotlin/utils/PrettyDate.kt
diff --git a/app/src/main/kotlin/utils/SearchTermsParser.kt b/simplenotes-app/src/main/kotlin/utils/SearchTermsParser.kt
similarity index 100%
rename from app/src/main/kotlin/utils/SearchTermsParser.kt
rename to simplenotes-app/src/main/kotlin/utils/SearchTermsParser.kt
diff --git a/app/src/main/kotlin/utils/StaticFilesResolver.kt b/simplenotes-app/src/main/kotlin/utils/StaticFilesResolver.kt
similarity index 100%
rename from app/src/main/kotlin/utils/StaticFilesResolver.kt
rename to simplenotes-app/src/main/kotlin/utils/StaticFilesResolver.kt
diff --git a/app/src/main/kotlin/views/BaseView.kt b/simplenotes-app/src/main/kotlin/views/BaseView.kt
similarity index 100%
rename from app/src/main/kotlin/views/BaseView.kt
rename to simplenotes-app/src/main/kotlin/views/BaseView.kt
diff --git a/app/src/main/kotlin/views/ErrorView.kt b/simplenotes-app/src/main/kotlin/views/ErrorView.kt
similarity index 100%
rename from app/src/main/kotlin/views/ErrorView.kt
rename to simplenotes-app/src/main/kotlin/views/ErrorView.kt
diff --git a/app/src/main/kotlin/views/NoteView.kt b/simplenotes-app/src/main/kotlin/views/NoteView.kt
similarity index 100%
rename from app/src/main/kotlin/views/NoteView.kt
rename to simplenotes-app/src/main/kotlin/views/NoteView.kt
diff --git a/app/src/main/kotlin/views/SettingView.kt b/simplenotes-app/src/main/kotlin/views/SettingView.kt
similarity index 100%
rename from app/src/main/kotlin/views/SettingView.kt
rename to simplenotes-app/src/main/kotlin/views/SettingView.kt
diff --git a/app/src/main/kotlin/views/UserView.kt b/simplenotes-app/src/main/kotlin/views/UserView.kt
similarity index 100%
rename from app/src/main/kotlin/views/UserView.kt
rename to simplenotes-app/src/main/kotlin/views/UserView.kt
diff --git a/app/src/main/kotlin/views/View.kt b/simplenotes-app/src/main/kotlin/views/View.kt
similarity index 100%
rename from app/src/main/kotlin/views/View.kt
rename to simplenotes-app/src/main/kotlin/views/View.kt
diff --git a/app/src/main/kotlin/views/components/Alerts.kt b/simplenotes-app/src/main/kotlin/views/components/Alerts.kt
similarity index 100%
rename from app/src/main/kotlin/views/components/Alerts.kt
rename to simplenotes-app/src/main/kotlin/views/components/Alerts.kt
diff --git a/app/src/main/kotlin/views/components/DeletedNoteTable.kt b/simplenotes-app/src/main/kotlin/views/components/DeletedNoteTable.kt
similarity index 100%
rename from app/src/main/kotlin/views/components/DeletedNoteTable.kt
rename to simplenotes-app/src/main/kotlin/views/components/DeletedNoteTable.kt
diff --git a/app/src/main/kotlin/views/components/Forms.kt b/simplenotes-app/src/main/kotlin/views/components/Forms.kt
similarity index 100%
rename from app/src/main/kotlin/views/components/Forms.kt
rename to simplenotes-app/src/main/kotlin/views/components/Forms.kt
diff --git a/app/src/main/kotlin/views/components/Navbar.kt b/simplenotes-app/src/main/kotlin/views/components/Navbar.kt
similarity index 100%
rename from app/src/main/kotlin/views/components/Navbar.kt
rename to simplenotes-app/src/main/kotlin/views/components/Navbar.kt
diff --git a/app/src/main/kotlin/views/components/NoteListHeader.kt b/simplenotes-app/src/main/kotlin/views/components/NoteListHeader.kt
similarity index 100%
rename from app/src/main/kotlin/views/components/NoteListHeader.kt
rename to simplenotes-app/src/main/kotlin/views/components/NoteListHeader.kt
diff --git a/app/src/main/kotlin/views/components/NoteTable.kt b/simplenotes-app/src/main/kotlin/views/components/NoteTable.kt
similarity index 100%
rename from app/src/main/kotlin/views/components/NoteTable.kt
rename to simplenotes-app/src/main/kotlin/views/components/NoteTable.kt
diff --git a/app/src/main/resources/application.properties b/simplenotes-app/src/main/resources/application.properties
similarity index 100%
rename from app/src/main/resources/application.properties
rename to simplenotes-app/src/main/resources/application.properties
diff --git a/app/src/main/resources/static/android-chrome-192x192.png b/simplenotes-app/src/main/resources/static/android-chrome-192x192.png
similarity index 100%
rename from app/src/main/resources/static/android-chrome-192x192.png
rename to simplenotes-app/src/main/resources/static/android-chrome-192x192.png
diff --git a/app/src/main/resources/static/android-chrome-512x512.png b/simplenotes-app/src/main/resources/static/android-chrome-512x512.png
similarity index 100%
rename from app/src/main/resources/static/android-chrome-512x512.png
rename to simplenotes-app/src/main/resources/static/android-chrome-512x512.png
diff --git a/app/src/main/resources/static/apple-touch-icon.png b/simplenotes-app/src/main/resources/static/apple-touch-icon.png
similarity index 100%
rename from app/src/main/resources/static/apple-touch-icon.png
rename to simplenotes-app/src/main/resources/static/apple-touch-icon.png
diff --git a/app/src/main/resources/static/browserconfig.xml b/simplenotes-app/src/main/resources/static/browserconfig.xml
similarity index 100%
rename from app/src/main/resources/static/browserconfig.xml
rename to simplenotes-app/src/main/resources/static/browserconfig.xml
diff --git a/app/src/main/resources/static/favicon-16x16.png b/simplenotes-app/src/main/resources/static/favicon-16x16.png
similarity index 100%
rename from app/src/main/resources/static/favicon-16x16.png
rename to simplenotes-app/src/main/resources/static/favicon-16x16.png
diff --git a/app/src/main/resources/static/favicon-32x32.png b/simplenotes-app/src/main/resources/static/favicon-32x32.png
similarity index 100%
rename from app/src/main/resources/static/favicon-32x32.png
rename to simplenotes-app/src/main/resources/static/favicon-32x32.png
diff --git a/app/src/main/resources/static/favicon.ico b/simplenotes-app/src/main/resources/static/favicon.ico
similarity index 100%
rename from app/src/main/resources/static/favicon.ico
rename to simplenotes-app/src/main/resources/static/favicon.ico
diff --git a/app/src/main/resources/static/highlight.10.1.2.js b/simplenotes-app/src/main/resources/static/highlight.10.1.2.js
similarity index 100%
rename from app/src/main/resources/static/highlight.10.1.2.js
rename to simplenotes-app/src/main/resources/static/highlight.10.1.2.js
diff --git a/app/src/main/resources/static/init-highlight.0.0.1.js b/simplenotes-app/src/main/resources/static/init-highlight.0.0.1.js
similarity index 100%
rename from app/src/main/resources/static/init-highlight.0.0.1.js
rename to simplenotes-app/src/main/resources/static/init-highlight.0.0.1.js
diff --git a/app/src/main/resources/static/mstile-144x144.png b/simplenotes-app/src/main/resources/static/mstile-144x144.png
similarity index 100%
rename from app/src/main/resources/static/mstile-144x144.png
rename to simplenotes-app/src/main/resources/static/mstile-144x144.png
diff --git a/app/src/main/resources/static/mstile-150x150.png b/simplenotes-app/src/main/resources/static/mstile-150x150.png
similarity index 100%
rename from app/src/main/resources/static/mstile-150x150.png
rename to simplenotes-app/src/main/resources/static/mstile-150x150.png
diff --git a/app/src/main/resources/static/mstile-310x150.png b/simplenotes-app/src/main/resources/static/mstile-310x150.png
similarity index 100%
rename from app/src/main/resources/static/mstile-310x150.png
rename to simplenotes-app/src/main/resources/static/mstile-310x150.png
diff --git a/app/src/main/resources/static/mstile-310x310.png b/simplenotes-app/src/main/resources/static/mstile-310x310.png
similarity index 100%
rename from app/src/main/resources/static/mstile-310x310.png
rename to simplenotes-app/src/main/resources/static/mstile-310x310.png
diff --git a/app/src/main/resources/static/mstile-70x70.png b/simplenotes-app/src/main/resources/static/mstile-70x70.png
similarity index 100%
rename from app/src/main/resources/static/mstile-70x70.png
rename to simplenotes-app/src/main/resources/static/mstile-70x70.png
diff --git a/app/src/main/resources/static/recursive-0.0.1.woff2 b/simplenotes-app/src/main/resources/static/recursive-0.0.1.woff2
similarity index 100%
rename from app/src/main/resources/static/recursive-0.0.1.woff2
rename to simplenotes-app/src/main/resources/static/recursive-0.0.1.woff2
diff --git a/app/src/main/resources/static/robots.txt b/simplenotes-app/src/main/resources/static/robots.txt
similarity index 100%
rename from app/src/main/resources/static/robots.txt
rename to simplenotes-app/src/main/resources/static/robots.txt
diff --git a/app/src/main/resources/static/safari-pinned-tab.svg b/simplenotes-app/src/main/resources/static/safari-pinned-tab.svg
similarity index 100%
rename from app/src/main/resources/static/safari-pinned-tab.svg
rename to simplenotes-app/src/main/resources/static/safari-pinned-tab.svg
diff --git a/app/src/main/resources/static/site.webmanifest b/simplenotes-app/src/main/resources/static/site.webmanifest
similarity index 100%
rename from app/src/main/resources/static/site.webmanifest
rename to simplenotes-app/src/main/resources/static/site.webmanifest
diff --git a/app/src/test/kotlin/Empty.kt b/simplenotes-app/src/test/kotlin/Empty.kt
similarity index 100%
rename from app/src/test/kotlin/Empty.kt
rename to simplenotes-app/src/test/kotlin/Empty.kt
diff --git a/app/src/test/kotlin/filters/AuthFilterTest.kt b/simplenotes-app/src/test/kotlin/filters/AuthFilterTest.kt
similarity index 100%
rename from app/src/test/kotlin/filters/AuthFilterTest.kt
rename to simplenotes-app/src/test/kotlin/filters/AuthFilterTest.kt
diff --git a/app/src/test/kotlin/utils/SearchTermsParserKtTest.kt b/simplenotes-app/src/test/kotlin/utils/SearchTermsParserKtTest.kt
similarity index 100%
rename from app/src/test/kotlin/utils/SearchTermsParserKtTest.kt
rename to simplenotes-app/src/test/kotlin/utils/SearchTermsParserKtTest.kt
diff --git a/domain/pom.xml b/simplenotes-domain/pom.xml
similarity index 93%
rename from domain/pom.xml
rename to simplenotes-domain/pom.xml
index e004456..fcf7999 100644
--- a/domain/pom.xml
+++ b/simplenotes-domain/pom.xml
@@ -2,23 +2,23 @@
- parent
+ simplenotes-parent
be.simplenotes
1.0-SNAPSHOT
4.0.0
- domain
+ simplenotes-domain
be.simplenotes
- shared
+ simplenotes-shared
1.0-SNAPSHOT
be.simplenotes
- shared
+ simplenotes-shared
1.0-SNAPSHOT
test-jar
test
diff --git a/domain/src/main/kotlin/DomainModule.kt b/simplenotes-domain/src/main/kotlin/DomainModule.kt
similarity index 100%
rename from domain/src/main/kotlin/DomainModule.kt
rename to simplenotes-domain/src/main/kotlin/DomainModule.kt
diff --git a/domain/src/main/kotlin/model/Note.kt b/simplenotes-domain/src/main/kotlin/model/Note.kt
similarity index 100%
rename from domain/src/main/kotlin/model/Note.kt
rename to simplenotes-domain/src/main/kotlin/model/Note.kt
diff --git a/domain/src/main/kotlin/model/User.kt b/simplenotes-domain/src/main/kotlin/model/User.kt
similarity index 100%
rename from domain/src/main/kotlin/model/User.kt
rename to simplenotes-domain/src/main/kotlin/model/User.kt
diff --git a/domain/src/main/kotlin/security/HtmlSanitizer.kt b/simplenotes-domain/src/main/kotlin/security/HtmlSanitizer.kt
similarity index 100%
rename from domain/src/main/kotlin/security/HtmlSanitizer.kt
rename to simplenotes-domain/src/main/kotlin/security/HtmlSanitizer.kt
diff --git a/domain/src/main/kotlin/security/JwtPayload.kt b/simplenotes-domain/src/main/kotlin/security/JwtPayload.kt
similarity index 100%
rename from domain/src/main/kotlin/security/JwtPayload.kt
rename to simplenotes-domain/src/main/kotlin/security/JwtPayload.kt
diff --git a/domain/src/main/kotlin/security/PasswordHash.kt b/simplenotes-domain/src/main/kotlin/security/PasswordHash.kt
similarity index 100%
rename from domain/src/main/kotlin/security/PasswordHash.kt
rename to simplenotes-domain/src/main/kotlin/security/PasswordHash.kt
diff --git a/domain/src/main/kotlin/security/SimpleJwt.kt b/simplenotes-domain/src/main/kotlin/security/SimpleJwt.kt
similarity index 100%
rename from domain/src/main/kotlin/security/SimpleJwt.kt
rename to simplenotes-domain/src/main/kotlin/security/SimpleJwt.kt
diff --git a/domain/src/main/kotlin/usecases/NoteService.kt b/simplenotes-domain/src/main/kotlin/usecases/NoteService.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/NoteService.kt
rename to simplenotes-domain/src/main/kotlin/usecases/NoteService.kt
diff --git a/domain/src/main/kotlin/usecases/UserService.kt b/simplenotes-domain/src/main/kotlin/usecases/UserService.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/UserService.kt
rename to simplenotes-domain/src/main/kotlin/usecases/UserService.kt
diff --git a/domain/src/main/kotlin/usecases/export/ExportUseCase.kt b/simplenotes-domain/src/main/kotlin/usecases/export/ExportUseCase.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/export/ExportUseCase.kt
rename to simplenotes-domain/src/main/kotlin/usecases/export/ExportUseCase.kt
diff --git a/domain/src/main/kotlin/usecases/export/ExportUseCaseImpl.kt b/simplenotes-domain/src/main/kotlin/usecases/export/ExportUseCaseImpl.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/export/ExportUseCaseImpl.kt
rename to simplenotes-domain/src/main/kotlin/usecases/export/ExportUseCaseImpl.kt
diff --git a/domain/src/main/kotlin/usecases/markdown/MarkdownConverter.kt b/simplenotes-domain/src/main/kotlin/usecases/markdown/MarkdownConverter.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/markdown/MarkdownConverter.kt
rename to simplenotes-domain/src/main/kotlin/usecases/markdown/MarkdownConverter.kt
diff --git a/domain/src/main/kotlin/usecases/repositories/NoteRepository.kt b/simplenotes-domain/src/main/kotlin/usecases/repositories/NoteRepository.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/repositories/NoteRepository.kt
rename to simplenotes-domain/src/main/kotlin/usecases/repositories/NoteRepository.kt
diff --git a/domain/src/main/kotlin/usecases/repositories/UserRepository.kt b/simplenotes-domain/src/main/kotlin/usecases/repositories/UserRepository.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/repositories/UserRepository.kt
rename to simplenotes-domain/src/main/kotlin/usecases/repositories/UserRepository.kt
diff --git a/domain/src/main/kotlin/usecases/search/SearchUseCase.kt b/simplenotes-domain/src/main/kotlin/usecases/search/SearchUseCase.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/search/SearchUseCase.kt
rename to simplenotes-domain/src/main/kotlin/usecases/search/SearchUseCase.kt
diff --git a/domain/src/main/kotlin/usecases/users/delete/DeleteUseCaseImpl.kt b/simplenotes-domain/src/main/kotlin/usecases/users/delete/DeleteUseCaseImpl.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/users/delete/DeleteUseCaseImpl.kt
rename to simplenotes-domain/src/main/kotlin/usecases/users/delete/DeleteUseCaseImpl.kt
diff --git a/domain/src/main/kotlin/usecases/users/delete/DeleteUsecase.kt b/simplenotes-domain/src/main/kotlin/usecases/users/delete/DeleteUsecase.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/users/delete/DeleteUsecase.kt
rename to simplenotes-domain/src/main/kotlin/usecases/users/delete/DeleteUsecase.kt
diff --git a/domain/src/main/kotlin/usecases/users/login/LoginUseCaseImpl.kt b/simplenotes-domain/src/main/kotlin/usecases/users/login/LoginUseCaseImpl.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/users/login/LoginUseCaseImpl.kt
rename to simplenotes-domain/src/main/kotlin/usecases/users/login/LoginUseCaseImpl.kt
diff --git a/domain/src/main/kotlin/usecases/users/login/LoginUsecase.kt b/simplenotes-domain/src/main/kotlin/usecases/users/login/LoginUsecase.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/users/login/LoginUsecase.kt
rename to simplenotes-domain/src/main/kotlin/usecases/users/login/LoginUsecase.kt
diff --git a/domain/src/main/kotlin/usecases/users/register/RegisterUseCaseImpl.kt b/simplenotes-domain/src/main/kotlin/usecases/users/register/RegisterUseCaseImpl.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/users/register/RegisterUseCaseImpl.kt
rename to simplenotes-domain/src/main/kotlin/usecases/users/register/RegisterUseCaseImpl.kt
diff --git a/domain/src/main/kotlin/usecases/users/register/RegisterUsecase.kt b/simplenotes-domain/src/main/kotlin/usecases/users/register/RegisterUsecase.kt
similarity index 100%
rename from domain/src/main/kotlin/usecases/users/register/RegisterUsecase.kt
rename to simplenotes-domain/src/main/kotlin/usecases/users/register/RegisterUsecase.kt
diff --git a/domain/src/main/kotlin/validation/NoteValidations.kt b/simplenotes-domain/src/main/kotlin/validation/NoteValidations.kt
similarity index 100%
rename from domain/src/main/kotlin/validation/NoteValidations.kt
rename to simplenotes-domain/src/main/kotlin/validation/NoteValidations.kt
diff --git a/domain/src/main/kotlin/validation/UserValidations.kt b/simplenotes-domain/src/main/kotlin/validation/UserValidations.kt
similarity index 100%
rename from domain/src/main/kotlin/validation/UserValidations.kt
rename to simplenotes-domain/src/main/kotlin/validation/UserValidations.kt
diff --git a/domain/src/test/kotlin/Empty.kt b/simplenotes-domain/src/test/kotlin/Empty.kt
similarity index 100%
rename from domain/src/test/kotlin/Empty.kt
rename to simplenotes-domain/src/test/kotlin/Empty.kt
diff --git a/domain/src/test/kotlin/security/JwtPayloadExtractorTest.kt b/simplenotes-domain/src/test/kotlin/security/JwtPayloadExtractorTest.kt
similarity index 100%
rename from domain/src/test/kotlin/security/JwtPayloadExtractorTest.kt
rename to simplenotes-domain/src/test/kotlin/security/JwtPayloadExtractorTest.kt
diff --git a/domain/src/test/kotlin/usecases/users/login/LoginUseCaseImplTest.kt b/simplenotes-domain/src/test/kotlin/usecases/users/login/LoginUseCaseImplTest.kt
similarity index 100%
rename from domain/src/test/kotlin/usecases/users/login/LoginUseCaseImplTest.kt
rename to simplenotes-domain/src/test/kotlin/usecases/users/login/LoginUseCaseImplTest.kt
diff --git a/domain/src/test/kotlin/usecases/users/register/RegisterUseCaseImplTest.kt b/simplenotes-domain/src/test/kotlin/usecases/users/register/RegisterUseCaseImplTest.kt
similarity index 100%
rename from domain/src/test/kotlin/usecases/users/register/RegisterUseCaseImplTest.kt
rename to simplenotes-domain/src/test/kotlin/usecases/users/register/RegisterUseCaseImplTest.kt
diff --git a/domain/src/test/kotlin/validation/UserValidationsTest.kt b/simplenotes-domain/src/test/kotlin/validation/UserValidationsTest.kt
similarity index 100%
rename from domain/src/test/kotlin/validation/UserValidationsTest.kt
rename to simplenotes-domain/src/test/kotlin/validation/UserValidationsTest.kt
diff --git a/persistance/pom.xml b/simplenotes-persistance/pom.xml
similarity index 89%
rename from persistance/pom.xml
rename to simplenotes-persistance/pom.xml
index cd47ef7..5aaf503 100644
--- a/persistance/pom.xml
+++ b/simplenotes-persistance/pom.xml
@@ -2,13 +2,13 @@
- parent
+ simplenotes-parent
be.simplenotes
1.0-SNAPSHOT
4.0.0
- persistance
+ simplenotes-persistance
@@ -17,17 +17,17 @@
be.simplenotes
- domain
+ simplenotes-domain
1.0-SNAPSHOT
be.simplenotes
- shared
+ simplenotes-shared
1.0-SNAPSHOT
be.simplenotes
- shared
+ simplenotes-shared
1.0-SNAPSHOT
test-jar
test
diff --git a/persistance/src/main/kotlin/HealthCheck.kt b/simplenotes-persistance/src/main/kotlin/HealthCheck.kt
similarity index 100%
rename from persistance/src/main/kotlin/HealthCheck.kt
rename to simplenotes-persistance/src/main/kotlin/HealthCheck.kt
diff --git a/persistance/src/main/kotlin/Migrations.kt b/simplenotes-persistance/src/main/kotlin/Migrations.kt
similarity index 100%
rename from persistance/src/main/kotlin/Migrations.kt
rename to simplenotes-persistance/src/main/kotlin/Migrations.kt
diff --git a/persistance/src/main/kotlin/PersistanceModule.kt b/simplenotes-persistance/src/main/kotlin/PersistanceModule.kt
similarity index 100%
rename from persistance/src/main/kotlin/PersistanceModule.kt
rename to simplenotes-persistance/src/main/kotlin/PersistanceModule.kt
diff --git a/persistance/src/main/kotlin/converters/NoteConverter.kt b/simplenotes-persistance/src/main/kotlin/converters/NoteConverter.kt
similarity index 100%
rename from persistance/src/main/kotlin/converters/NoteConverter.kt
rename to simplenotes-persistance/src/main/kotlin/converters/NoteConverter.kt
diff --git a/persistance/src/main/kotlin/converters/UserConverter.kt b/simplenotes-persistance/src/main/kotlin/converters/UserConverter.kt
similarity index 100%
rename from persistance/src/main/kotlin/converters/UserConverter.kt
rename to simplenotes-persistance/src/main/kotlin/converters/UserConverter.kt
diff --git a/persistance/src/main/kotlin/extensions/KtormExtensions.kt b/simplenotes-persistance/src/main/kotlin/extensions/KtormExtensions.kt
similarity index 100%
rename from persistance/src/main/kotlin/extensions/KtormExtensions.kt
rename to simplenotes-persistance/src/main/kotlin/extensions/KtormExtensions.kt
diff --git a/persistance/src/main/kotlin/notes/NoteRepositoryImpl.kt b/simplenotes-persistance/src/main/kotlin/notes/NoteRepositoryImpl.kt
similarity index 100%
rename from persistance/src/main/kotlin/notes/NoteRepositoryImpl.kt
rename to simplenotes-persistance/src/main/kotlin/notes/NoteRepositoryImpl.kt
diff --git a/persistance/src/main/kotlin/notes/Notes.kt b/simplenotes-persistance/src/main/kotlin/notes/Notes.kt
similarity index 100%
rename from persistance/src/main/kotlin/notes/Notes.kt
rename to simplenotes-persistance/src/main/kotlin/notes/Notes.kt
diff --git a/persistance/src/main/kotlin/notes/Tags.kt b/simplenotes-persistance/src/main/kotlin/notes/Tags.kt
similarity index 100%
rename from persistance/src/main/kotlin/notes/Tags.kt
rename to simplenotes-persistance/src/main/kotlin/notes/Tags.kt
diff --git a/persistance/src/main/kotlin/users/UserRepositoryImpl.kt b/simplenotes-persistance/src/main/kotlin/users/UserRepositoryImpl.kt
similarity index 100%
rename from persistance/src/main/kotlin/users/UserRepositoryImpl.kt
rename to simplenotes-persistance/src/main/kotlin/users/UserRepositoryImpl.kt
diff --git a/persistance/src/main/kotlin/users/Users.kt b/simplenotes-persistance/src/main/kotlin/users/Users.kt
similarity index 100%
rename from persistance/src/main/kotlin/users/Users.kt
rename to simplenotes-persistance/src/main/kotlin/users/Users.kt
diff --git a/persistance/src/main/kotlin/utils/DataSourceConfigUtils.kt b/simplenotes-persistance/src/main/kotlin/utils/DataSourceConfigUtils.kt
similarity index 100%
rename from persistance/src/main/kotlin/utils/DataSourceConfigUtils.kt
rename to simplenotes-persistance/src/main/kotlin/utils/DataSourceConfigUtils.kt
diff --git a/persistance/src/main/resources/db/migration/mariadb/V1__Create_tables.sql b/simplenotes-persistance/src/main/resources/db/migration/mariadb/V1__Create_tables.sql
similarity index 100%
rename from persistance/src/main/resources/db/migration/mariadb/V1__Create_tables.sql
rename to simplenotes-persistance/src/main/resources/db/migration/mariadb/V1__Create_tables.sql
diff --git a/persistance/src/main/resources/db/migration/mariadb/V2__Add_deleted_column.sql b/simplenotes-persistance/src/main/resources/db/migration/mariadb/V2__Add_deleted_column.sql
similarity index 100%
rename from persistance/src/main/resources/db/migration/mariadb/V2__Add_deleted_column.sql
rename to simplenotes-persistance/src/main/resources/db/migration/mariadb/V2__Add_deleted_column.sql
diff --git a/persistance/src/main/resources/db/migration/mariadb/V3__Add_public_column.sql b/simplenotes-persistance/src/main/resources/db/migration/mariadb/V3__Add_public_column.sql
similarity index 100%
rename from persistance/src/main/resources/db/migration/mariadb/V3__Add_public_column.sql
rename to simplenotes-persistance/src/main/resources/db/migration/mariadb/V3__Add_public_column.sql
diff --git a/persistance/src/main/resources/db/migration/other/V1__Create_tables.sql b/simplenotes-persistance/src/main/resources/db/migration/other/V1__Create_tables.sql
similarity index 100%
rename from persistance/src/main/resources/db/migration/other/V1__Create_tables.sql
rename to simplenotes-persistance/src/main/resources/db/migration/other/V1__Create_tables.sql
diff --git a/persistance/src/main/resources/db/migration/other/V2__Add_deleted_column.sql b/simplenotes-persistance/src/main/resources/db/migration/other/V2__Add_deleted_column.sql
similarity index 100%
rename from persistance/src/main/resources/db/migration/other/V2__Add_deleted_column.sql
rename to simplenotes-persistance/src/main/resources/db/migration/other/V2__Add_deleted_column.sql
diff --git a/persistance/src/main/resources/db/migration/other/V3__Add_public_column.sql b/simplenotes-persistance/src/main/resources/db/migration/other/V3__Add_public_column.sql
similarity index 100%
rename from persistance/src/main/resources/db/migration/other/V3__Add_public_column.sql
rename to simplenotes-persistance/src/main/resources/db/migration/other/V3__Add_public_column.sql
diff --git a/persistance/src/main/resources/logback.xml b/simplenotes-persistance/src/main/resources/logback.xml
similarity index 100%
rename from persistance/src/main/resources/logback.xml
rename to simplenotes-persistance/src/main/resources/logback.xml
diff --git a/persistance/src/test/kotlin/Empty.kt b/simplenotes-persistance/src/test/kotlin/Empty.kt
similarity index 100%
rename from persistance/src/test/kotlin/Empty.kt
rename to simplenotes-persistance/src/test/kotlin/Empty.kt
diff --git a/persistance/src/test/kotlin/converters/NoteConverterTest.kt b/simplenotes-persistance/src/test/kotlin/converters/NoteConverterTest.kt
similarity index 100%
rename from persistance/src/test/kotlin/converters/NoteConverterTest.kt
rename to simplenotes-persistance/src/test/kotlin/converters/NoteConverterTest.kt
diff --git a/persistance/src/test/kotlin/converters/UserConverterTest.kt b/simplenotes-persistance/src/test/kotlin/converters/UserConverterTest.kt
similarity index 100%
rename from persistance/src/test/kotlin/converters/UserConverterTest.kt
rename to simplenotes-persistance/src/test/kotlin/converters/UserConverterTest.kt
diff --git a/persistance/src/test/kotlin/notes/NoteRepositoryImplTest.kt b/simplenotes-persistance/src/test/kotlin/notes/NoteRepositoryImplTest.kt
similarity index 100%
rename from persistance/src/test/kotlin/notes/NoteRepositoryImplTest.kt
rename to simplenotes-persistance/src/test/kotlin/notes/NoteRepositoryImplTest.kt
diff --git a/persistance/src/test/kotlin/users/UserRepositoryImplTest.kt b/simplenotes-persistance/src/test/kotlin/users/UserRepositoryImplTest.kt
similarity index 100%
rename from persistance/src/test/kotlin/users/UserRepositoryImplTest.kt
rename to simplenotes-persistance/src/test/kotlin/users/UserRepositoryImplTest.kt
diff --git a/search/pom.xml b/simplenotes-search/pom.xml
similarity index 90%
rename from search/pom.xml
rename to simplenotes-search/pom.xml
index 5e98a72..76f8e39 100644
--- a/search/pom.xml
+++ b/simplenotes-search/pom.xml
@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- parent
+ simplenotes-parent
be.simplenotes
1.0-SNAPSHOT
4.0.0
- search
+ simplenotes-search
8.6.1
@@ -18,7 +18,7 @@
be.simplenotes
- domain
+ simplenotes-domain
1.0-SNAPSHOT
@@ -55,7 +55,7 @@
be.simplenotes
- shared
+ simplenotes-shared
1.0-SNAPSHOT
test-jar
test
diff --git a/search/src/main/kotlin/Constants.kt b/simplenotes-search/src/main/kotlin/Constants.kt
similarity index 100%
rename from search/src/main/kotlin/Constants.kt
rename to simplenotes-search/src/main/kotlin/Constants.kt
diff --git a/search/src/main/kotlin/Extractors.kt b/simplenotes-search/src/main/kotlin/Extractors.kt
similarity index 100%
rename from search/src/main/kotlin/Extractors.kt
rename to simplenotes-search/src/main/kotlin/Extractors.kt
diff --git a/search/src/main/kotlin/FieldConverters.kt b/simplenotes-search/src/main/kotlin/FieldConverters.kt
similarity index 100%
rename from search/src/main/kotlin/FieldConverters.kt
rename to simplenotes-search/src/main/kotlin/FieldConverters.kt
diff --git a/search/src/main/kotlin/LuceneDsl.kt b/simplenotes-search/src/main/kotlin/LuceneDsl.kt
similarity index 100%
rename from search/src/main/kotlin/LuceneDsl.kt
rename to simplenotes-search/src/main/kotlin/LuceneDsl.kt
diff --git a/search/src/main/kotlin/NoteSearcherImpl.kt b/simplenotes-search/src/main/kotlin/NoteSearcherImpl.kt
similarity index 100%
rename from search/src/main/kotlin/NoteSearcherImpl.kt
rename to simplenotes-search/src/main/kotlin/NoteSearcherImpl.kt
diff --git a/search/src/main/kotlin/SeachModule.kt b/simplenotes-search/src/main/kotlin/SeachModule.kt
similarity index 100%
rename from search/src/main/kotlin/SeachModule.kt
rename to simplenotes-search/src/main/kotlin/SeachModule.kt
diff --git a/search/src/main/kotlin/utils/PathUtils.kt b/simplenotes-search/src/main/kotlin/utils/PathUtils.kt
similarity index 100%
rename from search/src/main/kotlin/utils/PathUtils.kt
rename to simplenotes-search/src/main/kotlin/utils/PathUtils.kt
diff --git a/search/src/test/kotlin/NoteSearcherImplTest.kt b/simplenotes-search/src/test/kotlin/NoteSearcherImplTest.kt
similarity index 100%
rename from search/src/test/kotlin/NoteSearcherImplTest.kt
rename to simplenotes-search/src/test/kotlin/NoteSearcherImplTest.kt
diff --git a/search/src/test/kotlin/TagsFieldConverterTest.kt b/simplenotes-search/src/test/kotlin/TagsFieldConverterTest.kt
similarity index 100%
rename from search/src/test/kotlin/TagsFieldConverterTest.kt
rename to simplenotes-search/src/test/kotlin/TagsFieldConverterTest.kt
diff --git a/shared/pom.xml b/simplenotes-shared/pom.xml
similarity index 92%
rename from shared/pom.xml
rename to simplenotes-shared/pom.xml
index e162a39..19cf28d 100644
--- a/shared/pom.xml
+++ b/simplenotes-shared/pom.xml
@@ -2,13 +2,13 @@
- parent
+ simplenotes-parent
be.simplenotes
1.0-SNAPSHOT
4.0.0
- shared
+ simplenotes-shared
diff --git a/shared/src/main/kotlin/Config.kt b/simplenotes-shared/src/main/kotlin/Config.kt
similarity index 100%
rename from shared/src/main/kotlin/Config.kt
rename to simplenotes-shared/src/main/kotlin/Config.kt
diff --git a/shared/src/test/kotlin/Empty.kt b/simplenotes-shared/src/test/kotlin/Empty.kt
similarity index 100%
rename from shared/src/test/kotlin/Empty.kt
rename to simplenotes-shared/src/test/kotlin/Empty.kt
diff --git a/shared/src/test/kotlin/testutils/assertions/ArrowAssertions.kt b/simplenotes-shared/src/test/kotlin/testutils/assertions/ArrowAssertions.kt
similarity index 100%
rename from shared/src/test/kotlin/testutils/assertions/ArrowAssertions.kt
rename to simplenotes-shared/src/test/kotlin/testutils/assertions/ArrowAssertions.kt
diff --git a/shared/src/test/resources/junit-platform.properties b/simplenotes-shared/src/test/resources/junit-platform.properties
similarity index 100%
rename from shared/src/test/resources/junit-platform.properties
rename to simplenotes-shared/src/test/resources/junit-platform.properties