camunda-webapp-customized-webjar
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.camunda.consulting.webapp</groupId> <artifactId>camunda-webapp-customized-webjar</artifactId> <version>7.7.2</version> </dependency>
<?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.camunda.consulting.webapp</groupId> <artifactId>camunda-webapp-customized-parent</artifactId> <version>7.7.2</version> </parent> <artifactId>camunda-webapp-customized-webjar</artifactId> <packaging>jar</packaging> <properties> <skipTests>true</skipTests> </properties> <!-- add dependency so this is run after the war was build --> <dependencies> <dependency> <groupId>org.camunda.bpm.webapp</groupId> <artifactId>camunda-webapp</artifactId> <version>${camunda.version}</version> <type>jar</type> <classifier>classes</classifier> </dependency> <dependency> <groupId>org.camunda.bpm.webapp</groupId> <artifactId>camunda-webapp-ee-plugins</artifactId> <version>${camunda.version}</version> <type>jar</type> <classifier>classes</classifier> </dependency> <!-- you can add dependencies to own plugins (tasklist/cockpit) here, they will be included in the build:--> <dependency> <groupId>com.camunda.consulting.webapp.plugin</groupId> <artifactId>camunda-cockpit-plugin-simple-kpi</artifactId> <version>${consulting.plugins.version}</version> </dependency> <dependency> <groupId>com.camunda.consulting.webapp.plugin</groupId> <artifactId>camunda-cockpit-plugin-process-xml</artifactId> <version>${consulting.plugins.version}</version> </dependency> <dependency> <groupId>com.camunda.consulting.webapp.plugin</groupId> <artifactId>camunda-webapp-plugin-sso-autologin</artifactId> <version>${consulting.plugins.version}</version> </dependency> </dependencies> <build> <plugins> <!-- first fetch and unpack the war --> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <phase>process-sources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.camunda.bpm.webapp</groupId> <artifactId>camunda-webapp-ee-plugins</artifactId> <version>${camunda.version}</version> <type>war</type> <overWrite>true</overWrite> <outputDirectory>${project.build.outputDirectory}</outputDirectory> <excludes>META-INF/**</excludes> </artifactItem> <!-- <artifactItem> <groupId>com.camunda.bpm.example.cockpit.plugin</groupId> <artifactId>cockpit-plugin-process-kpi</artifactId> <version>2.5.0</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${project.build.outputDirectory}</outputDirectory> <excludes>META-INF/**</excludes> </artifactItem> --> </artifactItems> </configuration> </execution> </executions> </plugin> <!-- then remove the WEB-INF part except the security.json --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <phase>generate-resources</phase> <configuration> <target> <move file="${project.build.outputDirectory}/WEB-INF/securityFilterRules.json" todir="${project.build.outputDirectory}" /> <delete dir="${project.build.outputDirectory}/WEB-INF" /> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>