Skip to content

Commit

Permalink
Merge pull request #157 from jenkinsci/frontend-maven-plugin
Browse files Browse the repository at this point in the history
Use frontend-maven-plugin configuration of parent POM
  • Loading branch information
uhafner authored Sep 15, 2023
2 parents 1a76b48 + 43531b8 commit 83ea7e8
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 83ea7e8

Please sign in to comment.