Commit f91f1498 authored by Matija Obreza's avatar Matija Obreza

Removed pom.xml

parent cc561680
<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>
<artifactId>genesys-pgr-ui</artifactId>
<name>Genesys PGR UI</name>
<description>React web application with server rendering</description>
<properties>
<defaultPort>3000</defaultPort>
<defaultHost>0.0.0.0</defaultHost>
<clientSicret>my-secret-client</clientSicret>
<clientId>my-trusted-client</clientId>
<apiUrl>http://localhost:8080</apiUrl>
<googleClientId>todo</googleClientId>
<npm.executable>npm</npm.executable>
</properties>
<profiles>
<profile>
<id>production</id>
<activation>
<property>
<name>environment</name>
<value>production</value>
</property>
</activation>
<properties>
<nodeEnv>production</nodeEnv>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<configuration>
<environmentVariables>
<NODE_ENV>${nodeEnv}</NODE_ENV>
<PORT>${defaultPort}</PORT>
<HOST>${defaultHost}</HOST>
<CLIENT_SECRET>${clientSicret}</CLIENT_SECRET>
<CLIENT_ID>${clientId}</CLIENT_ID>
<GENESYS_API_URL>${apiUrl}</GENESYS_API_URL>
<GOOGLE_CLIENT_ID>${googleClientId}</GOOGLE_CLIENT_ID>
</environmentVariables>
</configuration>
<executions>
<execution>
<id>npmInstall</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${npm.executable}</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npmSSR</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${npm.executable}</executable>
<arguments>
<argument>run</argument>
<argument>ssr</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>development</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>environment</name>
<value>development</value>
</property>
</activation>
<properties>
<nodeEnv>development</nodeEnv>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<configuration>
<environmentVariables>
<NODE_ENV>${nodeEnv}</NODE_ENV>
<PORT>${defaultPort}</PORT>
<HOST>${defaultHost}</HOST>
<CLIENT_SECRET>${clientSicret}</CLIENT_SECRET>
<CLIENT_ID>${clientId}</CLIENT_ID>
<GENESYS_API_URL>${apiUrl}</GENESYS_API_URL>
<GOOGLE_CLIENT_ID>${googleClientId}</GOOGLE_CLIENT_ID>
</environmentVariables>
</configuration>
<executions>
<execution>
<id>npmInstall</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${npm.executable}</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npmBuild</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${npm.executable}</executable>
<arguments>
<argument>run</argument>
<argument>build</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npmServer</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${npm.executable}</executable>
<arguments>
<argument>run</argument>
<argument>server</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Profile for Windows -->
<profile>
<id>platform-windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<!-- Override the executable names for Windows -->
<npm.executable>npm.cmd</npm.executable>
</properties>
</profile>
</profiles>
</project>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment