From 07b7ab67b774636e1573ba85bdccc48dccda54bd Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Sat, 24 Sep 2011 14:27:46 +0000 Subject: [PATCH] [#797] Create Maven plugin for source code generation --- jOOQ-codegen-maven/.classpath | 7 + jOOQ-codegen-maven/.project | 23 ++ .../.settings/org.eclipse.jdt.core.prefs | 345 ++++++++++++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 112 ++++++ .../.settings/org.maven.ide.eclipse.prefs | 8 + jOOQ-codegen-maven/pom.xml | 75 ++++ .../java/org/jooq/util/maven/Database.java | 58 +++ .../java/org/jooq/util/maven/Generate.java | 53 +++ .../java/org/jooq/util/maven/Generator.java | 72 ++++ .../main/java/org/jooq/util/maven/Jdbc.java | 68 ++++ .../org/jooq/util/maven/MasterDataTable.java | 58 +++ .../main/java/org/jooq/util/maven/Plugin.java | 131 +++++++ .../main/java/org/jooq/util/maven/Target.java | 53 +++ .../target/classes/META-INF/maven/plugin.xml | 165 +++++++++ .../org/jooq/util/maven/Database.class | Bin 0 -> 663 bytes .../org/jooq/util/maven/Generate.class | Bin 0 -> 588 bytes .../org/jooq/util/maven/Generator.class | Bin 0 -> 1327 bytes .../classes/org/jooq/util/maven/Jdbc.class | Bin 0 -> 831 bytes .../org/jooq/util/maven/MasterDataTable.class | Bin 0 -> 662 bytes .../classes/org/jooq/util/maven/Plugin.class | Bin 0 -> 3950 bytes .../classes/org/jooq/util/maven/Target.class | Bin 0 -> 588 bytes .../jooq-codegen-maven-1.6.7-SNAPSHOT.jar | Bin 0 -> 8839 bytes .../target/maven-archiver/pom.properties | 5 + 23 files changed, 1233 insertions(+) create mode 100644 jOOQ-codegen-maven/.classpath create mode 100644 jOOQ-codegen-maven/.project create mode 100644 jOOQ-codegen-maven/.settings/org.eclipse.jdt.core.prefs create mode 100644 jOOQ-codegen-maven/.settings/org.eclipse.jdt.ui.prefs create mode 100644 jOOQ-codegen-maven/.settings/org.maven.ide.eclipse.prefs create mode 100644 jOOQ-codegen-maven/pom.xml create mode 100644 jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Database.java create mode 100644 jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generate.java create mode 100644 jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generator.java create mode 100644 jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Jdbc.java create mode 100644 jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/MasterDataTable.java create mode 100644 jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Plugin.java create mode 100644 jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Target.java create mode 100644 jOOQ-codegen-maven/target/classes/META-INF/maven/plugin.xml create mode 100644 jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Database.class create mode 100644 jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Generate.class create mode 100644 jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Generator.class create mode 100644 jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Jdbc.class create mode 100644 jOOQ-codegen-maven/target/classes/org/jooq/util/maven/MasterDataTable.class create mode 100644 jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Plugin.class create mode 100644 jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Target.class create mode 100644 jOOQ-codegen-maven/target/jooq-codegen-maven-1.6.7-SNAPSHOT.jar create mode 100644 jOOQ-codegen-maven/target/maven-archiver/pom.properties diff --git a/jOOQ-codegen-maven/.classpath b/jOOQ-codegen-maven/.classpath new file mode 100644 index 0000000000..51b9cad92a --- /dev/null +++ b/jOOQ-codegen-maven/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jOOQ-codegen-maven/.project b/jOOQ-codegen-maven/.project new file mode 100644 index 0000000000..8e34f04930 --- /dev/null +++ b/jOOQ-codegen-maven/.project @@ -0,0 +1,23 @@ + + + jOOQ-codegen-maven + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.maven.ide.eclipse.maven2Builder + + + + + + org.maven.ide.eclipse.maven2Nature + org.eclipse.jdt.core.javanature + + diff --git a/jOOQ-codegen-maven/.settings/org.eclipse.jdt.core.prefs b/jOOQ-codegen-maven/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..2a4d03258a --- /dev/null +++ b/jOOQ-codegen-maven/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,345 @@ +#Sun Jul 10 18:42:11 CEST 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nullReference=error +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=true +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=49 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=1 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=1 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=120 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/jOOQ-codegen-maven/.settings/org.eclipse.jdt.ui.prefs b/jOOQ-codegen-maven/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000..59136d676b --- /dev/null +++ b/jOOQ-codegen-maven/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,112 @@ +#Sun Jan 02 00:01:41 CET 2011 +cleanup.add_default_serial_version_id=false +cleanup.add_generated_serial_version_id=true +cleanup.add_missing_annotations=true +cleanup.add_missing_deprecated_annotations=true +cleanup.add_missing_methods=false +cleanup.add_missing_nls_tags=false +cleanup.add_missing_override_annotations=true +cleanup.add_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=true +cleanup.always_use_blocks=true +cleanup.always_use_parentheses_in_expressions=false +cleanup.always_use_this_for_non_static_field_access=true +cleanup.always_use_this_for_non_static_method_access=false +cleanup.convert_to_enhanced_for_loop=false +cleanup.correct_indentation=true +cleanup.format_source_code=false +cleanup.format_source_code_changes_only=false +cleanup.make_local_variable_final=true +cleanup.make_parameters_final=false +cleanup.make_private_fields_final=true +cleanup.make_type_abstract_if_missing_method=false +cleanup.make_variable_declarations_final=false +cleanup.never_use_blocks=false +cleanup.never_use_parentheses_in_expressions=true +cleanup.organize_imports=true +cleanup.qualify_static_field_accesses_with_declaring_class=false +cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +cleanup.qualify_static_member_accesses_with_declaring_class=true +cleanup.qualify_static_method_accesses_with_declaring_class=false +cleanup.remove_private_constructors=true +cleanup.remove_trailing_whitespaces=true +cleanup.remove_trailing_whitespaces_all=true +cleanup.remove_trailing_whitespaces_ignore_empty=false +cleanup.remove_unnecessary_casts=true +cleanup.remove_unnecessary_nls_tags=true +cleanup.remove_unused_imports=true +cleanup.remove_unused_local_variables=false +cleanup.remove_unused_private_fields=true +cleanup.remove_unused_private_members=false +cleanup.remove_unused_private_methods=true +cleanup.remove_unused_private_types=true +cleanup.sort_members=false +cleanup.sort_members_all=false +cleanup.use_blocks=true +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_parentheses_in_expressions=false +cleanup.use_this_for_non_static_field_access=false +cleanup.use_this_for_non_static_field_access_only_if_necessary=false +cleanup.use_this_for_non_static_method_access=false +cleanup.use_this_for_non_static_method_access_only_if_necessary=true +cleanup_profile=_jOOQ +cleanup_settings_version=2 +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_jOOQ +formatter_settings_version=11 +org.eclipse.jdt.ui.javadoc=false +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=false +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/jOOQ-codegen-maven/.settings/org.maven.ide.eclipse.prefs b/jOOQ-codegen-maven/.settings/org.maven.ide.eclipse.prefs new file mode 100644 index 0000000000..8bea9918fb --- /dev/null +++ b/jOOQ-codegen-maven/.settings/org.maven.ide.eclipse.prefs @@ -0,0 +1,8 @@ +#Sun Apr 10 10:40:24 CEST 2011 +activeProfiles= +eclipse.preferences.version=1 +fullBuildGoals=process-test-resources +resolveWorkspaceProjects=true +resourceFilterGoals=process-resources resources\:testResources +skipCompilerPlugin=true +version=1 diff --git a/jOOQ-codegen-maven/pom.xml b/jOOQ-codegen-maven/pom.xml new file mode 100644 index 0000000000..69b2a857ab --- /dev/null +++ b/jOOQ-codegen-maven/pom.xml @@ -0,0 +1,75 @@ + + + oss-parent + org.sonatype.oss + 7 + + 4.0.0 + + org.jooq + jooq-codegen-maven + 1.6.7-SNAPSHOT + maven-plugin + + jOOQ Codegen Maven + jOOQ effectively combines complex SQL, typesafety, source code generation, active records, stored procedures, advanced data types, and Java in a fluent, intuitive DSL. + http://www.jooq.org + + + + + Apache License, Version 2.0 + http://jooq.sourceforge.net/license/LICENSE.txt + repo + + + + + scm:svn:https://jooq.svn.sourceforge.net/svnroot/jooq + https://jooq.svn.sourceforge.net/svnroot/jooq + scm:svn:https://jooq.svn.sourceforge.net/svnroot/jooq + + + + Trac + https://sourceforge.net/apps/trac/jooq/report/6 + + + + + Lukas Eder + lukas.eder@gmail.com + + + Sander Plas + sander.plas@gmail.com + + + + + + junit + junit + 3.8.1 + test + + + org.apache.maven + maven-plugin-api + 2.2.1 + + + org.jooq + jooq-codegen + 1.6.7-SNAPSHOT + jar + + + org.apache.maven + maven-project + 2.2.1 + jar + + + diff --git a/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Database.java b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Database.java new file mode 100644 index 0000000000..efb6bc6642 --- /dev/null +++ b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Database.java @@ -0,0 +1,58 @@ +/** + * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com + * All rights reserved. + * + * This software is licensed to you under the Apache License, Version 2.0 + * (the "License"); You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * . Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * . Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * . Neither the name "jOOQ" nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package org.jooq.util.maven; + +/** + * @author Sander Plas + */ +public class Database { + + private String name; + private String includes = ""; + private String excludes = ""; + + String getName() { + return name; + } + + String getIncludes() { + return includes; + } + + String getExcludes() { + return excludes; + } +} diff --git a/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generate.java b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generate.java new file mode 100644 index 0000000000..01d2ede154 --- /dev/null +++ b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generate.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com + * All rights reserved. + * + * This software is licensed to you under the Apache License, Version 2.0 + * (the "License"); You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * . Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * . Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * . Neither the name "jOOQ" nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package org.jooq.util.maven; + +/** + * @author Sander Plas + */ +public class Generate { + + private String relations = "false"; + private String deprecated = "true"; + + String getRelations() { + return relations; + } + + String getDeprecated() { + return deprecated; + } +} diff --git a/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generator.java b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generator.java new file mode 100644 index 0000000000..3cae48d71d --- /dev/null +++ b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Generator.java @@ -0,0 +1,72 @@ +/** + * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com + * All rights reserved. + * + * This software is licensed to you under the Apache License, Version 2.0 + * (the "License"); You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * . Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * . Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * . Neither the name "jOOQ" nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package org.jooq.util.maven; + +import java.util.List; + +import org.jooq.util.DefaultGenerator; + +/** + * @author Sander Plas + */ +public class Generator { + + private String name = DefaultGenerator.class.getName(); + private Database database; + private Generate generate; + private List masterDataTables; + private Target target; + + String getName() { + return name; + } + + Database getDatabase() { + return database; + } + + Generate getGenerate() { + return generate; + } + + List getMasterDataTables() { + return masterDataTables; + } + + Target getTarget() { + return target; + } +} diff --git a/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Jdbc.java b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Jdbc.java new file mode 100644 index 0000000000..8f98d217d0 --- /dev/null +++ b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Jdbc.java @@ -0,0 +1,68 @@ +/** + * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com + * All rights reserved. + * + * This software is licensed to you under the Apache License, Version 2.0 + * (the "License"); You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * . Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * . Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * . Neither the name "jOOQ" nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package org.jooq.util.maven; + +/** + * @author Sander Plas + */ +public class Jdbc { + + private String driver; + private String url; + private String schema = ""; + private String user; + private String password; + + String getDriver() { + return driver; + } + + String getUrl() { + return url; + } + + String getSchema() { + return schema; + } + + String getUser() { + return user; + } + + String getPassword() { + return password; + } +} diff --git a/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/MasterDataTable.java b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/MasterDataTable.java new file mode 100644 index 0000000000..27a047b28d --- /dev/null +++ b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/MasterDataTable.java @@ -0,0 +1,58 @@ +/** + * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com + * All rights reserved. + * + * This software is licensed to you under the Apache License, Version 2.0 + * (the "License"); You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * . Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * . Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * . Neither the name "jOOQ" nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package org.jooq.util.maven; + +/** + * @author Sander Plas + */ +public class MasterDataTable { + + private String name; + private String literal; + private String description; + + String getName() { + return name; + } + + String getLiteral() { + return literal; + } + + String getDescription() { + return description; + } +} diff --git a/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Plugin.java b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Plugin.java new file mode 100644 index 0000000000..cf57867fe5 --- /dev/null +++ b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Plugin.java @@ -0,0 +1,131 @@ +/** + * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com + * All rights reserved. + * + * This software is licensed to you under the Apache License, Version 2.0 + * (the "License"); You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * . Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * . Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * . Neither the name "jOOQ" nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package org.jooq.util.maven; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.util.Properties; + +import org.apache.maven.plugin.AbstractMojo; +import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.project.MavenProject; +import org.jooq.util.GenerationTool; + +/** + * @goal generate + * @phase generate-sources + * @version $Id$ + * @author Sander Plas + */ +public class Plugin extends AbstractMojo { + + /** + * The Maven project. + * + * @parameter expression="${project}" + * @required + * @readonly + */ + private MavenProject project; + + /** + * The jdbc settings. + * + * @parameter + */ + private Jdbc jdbc; + + /** + * The generator settings + * + * @parameter + */ + private Generator generator; + + @Override + public void execute() throws MojoExecutionException { + + Properties props = new Properties(); + + props.put("jdbc.Driver", jdbc.getDriver()); + props.put("jdbc.URL", jdbc.getUrl()); + props.put("jdbc.Schema", jdbc.getSchema()); + props.put("jdbc.User", jdbc.getUser()); + props.put("jdbc.Password", jdbc.getPassword()); + props.put("generator", generator.getName()); + props.put("generator.database", generator.getDatabase().getName()); + props.put("generator.database.includes", generator.getDatabase().getIncludes()); + props.put("generator.database.excludes", generator.getDatabase().getExcludes()); + props.put("generator.generate.relations", generator.getGenerate().getRelations()); + props.put("generator.generate.deprecated", generator.getGenerate().getDeprecated()); + props.put("generator.target.package", generator.getTarget().getPackageName()); + props.put("generator.target.directory", generator.getTarget().getDirectory()); + + if (generator.getMasterDataTables() != null) { + StringBuilder mdtList = new StringBuilder(); + for (MasterDataTable mdt : generator.getMasterDataTables()) { + if (mdtList.length() > 0) { + mdtList.append(","); + } + mdtList.append(mdt.getName()); + + props.put("generator.generate.master-data-table-literal." + mdt.getName(), mdt.getLiteral()); + props.put("generator.generate.master-data-table-description." + mdt.getName(), mdt.getDescription()); + + } + props.put("generator.generate.master-data-tables", mdtList.toString()); + } + + if (getLog().isDebugEnabled()) { + ByteArrayOutputStream stream = new ByteArrayOutputStream(); + try { + props.store(stream, "passing these properties to jooq-codegen:"); + } + catch (IOException ex) { + throw new RuntimeException(ex); + } + getLog().debug(stream.toString()); + } + + try { + GenerationTool.main(props); + } + catch (Exception ex) { + throw new MojoExecutionException("Error running jOOQ code generation tool", ex); + } + project.addCompileSourceRoot(generator.getTarget().getDirectory()); + } +} diff --git a/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Target.java b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Target.java new file mode 100644 index 0000000000..7036c28efd --- /dev/null +++ b/jOOQ-codegen-maven/src/main/java/org/jooq/util/maven/Target.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) 2009-2011, Lukas Eder, lukas.eder@gmail.com + * All rights reserved. + * + * This software is licensed to you under the Apache License, Version 2.0 + * (the "License"); You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * . Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * . Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * . Neither the name "jOOQ" nor the names of its contributors may be + * used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package org.jooq.util.maven; + +/** + * @author Sander Plas + */ +public class Target { + + private String packageName; + private String directory = "target/generated-sources/jooq"; + + String getPackageName() { + return packageName; + } + + String getDirectory() { + return directory; + } +} diff --git a/jOOQ-codegen-maven/target/classes/META-INF/maven/plugin.xml b/jOOQ-codegen-maven/target/classes/META-INF/maven/plugin.xml new file mode 100644 index 0000000000..8e467bb1bf --- /dev/null +++ b/jOOQ-codegen-maven/target/classes/META-INF/maven/plugin.xml @@ -0,0 +1,165 @@ + + + jOOQ Codegen Maven + jOOQ effectively combines complex SQL, typesafety, source code generation, active records, stored procedures, advanced data types, and Java in a fluent, intuitive DSL. + org.jooq + jooq-codegen-maven + 1.6.7-SNAPSHOT + jooq-codegen + false + true + + + generate + + false + true + false + false + false + true + generate-sources + org.jooq.util.maven.Plugin + java + per-lookup + once-per-session + false + + + generator + org.jooq.util.maven.Generator + false + true + The generator settings + + + jdbc + org.jooq.util.maven.Jdbc + false + true + The jdbc settings. + + + project + org.apache.maven.project.MavenProject + true + false + The Maven project. + + + + ${project} + + + + + + org.apache.maven + maven-plugin-api + jar + 2.2.1 + + + org.jooq + jooq-codegen + jar + 1.6.7-SNAPSHOT + + + org.jooq + jooq + jar + 1.6.7-SNAPSHOT + + + org.jooq + jooq-meta + jar + 1.6.7-SNAPSHOT + + + org.apache.maven + maven-project + jar + 2.2.1 + + + org.apache.maven + maven-settings + jar + 2.2.1 + + + org.apache.maven + maven-profile + jar + 2.2.1 + + + org.apache.maven + maven-model + jar + 2.2.1 + + + org.apache.maven + maven-artifact-manager + jar + 2.2.1 + + + org.apache.maven + maven-repository-metadata + jar + 2.2.1 + + + org.apache.maven.wagon + wagon-provider-api + jar + 1.0-beta-6 + + + backport-util-concurrent + backport-util-concurrent + jar + 3.1 + + + org.apache.maven + maven-plugin-registry + jar + 2.2.1 + + + org.codehaus.plexus + plexus-interpolation + jar + 1.11 + + + org.codehaus.plexus + plexus-utils + jar + 1.5.15 + + + org.apache.maven + maven-artifact + jar + 2.2.1 + + + org.codehaus.plexus + plexus-container-default + jar + 1.0-alpha-9-stable-1 + + + classworlds + classworlds + jar + 1.1-alpha-2 + + + \ No newline at end of file diff --git a/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Database.class b/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Database.class new file mode 100644 index 0000000000000000000000000000000000000000..8e19ee05fbd7bad2910763fd7d4719e67b87d738 GIT binary patch literal 663 zcmaKoOHaZ;6ot>wLV1*@_(s$n5Ve}PFwwX{O-u+bFzg4I)FGvfr4WCXCK?kL{s4cJ z@lF*qq;YfZz0;oWo|%u&w|4+X*h#~{dJ-EcB(SNZqGZcJ)xb7`?(&gfD7A)s$}NYx zw$%xI>Ds3ZN$K{T$v}*$6%VsEaVA|EoHJ;(dY1rAZ$N;2OS+;x8TEvJ%X?0U^!nWC za$lv=pi zUCtAxJKn_aiz}&OWM|X^bwd*-vJ9kYq)cR#B#~mM{1=F!@cTSBy`ks_*riuA=!rGN z6oI;!VuqElRCO@5jWkD7lfKhp6dSK#jZ*9dTB!O{Xvvf22nN*2xJRgc6lgNPO(>#7 z6R?Ex5745jfbqsN;*ZqCpdg9x@bHg0J~uB%nzcpqain=A(yT93!yE@Eo{_{mK;vS()Odr@8={FA?#rmNWNcar&!vgP#0ww5hcf;p zD8vxgtpB0?4*fsB-ah~wqiQ3A%`CQZNMk#T9TRsmsARCmkW(V$TE@|k!EN>Vn0q0Q z0dSoP>DI-9HM<>; zlrJu&(a-spN{w@qI8&k#dtK9!qpU-%mPG{FoFH$jWo zrWr9&OoACP+VfO3>6}qqZM=as+{6UQhMStedYM8Bv=;~h)RDpgnK?v}Dg!4FO7xr0 q#oCO}qiD{o#w(J~lq84% literal 0 HcmV?d00001 diff --git a/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Generator.class b/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Generator.class new file mode 100644 index 0000000000000000000000000000000000000000..8278320294f886541358c9073ba7fb1ea5f15063 GIT binary patch literal 1327 zcma)5$#T;`6l^)R6)PeRPS~@Nu-FD7!jcpu_&`$OV#2|x+{ex!NG zGHhr354`v*`TxF`D3h4W%QIz+k@-f;?*|=uyQ894^S2e6mG9)*6q{SbvoZ{RUnd2agH~966d5vqi{vBF<5xH-e`HKAK z7<7}-U;+4m^RRG>J2NTAGFJEnHR^!M;;N_$^)JYO;wA@0p!9&9F>ql7UgsQ1ALHOc z8vHU7yn)ROa4`*TWP0|mG~Jwg=gv82j<0|Jxqkq#hej0+-dC{Vpn_F~HHLMD4TjA!w#wKRDD{jU zDI-vC59COCfeiazCowwge-_B6CLm7ipQ)h~D5Nn{E9WwfFC){Vt1mj#$pJAN%~K*A zMLi`j)z+cr(=!uae_&#JNV(7P3T?U!0SV7^2u6Cl-`0A_XR1QC~%irx{8Z!cL z@d7m$RR)*gCBqbI0t^33DKP!Kx*y$v@)NAmjve|HMda9wx*Ypum0rjyS!b2psg^)K zm?5mw=_Bze4r;ACh*mv!i~My)o+Yf(CD23xJD8)+{Y%9>UeO77jfJs|N0n`gts4}s zsL6p1_$}bWKjPw(_>EOuoD}a{#fw&Pep39&DqgaROOxUQt9aQeE>DUNEntz(NpWlP__oK`- z33$}wsnqp%(^U6z%y8f*Y3L1;3s7^PTq=C4WI!|NH{z(7XMFp-48zmQI4Gu~S`~OJCP@667wm%es!XE9` zqOBKTXiGX7+BIV`CN@FqgiE+Ul}F5oi-)gZ&)L`_p_MgTsM1-F(g12$A_nSMrp{mS k3ydeaGB6V#=ZYJ-;=;W6G*`TmD>moFXE|bq)hyrI7y7YtssI20 literal 0 HcmV?d00001 diff --git a/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Plugin.class b/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Plugin.class new file mode 100644 index 0000000000000000000000000000000000000000..614eb96c49dfbf0c31273e6efb864d2ad27ec1d1 GIT binary patch literal 3950 zcma)9`-4<<75{wq!M)60phiGI#3dnNUn7=jKq?D}&^};!37K_w=G*LDX66oe?!aP( zN~KYfMP}N=EUGQ(MbRK`iM`b99rk`d=-n^<0oCW+@4S{B%pZ2X-*fKgdtTpj&iCxI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uy%Q^#<-8poZq=Ab%`J5&jGsi*nBr{v}kY|7kCD{f{k{u_H~$8IM7IUJ@Xx6q#> um`+=6MKfhDrZul8?>O4XbLks%x186udXhFKncpeOZQKh1p;-ta#`k$`Xj literal 0 HcmV?d00001 diff --git a/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Target.class b/jOOQ-codegen-maven/target/classes/org/jooq/util/maven/Target.class new file mode 100644 index 0000000000000000000000000000000000000000..5b31bbdff762537dda53b389a3610f737ebf9bda GIT binary patch literal 588 zcmZ`#%TB^T6g@*rfwl@Fz7QAgfT$DW%4pnZToE*ZupeMj2TQ9%A@Q#?(U`dK1N-*yqz%eQ|ENo`6l|vfaaoEYAoWU-G^B{Wn!jnxglnlkjKuiSp zMd0yPq*dUZG35G6%U%@fCkE?W1uD8=FsiiY*_YVOQ#g=5{5 z*D98Grff&?Z(P`L81|w>fO|5KT12vcI7$Gc#EFX>vMw^nGL-+f$55Cr=%zcMwP2st zY0;WfbO@hRL`K;Fi?u1b)Sc2hqwLh*!Rp1-8;qA^c!i=(k3bD34zNm;g-Jl!PGN9V^n^NQ$sXH;57vA|*(JbhlE{g8$`u z)qDBs{Xf5VpWSnw=gfR|=FB^D=6ps~2^j?w;cAUP7L@qw0Z_MqU-p52iT^1Ek^(CNHc%kh9=o{}h-beUh7s6k5!A<$O@Ze`Z&9^miGq?Nc#Q*w= z0vEP-diWm_S9jw|;*q_*<9~?Z{!`4=#meSCWUubrPsqPy|7|A5Um!rOYDx5Ct?6XQk86sgy2GZ{_skH!k4r3+k~) z^Pl^6^Fq)==9#?A_ zkkXOulLw;asJV=#kD_G_bbJ6vT%Rci=&nRr>U!o@Q_k0>$hV)!eU;($JUH;!@0{^X zz;Uv1pr`f{-dOIFM!+nl6I|ZGUv}a}w&DVvwPC(kwM6Om)16zy25tcQ6R8^- z@cCH}rKfgv-i&OwfR?H(=ivS-FRVzhfu5~hH+Wb{c0H4LS}H$bOx^q;Il-nc%?z&NMx zKj*`WfAvjr9%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M*aZ$tn!QfW!kmq z&OA#Eq0{d13nq4wNRibm2JX{cZT(!%xR<2NX$dK5E*h=I7#)GBp7|dn!^l=!`3X0m&Z0qq-w}Y zsUoIMwTkjISJ5GSa`}tdiedaI@Hnf*j*U6=kr+w85(uoPKTJS(}kmRPlp zrM^S!!*fCDf6KVbw)NB2SAIdOpni9Rnwok&A&r0=iLn*M$s`*URJBRYdM7q=Zf z7k8E2UM>-s(YoS!@F@XiUYt-xf6Qbr&I~^^*XL`FZ8LcvnHZqdmnNh!zEd}P<0N1u zWSw&MVs^0CKcj80I7aFcY{3$(e>3mfWZB8u0!@<_`kQ3(BOD1`0tTf^q#x=1ofzwk zaxV9T=anD)EA)TQF9#=k2XiMED|2UcHNr|!dD~CUut~+RQr42`RBj98hQTGHTfUi>u!GE zZr4YkKQQv332=m;clo>WuYu?wL^F*ai4L`<>7KWM{6UUGD~ep;g}eJ=#Be!(V8>Z(_cq;Uj$erU370u5CNGsXtnp zKX3o5rsfxl-+!R|w#E4YjDhgGCg%rq9<=lS2K;x+^UM9;7x`cK43vL%|2KwT;r}Z6 Ws!FJ6S5QRoj~6`ej^SVk2>%adE_x6E literal 0 HcmV?d00001 diff --git a/jOOQ-codegen-maven/target/maven-archiver/pom.properties b/jOOQ-codegen-maven/target/maven-archiver/pom.properties new file mode 100644 index 0000000000..4f1695bc99 --- /dev/null +++ b/jOOQ-codegen-maven/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Sat Sep 24 16:22:44 CEST 2011 +version=1.6.7-SNAPSHOT +groupId=org.jooq +artifactId=jooq-codegen-maven