Skip to content

Commit

Permalink
chore(webapps): fix camunda-welcome for dev-e2e and develop (#3450)
Browse files Browse the repository at this point in the history
related to #3448

---------

Co-authored-by: Daniel Kelemen <daniel.kelemen@camunda.com>
  • Loading branch information
tasso94 and danielkelemen authored May 26, 2023
1 parent 7df6604 commit 5cfb1f3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions webapps/assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,21 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<configuration>
<tasks>
<mkdir dir="${project.basedir}/target/webapp" />
<mkdir dir="${project.basedir}/target/camunda-welcome" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
Expand All @@ -285,6 +300,12 @@
<resourceBase>${project.basedir}/src/main/webapp</resourceBase>
</resourceBases>
</webAppConfig>
<contextHandlers>
<contextHandler implementation="org.eclipse.jetty.maven.plugin.JettyWebAppContext">
<war>${project.basedir}/target/camunda-welcome/</war>
<contextPath>/camunda-welcome</contextPath>
</contextHandler>
</contextHandlers>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -364,6 +385,21 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<configuration>
<tasks>
<mkdir dir="${project.basedir}/target/webapp" />
<mkdir dir="${project.basedir}/target/camunda-welcome" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
Expand All @@ -382,6 +418,10 @@
<war>${basedir}/target/engine-rest.war</war>
<contextPath>/engine-rest</contextPath>
</contextHandler>
<contextHandler implementation="org.eclipse.jetty.maven.plugin.JettyWebAppContext">
<war>${project.basedir}/target/camunda-welcome/</war>
<contextPath>/camunda-welcome</contextPath>
</contextHandler>
</contextHandlers>
</configuration>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion webapps/frontend/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module.exports = (_env, argv = {}) => {
'^/api': ''
}
},
'/camunda-welcome/': {
'/camunda-welcome': {
target: 'http://localhost:8080/',
logLevel: 'debug'
},
Expand Down

0 comments on commit 5cfb1f3

Please sign in to comment.