Skip to content

Commit

Permalink
Use frontend-maven-plugin configuration of parent POM.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 15, 2023
1 parent 1a76b48 commit 43531b8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 29 deletions.
Empty file added .mvn_exec_node
Empty file.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"remark-preset-lint-recommended": "6.1.3"
},
"scripts": {
"lint-md": "remark ."
"lint-md": "remark .",
"mvnbuild": "",
"mvntest": ""
},
"remarkConfig": {
"plugins": [
Expand Down
29 changes: 1 addition & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analysis-pom</artifactId>
<version>6.10.0</version>
<version>6.12.0</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -68,33 +68,6 @@
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.13.4</version>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<nodeVersion>v18.12.0</nodeVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

git pull
git push
mvn -B clean release:prepare release:perform

0 comments on commit 43531b8

Please sign in to comment.