citrus-simulator-ui
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.citrusframework</groupId> <artifactId>citrus-simulator-ui</artifactId> <version>3.0.2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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.citrusframework</groupId> <artifactId>citrus-simulator</artifactId> <version>3.0.2</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>citrus-simulator-ui</artifactId> <name>${project.artifactId}</name> <properties> <skipFrontend>true</skipFrontend> </properties> <dependencies> <dependency> <groupId>org.citrusframework</groupId> <artifactId>citrus-spring-boot-simulator</artifactId> </dependency> <!-- Additional UI dependencies --> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifactId> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> </dependency> <!-- Core web dependencies --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <scope>provided</scope> </dependency> <!-- Annotation Processors --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.citrusframework</groupId> <artifactId>citrus-ws</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory>node_modules</directory> <includes> <include>**/*</include> </includes> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <configuration> <installDirectory>target</installDirectory> <skip>${skipFrontend}</skip> </configuration> <executions> <execution> <id>node-npm-setup</id> <goals> <goal>install-node-and-npm</goal> </goals> <configuration> <nodeVersion>${node.version}</nodeVersion> <npmVersion>${npm.version}</npmVersion> </configuration> </execution> <execution> <id>npm-install</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>ci --cache .npm --force</arguments> </configuration> </execution> <execution> <id>npm-test</id> <goals> <goal>npm</goal> </goals> <phase>test</phase> <configuration> <arguments>test</arguments> </configuration> </execution> <execution> <id>ng-build</id> <goals> <goal>npm</goal> </goals> <phase>compile</phase> <configuration> <arguments>run build</arguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> <annotationProcessorPaths> <path> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <version>${spring-boot.version}</version> </path> </annotationProcessorPaths> </configuration> </plugin> </plugins> </build> <profiles> <profile> <!-- This profile makes it possible to serve the frontend using Maven only. It starts the angular development server and therefore starts serving the pages (reloading on changes being enabled). --> <id>development</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <goals> <goal>npm</goal> </goals> <configuration> <arguments>run serve</arguments> </configuration> </plugin> </plugins> </build> </profile> <profile> <!-- This profile can be activated to speed up the maven build when re-building the citrus-simulator-ui module. It skips removal of the npm directory, avoiding having to re-download all the javascript dependencies again. As long as the javascript dependencies haven't changed you can activate this profile. --> <id>ui-node-modules-skip-clean</id> <build> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory>node_modules</directory> <excludes> <exclude>**/*</exclude> </excludes> </fileset> </filesets> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>