Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To manage all the optional dependencies and related code, Simple Java Mail should be split up into modules #183

Closed
bbottema opened this issue Nov 24, 2018 · 5 comments

Comments

@bbottema
Copy link
Owner

bbottema commented Nov 24, 2018

Currently the single main project Simple Java Mail contains all the code and optional dependencies. To better manage the code and dependencies and more clearly communicate these options to our users, Simple Java Mail should be split up into modules.

This could also solve all the cyclic dependencies between the modules and the main project.

@bbottema bbottema self-assigned this Nov 24, 2018
@bbottema bbottema added this to the 6.0.0 milestone Nov 24, 2018
bbottema added a commit that referenced this issue Dec 1, 2018
…ng the project up in actual modules proved infeasible. Next best thing is to work with dependency modules, which just import the right dependencies for users, without actually splitting up dependant code
bbottema added a commit that referenced this issue Jan 12, 2019
@bbottema
Copy link
Owner Author

bbottema commented Jan 12, 2019

Ugh, code coverage with Code Climate, Codacy or Coveralls seems impossible with GIT submodules. Now it seems I broke the Codacy project board as well :/

edit 02-02-2019: files a ticket with Codacy to have the boards fixen...

bbottema added a commit that referenced this issue Jan 31, 2019
…ncy issues (#183),

- restructured all packages (#183),
- added support for CalendarMethod in CLI (#156),
- fixed JavaDoc for Maven multi-module project (#183)
- fixed all JavaDoc problems (#156)
bbottema added a commit that referenced this issue Feb 3, 2019
bbottema added a commit that referenced this issue Feb 3, 2019
bbottema added a commit that referenced this issue Feb 3, 2019
@bbottema
Copy link
Owner Author

bbottema commented Feb 3, 2019

The project has been split up in multiple modules now, using Maven submodules.

Everything was split up in GIT module repo's as well and although it worked okay-ish, in hindsight there aren't any good reasons to keep this approach. Some things don't work as well and really it doesn't make the project easier to understand to other people.

The following Maven projects now exist in repo:

Next tasks:

  1. Fix build & deploy scripts
  2. Update documentation to reflect module structure
  3. * Have the aggregated Javadoc artifact be available on javadoc.io
  4. Move how-to-release, RELEASE etc. from the simple-java-mail module to the parent project
  5. * Update README.MD to point to the main javadoc site
  6. Update README.MD to point to the Travis build
  7. Re-add coverage report in Codacy
  8. Fix CLI stand-alone artifact

*) Javadoc site only starts existing after the library has been published to Maven Central.

bbottema added a commit that referenced this issue Feb 4, 2019
bbottema added a commit that referenced this issue Feb 5, 2019
…i module loading from Simple Java Mail main module, since CLI is a layer on top of Simple Java Mail
bbottema added a commit that referenced this issue Feb 5, 2019
bbottema added a commit that referenced this issue Feb 5, 2019
bbottema added a commit that referenced this issue Feb 8, 2019
…o and can actually be used by other projects
bbottema added a commit that referenced this issue Feb 9, 2019
… can configure a dedicated CI/CD build pipeline
bbottema added a commit that referenced this issue Feb 9, 2019
… can configure a dedicated CI/CD build pipeline
bbottema added a commit that referenced this issue Feb 12, 2019
… way to automate version management in CI/CD pipline using the buildhelper built in maven plugin
bbottema added a commit that referenced this issue Mar 31, 2019
@bbottema
Copy link
Owner Author

bbottema commented Apr 1, 2019

Regarding multi modules, everything is ready for deploy to Maven Central. After deploying 6.0.0 we can fix links to the right Javadoc site.

@bbottema bbottema closed this as completed Apr 1, 2019
@bbottema
Copy link
Owner Author

Released in 6.0.0-rc1!

@bbottema
Copy link
Owner Author

6.0.0 has released as well, finally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant