diff --git a/batch-processing/add-h2-ds.cli b/batch-processing/add-h2-ds.cli new file mode 100644 index 0000000000..ef73534f17 --- /dev/null +++ b/batch-processing/add-h2-ds.cli @@ -0,0 +1 @@ +xa-data-source add --name=batch_db --enabled=true --use-java-context=true --use-ccm=true --jndi-name=java:jboss/datasources/batch-processingDS --xa-datasource-properties={"URL"=>"jdbc:h2:mem:batch-processing;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1"} --driver-name=h2 --password=sa --user-name=sa --same-rm-override=false --no-recovery=true \ No newline at end of file diff --git a/batch-processing/pom.xml b/batch-processing/pom.xml index 18a179f0d8..91c810d873 100644 --- a/batch-processing/pom.xml +++ b/batch-processing/pom.xml @@ -51,6 +51,9 @@ ${version.server} 5.0.0.Final + wildfly-ee-galleon-pack + org.wildfly + ${project.basedir}/add-h2-ds.cli @@ -200,12 +203,32 @@ org.wildfly.plugins wildfly-maven-plugin - - ${version.server} - - h2-database:default - - + + + ${server.test.feature.pack.groupId} + ${server.test.feature.pack.artifactId} + ${version.server} + + + org.wildfly:wildfly-datasources-galleon-pack:8.0.1.Final + + + + core-tools + batch-jberet + h2-driver + jaxrs-server + jsf + + + + + + + + false + + + false + + - - - - - - jdbc:h2:mem:batch-processing;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 - h2 - - sa - sa - - - -