Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Switch embedded wildfly to managed
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Sep 19, 2014
1 parent b688b87 commit 69a2c69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions zanata-war/pom.xml
Expand Up @@ -1131,8 +1131,7 @@
<configuration>
<usedDependencies combine.children="append">
<!-- used for arquillian tests -->
<usedDependency>org.wildfly:wildfly-embedded</usedDependency>
<usedDependency>org.wildfly:wildfly-arquillian-container-embedded</usedDependency>
<usedDependency>org.wildfly:wildfly-arquillian-container-managed</usedDependency>
<!-- NB: Don't add anything without a comment explaining how the
dependency is used -->
</usedDependencies>
Expand Down Expand Up @@ -1216,7 +1215,7 @@
</dependency>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-embedded</artifactId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${wildfly.version}</version>
<scope>test</scope>
<exclusions>
Expand All @@ -1226,12 +1225,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-embedded</artifactId>
<version>${wildfly.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

Expand Down
Expand Up @@ -150,7 +150,7 @@
<password>sa</password>
</security>
</datasource>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="false" use-java-context="true">
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
<driver>h2</driver>
<security>
Expand Down

0 comments on commit 69a2c69

Please sign in to comment.