From: James Moger Date: Mon, 4 Apr 2016 18:34:36 +0000 (-0400) Subject: Prepare the project for Maven; add pom to build, test, and release binaries X-Git-Tag: release-2.0.0~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d22dfbad3c8a897d794ad050f2b587d488050a08;p=iciql.git Prepare the project for Maven; add pom to build, test, and release binaries --- diff --git a/.classpath b/.classpath index 0936131..8d28b2d 100644 --- a/.classpath +++ b/.classpath @@ -2,6 +2,7 @@ + diff --git a/build.moxie b/build.moxie index d8a35ed..e2aacbd 100644 --- a/build.moxie +++ b/build.moxie @@ -55,6 +55,7 @@ sourceDirectories: - site 'src/site' resourceDirectories: +- test 'src/test/resources' - site 'src/site/resources' # compile for Java 6 class format diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..7024082 --- /dev/null +++ b/pom.xml @@ -0,0 +1,261 @@ + + + 4.0.0 + + com.iciql + iciql + 1.7.0-SNAPSHOT + Iciql + a model-based database access wrapper for JDBC + http://iciql.com + 2011 + + + + Apache ASL + http://www.apache.org/licenses/LICENSE-2.0.html + + + + + scm:git:git://github.com/gitblit/iciql.git + scm:git:https://github.com/gitblit/iciql.git + https://github.com/gitblit/iciql + HEAD + + + + + James Moger + james.moger@gmail.com + gitblit.com + https://github.com/gitblit + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2 + + + + + + + com.beust + jcommander + 1.17 + jar + provided + + + com.h2database + h2 + 1.4.187 + jar + provided + + + org.hsqldb + hsqldb + 2.3.2 + jar + provided + + + org.apache.derby + derby + 10.11.1.1 + jar + provided + + + org.apache.derby + derbyclient + 10.11.1.1 + jar + provided + + + org.apache.derby + derbynet + 10.11.1.1 + jar + provided + + + mysql + mysql-connector-java + 5.1.33 + jar + provided + + + org.postgresql + postgresql + 9.4-1201-jdbc41 + jar + provided + + + org.xerial + sqlite-jdbc + 3.8.10.1 + jar + provided + + + org.slf4j + slf4j-api + 1.7.12 + jar + provided + + + commons-pool + commons-pool + 1.5.6 + jar + provided + + + commons-dbcp + commons-dbcp + 1.4 + jar + provided + + + com.google.code.gson + gson + 2.3 + jar + provided + + + com.thoughtworks.xstream + xstream + 1.4.8 + jar + provided + + + org.yaml + snakeyaml + 1.15 + jar + provided + + + + junit + junit + 4.11 + jar + test + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.6 + 1.6 + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + + com/iciql/test/IciqlSuite.java + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5 + + + clean install + true + deploy + release-@{project.version} + false + release + + + + + + + + release + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + -Xdoclint:none + + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + + + + diff --git a/src/test/java/com/iciql/test/IciqlSuite.java b/src/test/java/com/iciql/test/IciqlSuite.java index f30caf6..37c534c 100644 --- a/src/test/java/com/iciql/test/IciqlSuite.java +++ b/src/test/java/com/iciql/test/IciqlSuite.java @@ -152,7 +152,7 @@ public class IciqlSuite { }; - private static final TestDb DEFAULT_TEST_DB = TEST_DBS[0]; + private static final TestDb DEFAULT_TEST_DB = TEST_DBS[3]; private static final PrintStream ERR = System.err; diff --git a/src/test/java/iciql.properties b/src/test/java/iciql.properties deleted file mode 100644 index cecb056..0000000 --- a/src/test/java/iciql.properties +++ /dev/null @@ -1,7 +0,0 @@ -# -# Example resource file for DaoClasspathStatementProvider -# - -get.products = select * from Product -%test.get.products = select * from Product where category = 'Beverages' -%dev.get.products = select * from Product where category = 'Condiments' diff --git a/src/test/resources/iciql.properties b/src/test/resources/iciql.properties new file mode 100644 index 0000000..cecb056 --- /dev/null +++ b/src/test/resources/iciql.properties @@ -0,0 +1,7 @@ +# +# Example resource file for DaoClasspathStatementProvider +# + +get.products = select * from Product +%test.get.products = select * from Product where category = 'Beverages' +%dev.get.products = select * from Product where category = 'Condiments'