From 563b11ce9461e35af37cb8fe65f6b63bcc6c42cc Mon Sep 17 00:00:00 2001 From: Mohammad Rezaei Date: Tue, 13 Sep 2016 16:37:09 -0400 Subject: [PATCH] prepare ossrh release --- .gitignore | 5 +- build/build.xml | 368 ++++++++++++++---- build/pom-templates/pom-mithragen.xml | 43 -- build/pom-templates/pom-reladomo-gen-util.xml | 66 ++++ .../pom-templates/pom-reladomo-test-util.xml | 66 ++++ .../{pom-mithra.xml => pom-reladomo.xml} | 47 ++- build/pom-templates/pom-reladomogen.xml | 61 +++ build/reladomolib.spec | 2 +- build/sign-release.bat | 18 + .../TestMithraRuntimeConfigVerifier.java | 6 - .../java/com/gs/fw/JarVersionCreator.java | 0 11 files changed, 537 insertions(+), 145 deletions(-) delete mode 100644 build/pom-templates/pom-mithragen.xml create mode 100644 build/pom-templates/pom-reladomo-gen-util.xml create mode 100644 build/pom-templates/pom-reladomo-test-util.xml rename build/pom-templates/{pom-mithra.xml => pom-reladomo.xml} (52%) create mode 100644 build/pom-templates/pom-reladomogen.xml create mode 100644 build/sign-release.bat rename {reladomo => reladomogen}/src/main/java/com/gs/fw/JarVersionCreator.java (100%) diff --git a/.gitignore b/.gitignore index 518863e9..cd698f70 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,7 @@ reladomogen/target/** reladomogenutil/target/** reladomogs/target/** reladomogsi/target/** -reladomoui/target/** \ No newline at end of file +reladomoui/target/** +.idea/** +reladomo.iml +target/** \ No newline at end of file diff --git a/build/build.xml b/build/build.xml index 90c8813a..2fadb580 100644 --- a/build/build.xml +++ b/build/build.xml @@ -14,7 +14,7 @@ under the License. --> - + @@ -43,6 +43,10 @@ + + + + @@ -152,6 +156,7 @@ + @@ -183,6 +188,7 @@ + @@ -197,7 +203,9 @@ + + @@ -513,6 +521,21 @@ + + + + + + + @@ -585,7 +608,6 @@ includeAntRuntime="false"> - @@ -613,6 +635,21 @@ + + + + + + + @@ -805,7 +842,7 @@ sourcepath="${root}/reladomo/src/main/java;${root}/reladomo/target/generatedsrc" defaultexcludes="yes" access="public" - destdir="${root}/reladomo/target/javvadoc" + destdir="${root}/reladomo/target/javadoc" use="true" windowtitle="Reladomo User API" version="yes" @@ -930,7 +967,7 @@ - + @@ -1081,6 +1118,26 @@ + + + + + + + + + + + + @@ -1108,7 +1165,7 @@ - + @@ -1148,36 +1205,59 @@ - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - @@ -1187,6 +1267,8 @@ + + @@ -1198,87 +1280,207 @@ + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - + - + + + + + + + - + + + + + + + - - + + + + + + + - - - + + + - - - - - + - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/pom-templates/pom-mithragen.xml b/build/pom-templates/pom-mithragen.xml deleted file mode 100644 index 0cb978d7..00000000 --- a/build/pom-templates/pom-mithragen.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - 4.0.0 - com.gs.mithra - mithragen - @mithra.version@ - jar - - - - - com.gs.mithra - mithra - @mithra.version@ - - - - org.apache.ant - ant - @antjar.version@ - - - - diff --git a/build/pom-templates/pom-reladomo-gen-util.xml b/build/pom-templates/pom-reladomo-gen-util.xml new file mode 100644 index 00000000..44f41e44 --- /dev/null +++ b/build/pom-templates/pom-reladomo-gen-util.xml @@ -0,0 +1,66 @@ + + + + + + + 4.0.0 + com.goldmansachs.reladomo + reladomo-gen-util + @reladomo.version@ + bundle + + Reladomo Generator Utilities + Reladomo generator utilities for creating for round trip ddl/xml generation. + https://github.com/goldmansachs/reladomo + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + Mohammad Rezaei + mohammad.rezaei@gs.com + Goldman Sachs + + + + + https://github.com/goldmansachs/reladomo + scm:git:https://github.com/goldmansachs/reladomo.git + scm:git:https://github.com/goldmansachs/reladomo.git + + + + + com.goldmansachs.reladomo + reladomo + @reladomo.version@ + + + + com.goldmansachs.reladomo + reladomogen + @reladomo.version@ + + + diff --git a/build/pom-templates/pom-reladomo-test-util.xml b/build/pom-templates/pom-reladomo-test-util.xml new file mode 100644 index 00000000..6a0ad850 --- /dev/null +++ b/build/pom-templates/pom-reladomo-test-util.xml @@ -0,0 +1,66 @@ + + + + + + + 4.0.0 + com.goldmansachs.reladomo + reladomo-test-util + @reladomo.version@ + bundle + + Reladomo Test Utilities + Reladomo test utilities faciliate writing tests for projects using Reladomo. + https://github.com/goldmansachs/reladomo + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + Mohammad Rezaei + mohammad.rezaei@gs.com + Goldman Sachs + + + + + https://github.com/goldmansachs/reladomo + scm:git:https://github.com/goldmansachs/reladomo.git + scm:git:https://github.com/goldmansachs/reladomo.git + + + + + com.goldmansachs.reladomo + reladomo + @reladomo.version@ + + + + com.h2database + h2 + 1.3.169 + + + diff --git a/build/pom-templates/pom-mithra.xml b/build/pom-templates/pom-reladomo.xml similarity index 52% rename from build/pom-templates/pom-mithra.xml rename to build/pom-templates/pom-reladomo.xml index a41e399d..c5551b05 100644 --- a/build/pom-templates/pom-mithra.xml +++ b/build/pom-templates/pom-reladomo.xml @@ -20,41 +20,66 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - com.gs.mithra - mithra - @mithra.version@ - jar + com.goldmansachs.reladomo + reladomo + @reladomo.version@ + bundle + + Reladomo + Reladomo is an object-relational mapping framework. + https://github.com/goldmansachs/reladomo + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + Mohammad Rezaei + mohammad.rezaei@gs.com + Goldman Sachs + + + + + https://github.com/goldmansachs/reladomo + scm:git:https://github.com/goldmansachs/reladomo.git + scm:git:https://github.com/goldmansachs/reladomo.git + com.goldmansachs gs-collections-api - @gs-collections.version@ + 5.1.0 com.goldmansachs gs-collections - @gs-collections.version@ + 5.1.0 - javax.transaction - jta - 1.1 + org.apache.geronimo.specs + geronimo-jta_1.1_spec + 1.1.1 joda-time joda-time - 2.2 + 2.9.4 org.slf4j slf4j-api - @slf4j.version@ + 1.7.21 diff --git a/build/pom-templates/pom-reladomogen.xml b/build/pom-templates/pom-reladomogen.xml new file mode 100644 index 00000000..fb19a275 --- /dev/null +++ b/build/pom-templates/pom-reladomogen.xml @@ -0,0 +1,61 @@ + + + + + + + 4.0.0 + com.goldmansachs.reladomo + reladomogen + @reladomo.version@ + bundle + + Reladomo Generator + Reladomo generator is responsible for generating abstract classes used by Reladomo objects. + https://github.com/goldmansachs/reladomo + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + Mohammad Rezaei + mohammad.rezaei@gs.com + Goldman Sachs + + + + + https://github.com/goldmansachs/reladomo + scm:git:https://github.com/goldmansachs/reladomo.git + scm:git:https://github.com/goldmansachs/reladomo.git + + + + + org.apache.ant + ant + 1.9.6 + provided + + + diff --git a/build/reladomolib.spec b/build/reladomolib.spec index 282c4db3..49e95eb5 100644 --- a/build/reladomolib.spec +++ b/build/reladomolib.spec @@ -5,9 +5,9 @@ central,com.goldmansachs,gs-collections,5.1.0,jar,lib/compile,07114C5349C816EA64 central,joda-time,joda-time,2.9.4,jar,lib/compile,1C295B462F16702EBE720BBB08F62E1BA80DA41B central,org.apache.geronimo.specs,geronimo-jta_1.1_spec,1.1.1,jar,lib/compile,AABAB3165B8EA936B9360ABBF448459C0D04A5A4 central,org.slf4j,slf4j-api,1.7.21,jar,lib/compile,139535A69A4239DB087DE9BAB0BEE568BF8E0B70 -central,log4j,log4j,1.2.17,jar,lib/compile,5AF35056B4D257E4B64B9E8069C0746E8B08629F # test libs: +central,log4j,log4j,1.2.17,jar,lib/test,5AF35056B4D257E4B64B9E8069C0746E8B08629F central,org.slf4j,slf4j-log4j12,1.7.21,jar,lib/test,7238B064D1ABA20DA2AC03217D700D91E02460FA central,org.slf4j,jcl-over-slf4j,1.7.21,jar,lib/test,331B564A3A42F002A0004B039C1C430DA89062CD central,org.apache.geronimo.specs,geronimo-jms_1.1_spec,1.1.1,jar,lib/test,C872B46C601D8DC03633288B81269F9E42762CEA diff --git a/build/sign-release.bat b/build/sign-release.bat new file mode 100644 index 00000000..156460bb --- /dev/null +++ b/build/sign-release.bat @@ -0,0 +1,18 @@ +setlocal +cd ../target +gpg -ab reladomo-16.0.0-javadoc.jar +gpg -ab reladomo-16.0.0-sources.jar +gpg -ab reladomo-16.0.0.jar +gpg -ab reladomo-16.0.0.pom +gpg -ab reladomo-gen-util-16.0.0-javadoc.jar +gpg -ab reladomo-gen-util-16.0.0-sources.jar +gpg -ab reladomo-gen-util-16.0.0.jar +gpg -ab reladomo-gen-util-16.0.0.pom +gpg -ab reladomo-test-util-16.0.0-javadoc.jar +gpg -ab reladomo-test-util-16.0.0-sources.jar +gpg -ab reladomo-test-util-16.0.0.jar +gpg -ab reladomo-test-util-16.0.0.pom +gpg -ab reladomogen-16.0.0-javadoc.jar +gpg -ab reladomogen-16.0.0-sources.jar +gpg -ab reladomogen-16.0.0.jar +gpg -ab reladomogen-16.0.0.pom diff --git a/reladomo/src/test/java/com/gs/fw/common/mithra/test/mithraTestResource/TestMithraRuntimeConfigVerifier.java b/reladomo/src/test/java/com/gs/fw/common/mithra/test/mithraTestResource/TestMithraRuntimeConfigVerifier.java index ad549cb8..debdc89b 100644 --- a/reladomo/src/test/java/com/gs/fw/common/mithra/test/mithraTestResource/TestMithraRuntimeConfigVerifier.java +++ b/reladomo/src/test/java/com/gs/fw/common/mithra/test/mithraTestResource/TestMithraRuntimeConfigVerifier.java @@ -46,10 +46,4 @@ public void testClient() throws Exception MithraRuntimeConfigVerifier verifier = new MithraRuntimeConfigVerifier("reladomo/src/test/resources/MithraConfigClientCache.xml"); verifier.verifyClasses(); } - - public void testGsIntegrator() throws Exception - { - MithraRuntimeConfigVerifier verifier = new MithraRuntimeConfigVerifier("reladomo/src/test/resources/MithraConfigGsIntegrator.xml"); - verifier.verifyClasses(); - } } diff --git a/reladomo/src/main/java/com/gs/fw/JarVersionCreator.java b/reladomogen/src/main/java/com/gs/fw/JarVersionCreator.java similarity index 100% rename from reladomo/src/main/java/com/gs/fw/JarVersionCreator.java rename to reladomogen/src/main/java/com/gs/fw/JarVersionCreator.java