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

Merge branch 'master' of bitbucket.org:mgm-ozg/goofy

parents e470bded 3d043341
Branches
No related tags found
No related merge requests found
# Template maven-build
# This template allows you to test and build your Java project with Maven.
# The workflow allows running tests, code checkstyle and security scans on the default branch.
# Prerequisites: pom.xml and appropriate project structure should exist in the repository.
image: maven:3.6.3
pipelines:
default:
- parallel:
- step:
name: Build and Test
caches:
- maven
script:
- mvn -B verify --file pom.xml
after-script:
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
- pipe: atlassian/checkstyle-report:0.2.0
- step:
name: Security Scan
script:
# Run a security scan for sensitive data.
# See more security tools at https://bitbucket.org/product/features/pipelines/integrations?&category=security
- pipe: atlassian/git-secrets-scan:0.4.3
\ No newline at end of file
......@@ -9,6 +9,8 @@
"start": "run-s \"ng -- serve --port 4300 --disable-host-check --proxy-config proxy.conf.json\" --",
"build": "ng build",
"test": "ng test",
"ci-build": "ng build",
"ci-test": "ng test",
"lint": "nx workspace-lint && ng lint",
"e2e": "ng e2e",
"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 @@
<packaging>pom</packaging>
<modules>
<module>goofy-client</module>
<module>goofy-server</module>
<module>goofy-api</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