diff --git a/jdbcmapper/pom.xml b/jdbcmapper/pom.xml index 230bd9a..223006b 100644 --- a/jdbcmapper/pom.xml +++ b/jdbcmapper/pom.xml @@ -9,15 +9,11 @@ jdbcmapper ${project.artifactId} - - ${project.groupId} - common - ${project.version} - ${project.groupId} querymapper ${project.version} + ${jar.classifier} ${project.groupId} diff --git a/pom.xml b/pom.xml index 36e851d..45dd4ed 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,8 @@ $Header:$ --> - + 4.0.0 org.sonatype.oss @@ -64,7 +65,7 @@ true sources javadoc - + pom @@ -117,7 +118,6 @@ org.apache.maven.plugins maven-jar-plugin - 2.4 **/*.java @@ -127,15 +127,14 @@ org.apache.maven.plugins maven-source-plugin - 2.1.2 - - attach-sources - verify - - jar-no-fork - - + + attach-sources + verify + + jar-no-fork + + @@ -158,12 +157,23 @@ - maven-compiler-plugin - 3.1 + maven-compiler-plugin + 3.1 maven-jar-plugin + 2.4 + + ${jar.classifier} + + + + org.apache.maven.plugins + maven-source-plugin 2.2 + + ${source.classifier} + diff --git a/presto-sqlparser/pom.xml b/presto-sqlparser/pom.xml index c7ef751..b006a8c 100644 --- a/presto-sqlparser/pom.xml +++ b/presto-sqlparser/pom.xml @@ -13,6 +13,7 @@ ${project.groupId} jdbcmapper ${project.version} + ${jar.classifier} com.facebook.presto diff --git a/querymapper/pom.xml b/querymapper/pom.xml index 00505fe..986e15f 100644 --- a/querymapper/pom.xml +++ b/querymapper/pom.xml @@ -13,11 +13,13 @@ ${project.groupId} common ${project.version} + ${jar.classifier} ${project.groupId} runtime-compiler ${project.version} + ${jar.classifier} junit diff --git a/revertJava6.sh b/revertJava6.sh new file mode 100755 index 0000000..7e3512b --- /dev/null +++ b/revertJava6.sh @@ -0,0 +1,2 @@ +#!/bin/sh +find */src/{main,test}/java -type f -name '*.java' -print0 | xargs -0 sed -i -e 's@/\*IFJAVA8_START@//IFJAVA8_START@' -e 's@IFJAVA8_END\*/@//IFJAVA8_END@'