Maven overlay

Hi all,

I am new and after few days of using it great platform.

Now, I am trying to customize Tasklist with maven overlay. I read https://github.com/camunda/camunda-consulting/tree/master/snippets/camunda-webapp-customized. I made directory structure but nothing happened after war deployed. Could somebody send me example of correct pom.xml? My version is full distribution on Wildfly 10.

Regards,
Sewe

Hi @serweryn,

Is the example that you refer to working for you?

may be we should try it the other way around, could you publish your code on github and we take a look at it together?

Cheers,
Askar

Hi,

I would like to create manen overlay because it is easy to customize task list when a version will change.

This is my pom.xml `<?xml version="1.0" encoding="UTF-8"?>

4.0.0

<groupId>org.camunda.bpm.getstarted</groupId>
<artifactId>custom-tasklist</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>

<properties>
	<camunda.version>7.6.0</camunda.version>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
org.camunda.bpm.webapp camunda-webapp-jboss 7.6.0 war
<repositories>
  <repository>
    	<id>camunda-bpm-nexus</id>
    	<name>camunda-bpm-nexus</name>
    	<url>
      		https://app.camunda.com/nexus/content/repositories/camunda-bpm
    	</url>
  </repository>
</repositories>


	<build>
	<finalName>custom-tasklist</finalName>
	<plugins>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-war-plugin</artifactId>
			<version>2.6</version>
			<configuration>
			<overlays>
      			<overlay>
        			<groupId>org.camunda.bpm.webapp</groupId>
        			<artifactId>camunda-webapp-jboss</artifactId>
        			<type>war</type>
        				<includes>
        					<directory>src/main/webapp/app/tasklist/locales/</directory>
          					<include>pl.json</include>
          					<targetpath>app/tasklist/locales/</targetpath>
        				</includes>
      			</overlay>
    		</overlays>
			</configuration>
		</plugin>
	</plugins>
	</build>

`

of course the pl.json is in folder /src/main/webapp/app/tasklist/locales

Regards,
Sew