4.0.0
taskana-rest-spring-wildfly-example
war
${project.groupId}:${project.artifactId}
Demo project for the taskana REST APP in a wildfly environment.
pro.taskana
taskana-rest-parent
1.1.5-SNAPSHOT
../pom.xml
true
jdbc:h2:mem:taskana;IGNORECASE=TRUE;LOCK_MODE=0
org.h2.Driver
h2
sa
sa
io.thorntail
bom
${version.thorntail}
import
pom
org.jboss.arquillian
arquillian-bom
${version.arquillian}
pom
import
org.springframework.boot
spring-boot-dependencies
${version.spring.boot}
pom
import
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-tomcat
pro.taskana
taskana-rest-spring-base
${project.version}
org.springframework.plugin
spring-plugin-core
javax.servlet
javax.servlet-api
provided
org.postgresql
postgresql
com.h2database
h2
org.wildfly.security
wildfly-elytron
${version.wildfly.security}
junit
junit
test
org.jboss.resteasy
resteasy-client
${version.resteasy}
test
io.thorntail
arquillian
test
org.jboss.arquillian.junit
arquillian-junit-container
test
org.jboss.shrinkwrap.resolver
shrinkwrap-resolver-impl-maven
test
org.springframework
spring-test
test
postgres
false
org.postgresql.Driver
jdbc:postgresql://localhost:50102/postgres
postgresqldriver
postgres
postgres
postgres
false
src/main/resources
true
org.wildfly.plugins
wildfly-maven-plugin
${version.maven.wildfly}
11.0.0.Final
admin
admin
admin
admin
testGroup
true
run-wildfly
install
start
deploy-driver
install
org.postgresql
postgresql
postgresqldriver
deploy-artifact
add-datasource
install
subsystem=datasources,data-source=java:/TaskanaDS
java:/TaskanaDS
true
${connection-url}
${driver-class}
${driver-name}
${user-name}
${password}
add-resource
edit-undertow
install
execute-commands
/subsystem=undertow:write-attribute(name=default-server,value=default-server)
/subsystem=undertow:write-attribute(name=default-virtual-host,value=default-host)
/subsystem=undertow:write-attribute(name=default-servlet-container,value=default)
/subsystem=undertow:write-attribute(name=default-security-domain,value=ApplicationDomain)
add-application-security-domain
install
add-resource
subsystem=undertow
application-security-domain=ApplicationDomain
application-http-authentication
wildfly-deploy
install
deploy
wildfly-shutdown
install
shutdown
org.apache.maven.plugins
maven-surefire-plugin
${version.maven.surefire}
default-test
true
integration-tests
test
test
${skipIntegrationTests}
**/*Test.java
org.apache.maven.plugins
maven-resources-plugin
${version.maven.resources}
copy-documentation-to-static-folder
prepare-package
copy-resources
${project.build.outputDirectory}/static/docs/rest
../taskana-rest-spring-test/target/generated-docs
jboss
http://repository.jboss.org/nexus/content/groups/public-jboss/