ui-designer-backend-webapp
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.bonitasoft.web</groupId> <artifactId>ui-designer-backend-webapp</artifactId> <version>1.13.1</version> </dependency>
<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>org.bonitasoft.web</groupId> <artifactId>ui-designer-backend</artifactId> <version>1.13.1</version> </parent> <properties> <uidModelVersion>2.1</uidModelVersion> </properties> <artifactId>ui-designer-backend-webapp</artifactId> <packaging>war</packaging> <dependencies> <dependency> <groupId>org.bonitasoft.web</groupId> <artifactId>ui-designer-backend-contract</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.bonitasoft.web</groupId> <artifactId>ui-designer-backend-migrationReport</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.bonitasoft.web</groupId> <artifactId>ui-designer-frontend</artifactId> <version>${project.version}</version> <type>zip</type> <classifier>dist</classifier> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-joda</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>org.zeroturnaround</groupId> <artifactId>zt-zip</artifactId> </dependency> <dependency> <groupId>com.github.jknack</groupId> <artifactId>handlebars</artifactId> </dependency> <dependency> <groupId>com.github.jknack</groupId> <artifactId>handlebars-jackson2</artifactId> </dependency> <dependency> <groupId>org.fedorahosted.tennera</groupId> <artifactId>jgettext</artifactId> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> </dependency> <!-- Spring --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-websocket</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-messaging</artifactId> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> </dependency> <!-- Mandatory after spring 5 update --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId> <version>5.4.1.Final</version> </dependency> <dependency> <groupId>org.jsoup</groupId> <artifactId>jsoup</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <!-- Use in conditional processing in configuration log files --> <dependency> <groupId>org.codehaus.janino</groupId> <artifactId>janino</artifactId> <version>2.7.8</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>org.mitre.dsmiley.httpproxy</groupId> <artifactId>smiley-http-proxy-servlet</artifactId> <version>1.10</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> </dependency> <!-- TESTS DEPENDENCIES --> <dependency> <groupId>org.bonitasoft.web</groupId> <artifactId>ui-designer-backend-contract</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path-assert</artifactId> <version>2.2.0</version> <scope>test</scope> </dependency> <dependency> <groupId>pl.pragmatists</groupId> <artifactId>JUnitParams</artifactId> <version>1.0.4</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.dreamhead</groupId> <artifactId>moco-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <version>3.1.6</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.10</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.4</version> <scope>provided</scope> </dependency> <!-- Required by Java 11 --> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> <!-- Required by Java 11 --> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> <scope>test</scope> </dependency> <!-- Mandatory after jetty-maven-plugin update --> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-security</artifactId> <version>9.4.14.v20181114</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-client</artifactId> <version>9.4.14.v20181114</version> </dependency> <dependency> <groupId>org.eclipse.jdt</groupId> <artifactId>ecj</artifactId> <version>3.14.0</version> </dependency> <dependency> <groupId>org.glassfish</groupId> <artifactId>javax.el</artifactId> <version>3.0.1-b08</version> </dependency> </dependencies> <build> <finalName>ui-designer-${project.version}</finalName> <!-- filtering only properties file --> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>application.properties</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> <excludes> <exclude>application.properties</exclude> </excludes> </resource> <resource> <directory>node_modules/widget-builder/src</directory> <includes> <include>widgetDirectiveTemplate.hbs.js</include> </includes> <targetPath>templates</targetPath> </resource> <resource> <directory>target/generated-sources</directory> </resource> </resources> <!-- the properties files are filtered --> <testResources> <testResource> <directory>src/test/resources</directory> <filtering>true</filtering> <includes> <include>*.properties</include> </includes> </testResource> <testResource> <directory>src/test/resources</directory> <filtering>false</filtering> <excludes> <exclude>*.properties</exclude> </excludes> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.3</version> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> <attachClasses>true</attachClasses> </configuration> </plugin> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>9.4.14.v20181114</version> <configuration> <scanIntervalSeconds>2</scanIntervalSeconds> </configuration> </plugin> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.3-SNAPSHOT</version> <executions> <execution> <id>tomcat-run</id> <goals> <goal>exec-war-only</goal> </goals> <phase>package</phase> <configuration> <finalName>${project.build.finalName}-standalone.jar</finalName> <path>/bonita</path> </configuration> </execution> </executions> <dependencies> <!-- Embedded tomcat does not have websocket --> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-websocket</artifactId> <version>7.0.57</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> <executions> <execution> <id>unpack</id> <phase>process-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.bonitasoft.web</groupId> <artifactId>ui-designer-frontend</artifactId> <version>${project.version}</version> <type>zip</type> <classifier>dist</classifier> <outputDirectory>${project.build.directory}/classes/static</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install node and yarn</id> <goals> <goal>install-node-and-yarn</goal> </goals> <phase>initialize</phase> </execution> <execution> <id>yarn install</id> <goals> <goal>yarn</goal> </goals> <phase>initialize</phase> <configuration> <arguments>install</arguments> </configuration> </execution> <execution> <id>yarn build</id> <goals> <goal>yarn</goal> </goals> <phase>generate-sources</phase> <configuration> <arguments>run build</arguments> </configuration> </execution> <execution> <id>yarn test</id> <goals> <goal>yarn</goal> </goals> <phase>test</phase> <configuration> <arguments>test</arguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.6</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jsonschema2pojo</groupId> <artifactId>jsonschema2pojo-maven-plugin</artifactId> <version>1.0.2</version> <configuration> <sourceDirectory>${project.build.directory}/widget-schema/</sourceDirectory> <outputDirectory>${project.build.directory}/generated-sources</outputDirectory> <targetPackage>org.bonitasoft.web.designer.generator.widgets</targetPackage> <annotationStyle>none</annotationStyle> <includeAdditionalProperties>false</includeAdditionalProperties> <includeHashcodeAndEquals>false</includeHashcodeAndEquals> <includeToString>false</includeToString> </configuration> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>dependencies</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>license-checker</id> <goals> <goal>yarn</goal> </goals> <phase>initialize</phase> <configuration> <arguments>add --dev license-checker</arguments> </configuration> </execution> <execution> <id>list dependencies</id> <goals> <goal>yarn</goal> </goals> <phase>initialize</phase> <configuration> <arguments> listDependencies </arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>