Commit 9edb559b authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Remove NPM from pom file

parent 6bbd9b47
clean:;
mvn clean
compile-java: validate-spec;
compile-java: validate-spec generate-spec;
mvn compile package
compile-java-quick: validate-spec;
mvn compile package -Dmaven.test.skip=true
......@@ -8,8 +8,10 @@ compile: clean compile-java;
compile-quick: clean compile-java-quick;
install-npm:;
npm ci
generate-spec: install-npm;
npm run generate-json-schema
validate-spec: install-npm;
npm run test
npm run test
compile-start: compile-quick;
docker-compose down
docker-compose build
......
......@@ -187,56 +187,6 @@
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>npm install (initialize)</id>
<goals>
<goal>exec</goal>
</goals>
<phase>initialize</phase>
<configuration>
<executable>npm</executable>
<arguments>
<argument>install</argument>
<argument>-f</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npm clean</id>
<goals>
<goal>exec</goal>
</goals>
<phase>clean</phase>
<configuration>
<executable>npm</executable>
<arguments>
<argument>run</argument>
<argument>clean</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npm run pre-test</id>
<goals>
<goal>exec</goal>
</goals>
<phase>generate-test-resources</phase>
<configuration>
<executable>npm</executable>
<skip>${maven.test.skip}</skip>
<arguments>
<argument>run</argument>
<argument>generate-json-schema</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire-plugin.version}</version>
......
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