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

Commit

Permalink
Merge pull request #58 from zanata/fix-explode-profile
Browse files Browse the repository at this point in the history
fix explode profile for EAP6
  • Loading branch information
davidmason committed Jul 19, 2013
2 parents 72955f3 + 882247a commit 3d2ffd0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 66 deletions.
62 changes: 16 additions & 46 deletions zanata-war/pom.xml
Expand Up @@ -20,7 +20,7 @@
<properties>
<jboss.embedded.version>beta3.SP12</jboss.embedded.version>
<war.config.dir>${basedir}/src/etc</war.config.dir>
<containerId>jboss5x</containerId>
<containerId>jboss71x</containerId>
<allow.deploy.skip>true</allow.deploy.skip>

<!-- application properties -->
Expand Down Expand Up @@ -740,7 +740,7 @@
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.1.0</version>
<version>1.3.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -756,53 +756,23 @@
</container>
<configuration>
<type>existing</type>
<home>${jboss.home}/server/default</home>
<home>${jboss.home}/standalone</home>
<properties>
<cargo.jboss.configuration>default</cargo.jboss.configuration>
</properties>
</configuration>
<deployer>
<deployables>
<deployable>
<pingURL>http://localhost:${port}/${war.name}/</pingURL>
<location>${project.build.directory}/zanata</location>
<properties>
<context>zanata</context>
</properties>
</deployable>
</deployables>
</deployer>
<deployables>
<deployable>
<pingURL>http://localhost:${port}/${war.name}/</pingURL>
<pingTimeout>60000</pingTimeout>
<location>${project.build.directory}/zanata</location>
<properties>
<context>zanata</context>
</properties>
</deployable>
</deployables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-ds-context</id>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>package</phase>
<configuration>
<outputDirectory>${as.deploy}</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/etc</directory>
<filtering>true</filtering>
<includes>
<include>zanata-ds.xml</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jboss-maven-plugin</artifactId>
<version>1.4</version> <configuration> <serverName>default</serverName> </configuration>
<executions> <execution> <id>deploy-ds</id> <phase>package</phase> <goals><goal>hard-deploy</goal></goals>
<configuration> <fileName>${project.build.directory}/classes/zanata-ds.xml</fileName>
</configuration> </execution> <execution> <id>deploy-war-unpacked</id> <phase>package</phase>
<goals><goal>hard-deploy</goal></goals> <configuration> <fileName>${project.build.directory}/zanata.war</fileName>
<unpack>true</unpack> </configuration> </execution> </executions> </plugin> -->
</plugins>
</build>
</profile>
Expand Down
20 changes: 0 additions & 20 deletions zanata-war/src/etc/jboss-service-snippet.xml

This file was deleted.

0 comments on commit 3d2ffd0

Please sign in to comment.