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

Fork de mica_omero "upgrade_to_Java_plugin" #4

Open
wants to merge 137 commits into
base: upgrade_to_Java_plugin
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
0cef28d
Moved groovy script to java src folder
ppouchin Sep 15, 2021
ebd5af2
Renamed groovy script to Getinfos.java
ppouchin Sep 15, 2021
a7e4f99
Renamed groovy script to Connexion.java
ppouchin Sep 15, 2021
804e7ec
Made Connexion class from groovy script
ppouchin Sep 15, 2021
183235c
Made Getinfos class from groovy script
ppouchin Sep 15, 2021
054bf54
Split groovy script into 2 Java files
ppouchin Sep 15, 2021
5554669
Removed non-code files
ppouchin Sep 15, 2021
a7971c3
Java project initial commit
ppouchin Jun 16, 2021
c65b6b0
Project initialization.
ppouchin Jun 16, 2021
ad88711
Updated branch name in Github Action.
ppouchin Jun 16, 2021
8308cab
Switched to maven-assembly-plugin version 2.6 for faster builds.
ppouchin Jun 17, 2021
4333636
Première partie du passage de Groovy à Java
ZoghlamiRayan Jun 22, 2021
1fcb523
Correction des erreurs empêchant la compilation. Ajout de commentaire…
ppouchin Jun 22, 2021
9ceb0c8
Récupération de modifications depuis la branche test
ppouchin Jun 23, 2021
8e87cd5
Classe Connexion renommée.
ppouchin Jun 23, 2021
6dfd08e
Renamed BatchWindow.java to BatchRunner.java
ppouchin Sep 15, 2021
7c272a1
Renamed BatchWindow.jave to ProcessingDialog.java
ppouchin Sep 15, 2021
e17cba0
Made ProcessingDialog class
ppouchin Sep 15, 2021
79e6aa2
Made BatchRunner class
ppouchin Sep 15, 2021
28774f7
Removed code from BatchWindow.java
ppouchin Sep 15, 2021
2dde5f6
Split BatchWindow in BatchRunner and ProcessingDialog
ppouchin Sep 15, 2021
304f1f3
Removed code from BatchWindow and split it
ppouchin Sep 15, 2021
b96b1d7
[skip] Ajout de nouvelles classes pour scinder le code.
ppouchin Jun 23, 2021
7350e10
Gestion de BatchData et Création de BatchResults
ZoghlamiRayan Jun 28, 2021
45613df
Merged 'dev' into main
ppouchin Jun 28, 2021
d5a61ef
Résolution de certaines erreurs et ajout de BatchResults (j'espère)
ZoghlamiRayan Jun 28, 2021
63c51a0
Small fixes.
ppouchin Jun 28, 2021
8fac1ad
Passage par les listes de wrapper et les index, remplacement des Bool…
ZoghlamiRayan Jun 30, 2021
ae8de08
Fixed missing variables/methods.
ppouchin Jun 28, 2021
1422829
Fixed Javadoc and default selected group
ppouchin Jun 28, 2021
df3c472
Fixed BatchWindow and removed BatchData
ppouchin Jun 30, 2021
082f2aa
Fixed starting macros
ppouchin Jun 30, 2021
80cc2a6
Added disconnect on window closing.
ppouchin Jul 1, 2021
d55876d
Simplified code.
ppouchin Jul 1, 2021
8897108
Small fixes.
ppouchin Jul 1, 2021
8510dd3
Fixed ROIs not loading from OMERO
ppouchin Jul 1, 2021
9ef2d72
Added listener to BatchRunner
ppouchin Jul 1, 2021
b68a31a
Fixed .gitignore
ppouchin Jul 1, 2021
dbf4b77
Fix lists when there is only one group
ppouchin Jul 2, 2021
6fd44e6
Résolution du bouton start qui se grise quand on fait une erreur, d'u…
ZoghlamiRayan Jul 2, 2021
1f1b396
Fixed update output datasets
ppouchin Jul 7, 2021
0776417
Updated cache management
ppouchin Jul 7, 2021
60f30cc
Updated GReD repository
ppouchin Jul 7, 2021
00e6558
Added button to create new dataset
ppouchin Jul 7, 2021
882f0fb
Removed dataset creation from BatchRunner
ppouchin Jul 7, 2021
93a5813
Simplified runner code
ppouchin Jul 7, 2021
9fdb019
Removed BatchResults.java
ppouchin Jul 7, 2021
e8c8cb0
Fixed ability to re-run plugin and renamed variables
ppouchin Jul 7, 2021
5058788
Fixed error message when not saving images and made ROIs reload once …
ppouchin Jul 7, 2021
8598c3d
Added tables, fixed cancel new dataset
ppouchin Jul 8, 2021
e2928a1
Removed check from loadROIs method
ppouchin Jul 8, 2021
a0c5336
Bug fixes (ROIs, results)
ppouchin Jul 8, 2021
871a3e0
Résolution de certains bugs identifiés lors de l'exécution.
ZoghlamiRayan Jul 8, 2021
30ed182
Bugfixes
ppouchin Jul 11, 2021
fc9598d
Ajout d'un message d'erreur quand le user cherche à clear les ROIs sa…
ZoghlamiRayan Jul 13, 2021
8890d89
Fixed imported images ID (bumped library version) and renamed variables
ppouchin Jul 13, 2021
b0acdae
Refactored start() method in BatchWindow
ppouchin Jul 13, 2021
5f022c0
Le plugin n'apparaît plus dans la rubrique Omero de Fiji.
ZoghlamiRayan Jul 19, 2021
023e04f
Marked bio-formats_plugins as provided dependency
ppouchin Jul 19, 2021
a93ca1b
Ne produit plus d'erreur si le module n'attends pas de nouvelle image…
ZoghlamiRayan Aug 10, 2021
cd3e8c3
Removed useless txt file
ppouchin Jul 21, 2021
0e87204
Set version to 1.0.0
ppouchin Jul 21, 2021
0adb931
Précision de l'option "The macro returns an image" en "The macro retu…
ZoghlamiRayan Aug 10, 2021
06b141b
Ajout de l'enregistrement de toutes les images ouvertes (les fichiers…
ZoghlamiRayan Aug 13, 2021
d876707
intégration du nom de l'image dans le nom du log en output.
ZoghlamiRayan Aug 13, 2021
19b629d
Refactored code used to save images and results
ppouchin Aug 16, 2021
1848cf0
Fixed lists not updating after creating dataset
ppouchin Aug 24, 2021
7d7132b
Fixed ability to save to non-default groups (bumped library version)
ppouchin Aug 25, 2021
eeed491
Updated pom.xml
ppouchin Oct 12, 2021
ad4a37d
Updated maven.yml
ppouchin Oct 12, 2021
477e578
Now overwrites default ImporterOptions values when opening local files
ppouchin Oct 12, 2021
b76789d
Now saves results to selected project
ppouchin Oct 12, 2021
ab6d088
Fixed input selection bug in GUI
ppouchin Oct 22, 2021
3791cd5
Added 5 thumbnails preview for input dataset
ppouchin Oct 26, 2021
bb536fe
Improved interface and restructured code (#2)
ppouchin Nov 6, 2021
d149bd4
Added ScriptRunner class to handle script inputs and other script lan…
ppouchin Nov 8, 2021
6d42c9a
Renamed project and switched to simple-omero-client 5.8.3 (#5)
ppouchin Nov 23, 2021
97755e5
Bugfix: clear ResultsTable after saving
ppouchin Nov 29, 2021
4ff4aec
Fixed bugs and improved code (#6)
ppouchin Dec 14, 2021
22cacac
Changed code to remove extension from title (#7)
ppouchin Dec 15, 2021
9c4109f
Changed code to handle .OME.TIFF extension removal (#8)
ppouchin Dec 15, 2021
ad4d79c
Small fixes (#9)
ppouchin Dec 16, 2021
6a65078
Added text to README.md
ppouchin Feb 9, 2022
61626e9
Fixed GUI (mostly)
ppouchin Mar 2, 2022
f1c80da
Further improved GUI behavior
ppouchin Mar 2, 2022
9194df2
Added repack() to "chooseMacro()"
ppouchin Mar 2, 2022
40ab4e1
Added LICENSE (#10)
ppouchin Mar 18, 2022
117cd50
Bumped version
ppouchin Mar 18, 2022
445ce9e
Fixed bug where ROI Manager remained invisible after running the plugin
ppouchin Mar 24, 2022
b8fca13
Add DOI badge
ppouchin Apr 8, 2022
64f58a7
Bump dependency version
ppouchin Apr 30, 2022
a823ec6
Update README.md
ppouchin Feb 9, 2023
0bad4da
Quickfix for saving ROIs (#18)
ppouchin Feb 9, 2023
1ecb041
Bump version and dependency, fix "annotatable" (#20)
ppouchin Mar 1, 2023
c3817a8
Bump dependency version and update README (#21)
ppouchin Mar 1, 2023
e31afb7
Bump version and dependency versions
ppouchin Nov 4, 2023
cf27a6a
Rename OMEROBatchRunner.java to LocalBatchImage.java
ppouchin Nov 4, 2023
71de424
Rename OMEROBatchRunner class to LocalBatchImage
ppouchin Nov 4, 2023
f07f011
Only keep relevant code in LocalBatchImage
ppouchin Nov 4, 2023
0ffeb26
Add BatchImage interface
ppouchin Nov 4, 2023
215c98c
Put appropriate methods in LocalBatchImage
ppouchin Nov 4, 2023
7b5ecda
Rename OMEROBatchRunner.java to OMEROBatchImage.java
ppouchin Nov 4, 2023
be33c7c
Remove methods from OMEROBatchRunner
ppouchin Nov 4, 2023
634d4a0
Rename OMEROBatchRunner class to OMEROBatchImage
ppouchin Nov 4, 2023
e05aae7
Only keep relevant code in OMEROBatchImage
ppouchin Nov 4, 2023
ee85e32
Rename openImage method
ppouchin Nov 4, 2023
7aa3477
Add appropriate methods to OMEROBatchImage
ppouchin Nov 4, 2023
448c1b3
Add LocalBatchImage
ppouchin Nov 4, 2023
383f64b
Add OMEROBatchImage
ppouchin Nov 4, 2023
bafd3b0
Adapt OMEROBatchPlugin
ppouchin Nov 4, 2023
b66c62e
Rename OMEROBatchRunner.java to BatchParameters.java
ppouchin Nov 4, 2023
4c1d09a
Rename OMEROBatchRunner to BatchParameters
ppouchin Nov 4, 2023
3a75129
Only keep relevant methods in BatchParameters
ppouchin Nov 4, 2023
e525902
Only keep relevant code in OMEROBatchRunner and OMEROBatchPlugin
ppouchin Nov 4, 2023
2fca3f1
Merge branch 'parameters' into v2
ppouchin Nov 4, 2023
28062c1
Adjust style
ppouchin Nov 4, 2023
6df63b3
Improve ROI deletion, loading and information displayed
ppouchin Nov 4, 2023
f088d97
Improve Javadoc
ppouchin Nov 4, 2023
6456dc3
Fix local processing
ppouchin Nov 4, 2023
4bea126
Refactor table saving
ppouchin Nov 4, 2023
8770e86
Always save concatenated table locally
ppouchin Nov 4, 2023
10e2ee9
Improve code
ppouchin Nov 5, 2023
74dbda6
Fix ROI loading
ppouchin Nov 5, 2023
9df7e80
Make it possible to load ROIs locally (using Bio-Formats)
ppouchin Nov 5, 2023
951ff7b
Add choice to load ROIs to ROI Manager or Overlay
ppouchin Nov 5, 2023
b7ae3aa
Fix ROI manager usage in loops
ppouchin Nov 5, 2023
1aadf3f
Load local ROI files stored alongside the image file
ppouchin Nov 6, 2023
6415639
Fix dataset label not hiding and rename variables
ppouchin Nov 6, 2023
d4fae80
Remove JPanel fields from Plugin (use getParent() instead)
ppouchin Nov 6, 2023
97b67fb
Allow to "clear ROIs" (=overwrite) when saving locally
ppouchin Nov 6, 2023
14365f3
Bump pom-scijava version and update info
ppouchin Nov 6, 2023
86fd399
v2.0.0
ppouchin Nov 6, 2023
cb8f2cf
Do 2.0.0 release
ppouchin Nov 6, 2023
d0b1473
Bump version
ppouchin Nov 6, 2023
83115f3
Reload project after adding dataset
ppouchin Nov 7, 2023
bd3b60c
Bugfix: reload project after adding dataset
ppouchin Nov 7, 2023
c46c51d
Do 2.0.1 release
ppouchin Nov 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
334 changes: 334 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,334 @@
[*]
charset = utf-8
indent_size = 4
indent_style = tab
insert_final_newline = false
max_line_length = 120
tab_width = 4
ij_continuation_indent_size = 8
ij_formatter_off_tag = @formatter:off
ij_formatter_on_tag = @formatter:on
ij_formatter_tags_enabled = false
ij_smart_tabs = false
ij_visual_guides = none
ij_wrap_on_typing = false

[*.java]
ij_visual_guides = 80
ij_java_align_consecutive_assignments = false
ij_java_align_consecutive_variable_declarations = false
ij_java_align_group_field_declarations = false
ij_java_align_multiline_annotation_parameters = false
ij_java_align_multiline_array_initializer_expression = true
ij_java_align_multiline_assignment = false
ij_java_align_multiline_binary_operation = true
ij_java_align_multiline_chained_methods = true
ij_java_align_multiline_extends_list = true
ij_java_align_multiline_for = true
ij_java_align_multiline_method_parentheses = true
ij_java_align_multiline_parameters = true
ij_java_align_multiline_parameters_in_calls = true
ij_java_align_multiline_parenthesized_expression = false
ij_java_align_multiline_records = true
ij_java_align_multiline_resources = true
ij_java_align_multiline_ternary_operation = true
ij_java_align_multiline_text_blocks = false
ij_java_align_multiline_throws_list = true
ij_java_align_subsequent_simple_methods = false
ij_java_align_throws_keyword = true
ij_java_annotation_parameter_wrap = off
ij_java_array_initializer_new_line_after_left_brace = false
ij_java_array_initializer_right_brace_on_new_line = false
ij_java_array_initializer_wrap = on_every_item
ij_java_assert_statement_colon_on_next_line = false
ij_java_assert_statement_wrap = normal
ij_java_assignment_wrap = off
ij_java_binary_operation_sign_on_next_line = false
ij_java_binary_operation_wrap = normal
ij_java_blank_lines_after_anonymous_class_header = 0
ij_java_blank_lines_after_class_header = 1
ij_java_blank_lines_after_imports = 2
ij_java_blank_lines_after_package = 2
ij_java_blank_lines_around_class = 2
ij_java_blank_lines_around_field = 0
ij_java_blank_lines_around_field_in_interface = 0
ij_java_blank_lines_around_initializer = 1
ij_java_blank_lines_around_method = 2
ij_java_blank_lines_around_method_in_interface = 2
ij_java_blank_lines_before_class_end = 1
ij_java_blank_lines_before_imports = 1
ij_java_blank_lines_before_method_body = 0
ij_java_blank_lines_before_package = 0
ij_java_block_brace_style = end_of_line
ij_java_block_comment_at_first_column = true
ij_java_call_parameters_new_line_after_left_paren = false
ij_java_call_parameters_right_paren_on_new_line = false
ij_java_call_parameters_wrap = normal
ij_java_case_statement_on_separate_line = true
ij_java_catch_on_new_line = false
ij_java_class_annotation_wrap = split_into_lines
ij_java_class_brace_style = end_of_line
ij_java_class_count_to_use_import_on_demand = 20
ij_java_class_names_in_javadoc = 1
ij_java_do_not_indent_top_level_class_members = false
ij_java_do_not_wrap_after_single_annotation = false
ij_java_do_while_brace_force = always
ij_java_doc_add_blank_line_after_description = true
ij_java_doc_add_blank_line_after_param_comments = true
ij_java_doc_add_blank_line_after_return = true
ij_java_doc_add_p_tag_on_empty_lines = true
ij_java_doc_align_exception_comments = true
ij_java_doc_align_param_comments = true
ij_java_doc_do_not_wrap_if_one_line = true
ij_java_doc_enable_formatting = true
ij_java_doc_enable_leading_asterisks = true
ij_java_doc_indent_on_continuation = false
ij_java_doc_keep_empty_lines = true
ij_java_doc_keep_empty_parameter_tag = true
ij_java_doc_keep_empty_return_tag = true
ij_java_doc_keep_empty_throws_tag = true
ij_java_doc_keep_invalid_tags = true
ij_java_doc_param_description_on_new_line = false
ij_java_doc_preserve_line_breaks = false
ij_java_doc_use_throws_not_exception_tag = true
ij_java_else_on_new_line = false
ij_java_enum_constants_wrap = on_every_item
ij_java_extends_keyword_wrap = off
ij_java_extends_list_wrap = on_every_item
ij_java_field_annotation_wrap = split_into_lines
ij_java_finally_on_new_line = false
ij_java_for_brace_force = always
ij_java_for_statement_new_line_after_left_paren = false
ij_java_for_statement_right_paren_on_new_line = false
ij_java_for_statement_wrap = on_every_item
ij_java_generate_final_locals = false
ij_java_generate_final_parameters = false
ij_java_if_brace_force = always
ij_java_imports_layout = *, |, javax.**, java.**, |, $*
ij_java_indent_case_from_switch = true
ij_java_insert_inner_class_imports = false
ij_java_insert_override_annotation = true
ij_java_keep_blank_lines_before_right_brace = 2
ij_java_keep_blank_lines_between_package_declaration_and_header = 2
ij_java_keep_blank_lines_in_code = 2
ij_java_keep_blank_lines_in_declarations = 2
ij_java_keep_builder_methods_indents = true
ij_java_keep_control_statement_in_one_line = true
ij_java_keep_first_column_comment = true
ij_java_keep_indents_on_empty_lines = false
ij_java_keep_line_breaks = true
ij_java_keep_multiple_expressions_in_one_line = false
ij_java_keep_simple_blocks_in_one_line = false
ij_java_keep_simple_classes_in_one_line = true
ij_java_keep_simple_lambdas_in_one_line = true
ij_java_keep_simple_methods_in_one_line = true # <- For empty methods
ij_java_label_indent_absolute = false
ij_java_label_indent_size = 0
ij_java_lambda_brace_style = end_of_line
ij_java_layout_static_imports_separately = true
ij_java_line_comment_add_space = false
ij_java_line_comment_at_first_column = true
ij_java_method_annotation_wrap = split_into_lines
ij_java_method_brace_style = end_of_line
ij_java_method_call_chain_wrap = on_every_item
ij_java_method_parameters_new_line_after_left_paren = false
ij_java_method_parameters_right_paren_on_new_line = false
ij_java_method_parameters_wrap = normal
ij_java_modifier_list_wrap = false
ij_java_names_count_to_use_import_on_demand = 11
ij_java_new_line_after_lparen_in_record_header = false
ij_java_parameter_annotation_wrap = off
ij_java_parentheses_expression_new_line_after_left_paren = false
ij_java_parentheses_expression_right_paren_on_new_line = false
ij_java_place_assignment_sign_on_next_line = false
ij_java_prefer_longer_names = true
ij_java_prefer_parameters_wrap = false
ij_java_record_components_wrap = on_every_item
ij_java_repeat_synchronized = true
ij_java_replace_instanceof_and_cast = false
ij_java_replace_null_check = true
ij_java_replace_sum_lambda_with_method_ref = true
ij_java_resource_list_new_line_after_left_paren = false
ij_java_resource_list_right_paren_on_new_line = false
ij_java_resource_list_wrap = on_every_item
ij_java_rparen_on_new_line_in_record_header = false
ij_java_space_after_closing_angle_bracket_in_type_argument = false
ij_java_space_after_colon = true
ij_java_space_after_comma = true
ij_java_space_after_comma_in_type_arguments = true
ij_java_space_after_for_semicolon = true
ij_java_space_after_quest = true
ij_java_space_after_type_cast = true
ij_java_space_before_annotation_array_initializer_left_brace = false
ij_java_space_before_annotation_parameter_list = false
ij_java_space_before_array_initializer_left_brace = false
ij_java_space_before_catch_keyword = true
ij_java_space_before_catch_left_brace = true
ij_java_space_before_catch_parentheses = true
ij_java_space_before_class_left_brace = true
ij_java_space_before_colon = true
ij_java_space_before_colon_in_foreach = true
ij_java_space_before_comma = false
ij_java_space_before_do_left_brace = true
ij_java_space_before_else_keyword = true
ij_java_space_before_else_left_brace = true
ij_java_space_before_finally_keyword = true
ij_java_space_before_finally_left_brace = true
ij_java_space_before_for_left_brace = true
ij_java_space_before_for_parentheses = true
ij_java_space_before_for_semicolon = false
ij_java_space_before_if_left_brace = true
ij_java_space_before_if_parentheses = true
ij_java_space_before_method_call_parentheses = false
ij_java_space_before_method_left_brace = true
ij_java_space_before_method_parentheses = false
ij_java_space_before_opening_angle_bracket_in_type_parameter = false
ij_java_space_before_quest = true
ij_java_space_before_switch_left_brace = true
ij_java_space_before_switch_parentheses = true
ij_java_space_before_synchronized_left_brace = true
ij_java_space_before_synchronized_parentheses = true
ij_java_space_before_try_left_brace = true
ij_java_space_before_try_parentheses = true
ij_java_space_before_type_parameter_list = false
ij_java_space_before_while_keyword = true
ij_java_space_before_while_left_brace = true
ij_java_space_before_while_parentheses = true
ij_java_space_inside_one_line_enum_braces = false
ij_java_space_within_empty_array_initializer_braces = false
ij_java_space_within_empty_method_call_parentheses = false
ij_java_space_within_empty_method_parentheses = false
ij_java_spaces_around_additive_operators = true
ij_java_spaces_around_assignment_operators = true
ij_java_spaces_around_bitwise_operators = true
ij_java_spaces_around_equality_operators = true
ij_java_spaces_around_lambda_arrow = true
ij_java_spaces_around_logical_operators = true
ij_java_spaces_around_method_ref_dbl_colon = false
ij_java_spaces_around_multiplicative_operators = true
ij_java_spaces_around_relational_operators = true
ij_java_spaces_around_shift_operators = true
ij_java_spaces_around_type_bounds_in_type_parameters = true
ij_java_spaces_around_unary_operator = false
ij_java_spaces_within_angle_brackets = false
ij_java_spaces_within_annotation_parentheses = false
ij_java_spaces_within_array_initializer_braces = false
ij_java_spaces_within_braces = false
ij_java_spaces_within_brackets = false
ij_java_spaces_within_cast_parentheses = false
ij_java_spaces_within_catch_parentheses = false
ij_java_spaces_within_for_parentheses = false
ij_java_spaces_within_if_parentheses = false
ij_java_spaces_within_method_call_parentheses = false
ij_java_spaces_within_method_parentheses = false
ij_java_spaces_within_parentheses = false
ij_java_spaces_within_record_header = false
ij_java_spaces_within_switch_parentheses = false
ij_java_spaces_within_synchronized_parentheses = false
ij_java_spaces_within_try_parentheses = false
ij_java_spaces_within_while_parentheses = false
ij_java_special_else_if_treatment = true
ij_java_subclass_name_suffix = Impl
ij_java_ternary_operation_signs_on_next_line = false
ij_java_ternary_operation_wrap = normal
ij_java_test_name_suffix = Test
ij_java_throws_keyword_wrap = normal
ij_java_throws_list_wrap = on_every_item
ij_java_use_external_annotations = false
ij_java_use_fq_class_names = false
ij_java_use_relative_indents = false
ij_java_use_single_class_imports = true
ij_java_variable_annotation_wrap = off
ij_java_visibility = public
ij_java_while_brace_force = always
ij_java_while_on_new_line = false
ij_java_wrap_comments = true
ij_java_wrap_first_method_in_call_chain = false
ij_java_wrap_long_lines = false

[*.properties]
ij_properties_align_group_field_declarations = false
ij_properties_keep_blank_lines = false
ij_properties_key_value_delimiter = equals
ij_properties_spaces_around_key_value_delimiter = false

[.editorconfig]
ij_editorconfig_align_group_field_declarations = false
ij_editorconfig_space_after_colon = false
ij_editorconfig_space_after_comma = true
ij_editorconfig_space_before_colon = false
ij_editorconfig_space_before_comma = false
ij_editorconfig_spaces_around_assignment_operators = true

[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.jspx,*.pom,*.rng,*.tagx,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
indent_style = space
ij_xml_align_attributes = true
ij_xml_align_text = false
ij_xml_attribute_wrap = normal
ij_xml_block_comment_at_first_column = true
ij_xml_keep_blank_lines = 2
ij_xml_keep_indents_on_empty_lines = false
ij_xml_keep_line_breaks = true
ij_xml_keep_line_breaks_in_text = true
ij_xml_keep_whitespaces = false
ij_xml_keep_whitespaces_around_cdata = preserve
ij_xml_keep_whitespaces_inside_cdata = false
ij_xml_line_comment_at_first_column = true
ij_xml_space_after_tag_name = false
ij_xml_space_around_equals_in_attribute = false
ij_xml_space_inside_empty_tag = false
ij_xml_text_wrap = normal
ij_xml_use_custom_settings = false

[{*.htm,*.html,*.sht,*.shtm,*.shtml}]
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
ij_html_align_attributes = true
ij_html_align_text = false
ij_html_attribute_wrap = normal
ij_html_block_comment_at_first_column = true
ij_html_do_not_align_children_of_min_lines = 0
ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot
ij_html_enforce_quotes = false
ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
ij_html_keep_blank_lines = 2
ij_html_keep_indents_on_empty_lines = false
ij_html_keep_line_breaks = true
ij_html_keep_line_breaks_in_text = true
ij_html_keep_whitespaces = false
ij_html_keep_whitespaces_inside = span,pre,textarea
ij_html_line_comment_at_first_column = true
ij_html_new_line_after_last_attribute = never
ij_html_new_line_before_first_attribute = never
ij_html_quote_style = double
ij_html_remove_new_line_before_tags = br
ij_html_space_after_tag_name = false
ij_html_space_around_equality_in_attribute = false
ij_html_space_inside_empty_tag = false
ij_html_text_wrap = normal

[{*.markdown,*.md}]
ij_markdown_force_one_space_after_blockquote_symbol = true
ij_markdown_force_one_space_after_header_symbol = true
ij_markdown_force_one_space_after_list_bullet = true
ij_markdown_force_one_space_between_words = true
ij_markdown_keep_indents_on_empty_lines = false
ij_markdown_max_lines_around_block_elements = 1
ij_markdown_max_lines_around_header = 1
ij_markdown_max_lines_between_paragraphs = 1
ij_markdown_min_lines_around_block_elements = 1
ij_markdown_min_lines_around_header = 1
ij_markdown_min_lines_between_paragraphs = 1

[{*.yaml,*.yml}]
indent_size = 2
ij_yaml_align_values_properties = do_not_align
ij_yaml_autoinsert_sequence_marker = true
ij_yaml_block_mapping_on_new_line = false
ij_yaml_indent_sequence_value = true
ij_yaml_keep_indents_on_empty_lines = false
ij_yaml_keep_line_breaks = true
ij_yaml_sequence_on_new_line = false
ij_yaml_space_before_colon = false
ij_yaml_spaces_within_braces = true
ij_yaml_spaces_within_brackets = true
50 changes: 50 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on: [ push, pull_request ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }}
- name: Make sure to append 'SNAPSHOT' to version if 'push' happened on 'main'
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
mvn versions:set -DremoveSnapshot
mvn help:evaluate -N -Dexpression=project.version|grep -v '\['
VERSION=$(mvn help:evaluate -N -Dexpression=project.version|grep -v '\[')
mvn versions:set -DnewVersion=$VERSION-SNAPSHOT
- name: Append branch name to version if 'push' did not happen on 'main' or a tag
if: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')}}
run: |
mvn versions:set -DremoveSnapshot
mvn help:evaluate -N -Dexpression=project.version|grep -v '\['
VERSION=$(mvn help:evaluate -N -Dexpression=project.version|grep -v '\[')
mvn versions:set -DnewVersion=$VERSION-${GITHUB_REF##*/}
- name: Package with Maven
run: mvn -B package --file pom.xml
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: jars
retention-days: 2
path: |
target/*.jar
!target/*-with-dependencies.jar
Loading