Skip to content
Snippets Groups Projects
Commit 3d043341 authored by OZGCloud's avatar OZGCloud
Browse files

add pom.xml to client

parent 4c12a8fc
Branches
Tags
No related merge requests found
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
"start": "run-s \"ng -- serve --port 4200 --disable-host-check --proxy-config proxy.conf.json\" --", "start": "run-s \"ng -- serve --port 4200 --disable-host-check --proxy-config proxy.conf.json\" --",
"build": "ng build", "build": "ng build",
"test": "ng test", "test": "ng test",
"ci-build": "ng build",
"ci-test": "ng test",
"lint": "nx workspace-lint && ng lint", "lint": "nx workspace-lint && ng lint",
"e2e": "ng e2e", "e2e": "ng e2e",
"affected:apps": "nx affected:apps", "affected:apps": "nx affected:apps",
......
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<groupId>de.itvsh.ozg</groupId>
<artifactId>goofy</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>goofy-client</artifactId>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<filesets>
<fileset>
<directory>dist</directory>
<includes>
<include>*</include>
<include>**/*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>test-application</id>
<phase>test</phase>
<configuration>
<workingDirectory>./</workingDirectory>
<executable>npm</executable>
<arguments>
<argument>run</argument>
<argument>ci-test</argument>
</arguments>
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
<execution>
<id>build-application</id>
<phase>compile</phase>
<configuration>
<workingDirectory>./</workingDirectory>
<executable>npm</executable>
<arguments>
<argument>run</argument>
<argument>ci-build</argument>
</arguments>
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<activation>
<property>
<name>!skipNpmInstall</name>
</property>
</activation>
<id>npmInstall</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>install-dependencies</id>
<phase>generate-sources</phase>
<configuration>
<workingDirectory>./</workingDirectory>
<executable>npm</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>goofy-client</module>
<module>goofy-server</module> <module>goofy-server</module>
<module>goofy-api</module> <module>goofy-api</module>
<module>goofy-service</module> <module>goofy-service</module>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment