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

New project structure #677

Merged
merged 21 commits into from Feb 8, 2019
Merged

New project structure #677

merged 21 commits into from Feb 8, 2019

Conversation

bullet-tooth
Copy link
Contributor

@bullet-tooth bullet-tooth commented Jan 31, 2019

Overview


This is a base branch that represents the next structure:

exonum-java-parent
|
 - exonum-java-binding-parent
    |
     - exonum-java-binding-common
   .....

It will be used as a base branch to merge into small separated changes.

Definition of Done

  • There is no TODOs left in the code
  • Change is covered by automated tests
  • The coding guidelines are followed
  • Public API has Javadoc
  • Method preconditions are checked and documented in the Javadoc of the method
  • Changelog is updated if needed (in case of notable or breaking changes)
  • The continuous integration build passes

@bullet-tooth bullet-tooth added the work-in-progress 👷‍♂️ Do not expect reviewers to provide any feedback on WIP PRs — please ask for it explicitly! label Jan 31, 2019
@bullet-tooth bullet-tooth changed the title Created new project structure New project structure Feb 4, 2019
@@ -32,7 +32,7 @@
* associated with a given {@link com.exonum.binding.storage.database.Fork} is modified; not only
* the source list.
*
* <p>This spliterator does not support specializations (e.g., {@link Spliterator.OfInt}).
* <p>This spliterator does not support specializations (e.g., {@link OfInt}).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not clear in the text what OfInt is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idea optimized it while merging with master :)

@@ -0,0 +1,647 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Git kind of breaks in such cases of moving and replacing original file, showing this one as brand new :)

pom.xml Outdated
<description>
The Exonum Java Binding library.
The Exonum Java library.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parent project of the Exonum Java libraries?

@coveralls
Copy link

coveralls commented Feb 5, 2019

Coverage Status

Coverage remained the same at 85.666% when pulling 9e4d089 on project-new-structure into 7391aa5 on master.

<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need these two properties in both poms?

Copy link
Contributor

@dmitry-timofeev dmitry-timofeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do you plan to update the Contribution Guide? Here, or in #680 ?

@bullet-tooth
Copy link
Contributor Author

@dmitry-timofeev in #680

* Add maven plugins support to the corresponding project structure
@bullet-tooth bullet-tooth removed the work-in-progress 👷‍♂️ Do not expect reviewers to provide any feedback on WIP PRs — please ask for it explicitly! label Feb 6, 2019
.travis.yml Outdated
@@ -9,6 +9,8 @@ branches:
- ejb-app-configuration
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it still needed?

@@ -102,15 +102,15 @@ fn get_fakes_classpath_option() -> String {

pub fn get_fakes_classpath() -> String {
let classpath_txt_path =
project_root_dir().join("exonum-java-binding-fakes/target/ejb-fakes-classpath.txt");
project_root_dir().join("fakes/target/ejb-fakes-classpath.txt");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skletsun @vitvakatu please check

Copy link
Contributor

@dmitry-timofeev dmitry-timofeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

The rustfmt currently fails, would you fix that please?

Copy link
Contributor

@dmitry-timofeev dmitry-timofeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build is green ✔️

@dmitry-timofeev dmitry-timofeev merged commit affa85c into master Feb 8, 2019
@dmitry-timofeev dmitry-timofeev deleted the project-new-structure branch March 11, 2019 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants