Skip to content

Commit

Permalink
jboss-openshift#37 - add openshift profile to tomcat-websocket-chat q…
Browse files Browse the repository at this point in the history
…uickstart.
  • Loading branch information
tremes committed Nov 29, 2017
1 parent 4d73956 commit 7247b3d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tomcat-websocket-chat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<!-- version dependencies -->
<version.websocket.api>1.1</version.websocket.api>
<version.jboss.logging>3.1.4.GA-redhat-2</version.jboss.logging>
<version.war.plugin>2.1.1</version.war.plugin>

<!-- maven-compiler-plugin -->
<maven.compiler.target>1.6</maven.compiler.target>
Expand Down Expand Up @@ -66,4 +67,22 @@
given to the generated war, and hence the context root) -->
<finalName>${project.artifactId}</finalName>
</build>

<profiles>
<profile>
<id>openshift</id>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>${version.war.plugin}</version>
<configuration>
<outputDirectory>deployments</outputDirectory>
<warName>ROOT</warName>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 7247b3d

Please sign in to comment.