ui-react
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.syndesis.ui</groupId>
<artifactId>ui-react</artifactId>
<version>1.13.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2016 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.syndesis</groupId>
<artifactId>syndesis-parent</artifactId>
<version>1.13.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>io.syndesis.ui</groupId>
<artifactId>ui-react</artifactId>
<version>1.13.2</version>
<packaging>pom</packaging>
<name>UI React</name>
<properties>
<yarn-install-args />
<yarn-verbose />
<npm-verbose />
<docker-base-image>centos/nginx-114-centos7</docker-base-image>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<followSymLinks>false</followSymLinks>
<filesets>
<fileset>
<directory>dist</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>install-node-and-yarn</id>
<phase>initialize</phase>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
<yarnVersion>${yarn.version}</yarnVersion>
</configuration>
</execution>
<execution>
<id>yarn-install</id>
<phase>compile</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<environmentVariables>
<CYPRESS_INSTALL_BINARY>0</CYPRESS_INSTALL_BINARY>
<PUPPETEER_SKIP_CHROMIUM_DOWNLOAD>true</PUPPETEER_SKIP_CHROMIUM_DOWNLOAD>
</environmentVariables>
<arguments>install --force --no-progress --frozen-lockfile ${yarn-install-args} ${yarn-verbose}</arguments>
</configuration>
</execution>
<execution>
<id>yarn-lint</id>
<phase>verify</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>lint</arguments>
<yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
</configuration>
</execution>
<execution>
<id>yarn-build</id>
<phase>compile</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>build</arguments>
<yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
</configuration>
</execution>
<execution>
<id>yarn-test</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>test</phase>
<configuration>
<arguments>test</arguments>
<skip>${skipTests}</skip>
<yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>with-proxy</id>
<activation>
<property>
<name>proxy-server</name>
</property>
</activation>
<properties>
<yarn-install-args>--network-concurrency=30 --child-concurrency=1 --network-timeout=100000</yarn-install-args>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>require-proxy-properties</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>proxy-user</property>
</requireProperty>
<requireProperty>
<property>proxy-password</property>
</requireProperty>
<requireProperty>
<property>proxy-port</property>
</requireProperty>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>set https proxy</id>
<phase>generate-sources</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set https-proxy http://${proxy-user}:${proxy-password}@${proxy-server}:${proxy-port}</arguments>
</configuration>
</execution>
<execution>
<id>set http proxy</id>
<phase>generate-sources</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set proxy http://${proxy-user}:${proxy-password}@${proxy-server}:${proxy-port}</arguments>
</configuration>
</execution>
<execution>
<id>set maxconn</id>
<phase>generate-sources</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set maxsockets 30</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>with-custom-registry</id>
<activation>
<property>
<name>custom-registry</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>yarn set registry</id>
<phase>generate-sources</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set registry ${custom-registry}</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>with-custom-cafile</id>
<activation>
<property>
<name>custom-cafile</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>yarn set cafile</id>
<phase>generate-sources</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set cafile ${custom-cafile}</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>insecure</id>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>yarn set no-strict ssl</id>
<phase>generate-sources</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set strict-ssl false</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>verbose</id>
<properties>
<yarn-verbose>--verbose</yarn-verbose>
<npm-verbose>--loglevel=silly</npm-verbose>
</properties>
</profile>
<profile>
<id>flash</id>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>yarn-lint</id>
<phase />
</execution>
<execution>
<id>yarn-test</id>
<phase />
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>image</id>
<activation>
<property>
<name>::image</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<executions>
<execution>
<id>exec</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Important here, otherwise fmp silently ignores the build config -->
<skipBuildPom>false</skipBuildPom>
<verbose>true</verbose>
<!-- Only when running in openshift: -->
<buildStrategy>docker</buildStrategy>
<images>
<image>
<name>${image.ui}</name>
<build>
<assembly>
<inline>
<fileSet>
<directory>syndesis/build</directory>
</fileSet>
</inline>
</assembly>
<dockerFile>${basedir}/docker/Dockerfile</dockerFile>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>non-ui-related-so-disabled</id>
<activation>
<!-- this was activeByDefult=true, but alas
https://issues.apache.org/jira/browse/MNG-4917
-->
<file>
<exists>.</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
<execution>
<id>basepom.default-it</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
<execution>
<id>default-deploy</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
<execution>
<id>attach-javadocs</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.ning.maven.plugins</groupId>
<artifactId>maven-dependency-versions-check-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
<execution>
<id>attach-sources</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.hubspot.maven.plugins</groupId>
<artifactId>dependency-management-maven-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.hubspot.maven.plugins</groupId>
<artifactId>dependency-scope-maven-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.basepom.maven</groupId>
<artifactId>duplicate-finder-maven-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase />
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<id>default-install</id>
<phase />
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>deploy-archives</id>
<activation>
<property>
<name>deploy.archives</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>distribution-archive</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<tarLongFileMode>posix</tarLongFileMode>
<ignoreMissingDescriptor>false</ignoreMissingDescriptor>
<descriptors>
<descriptor>maven/assembly/unix-dist.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>basepom.default</id>
<phase>deploy</phase>
</execution>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>macosx</id>
<activation>
<os><family>mac</family></os>
</activation>
<properties>
<os.type>darwin</os.type>
</properties>
</profile>
<profile>
<id>linux</id>
<activation>
<os><name>Linux</name></os>
</activation>
<properties>
<os.type>linux</os.type>
</properties>
</profile>
<profile>
<id>windows</id>
<activation>
<os><name>Windows</name></os>
</activation>
<properties>
<os.type>win32</os.type>
</properties>
</profile>
</profiles>
</project>