Skip to content

Commit c0921ae

Browse files
committed
Use frontend-maven-plugin configuration of parent POM.
1 parent 8d42bfb commit c0921ae

File tree

4 files changed

+9
-40
lines changed

4 files changed

+9
-40
lines changed

.mvn_exec_node

Whitespace-only changes.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@
2222
"remark-preset-lint-recommended": "6.1.3"
2323
},
2424
"scripts": {
25-
"full-build": "npm-run-all node-sass-build build css-rtl css-prefix",
25+
"mvnbuild": "npm-run-all node-sass-build build css-rtl css-prefix",
2626
"node-sass-build": "npm rebuild node-sass",
2727
"build": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 etc -o target/bootstrap5-api/css",
2828
"css-rtl": "cross-env NODE_ENV=RTL postcss --config etc/postcss.config.js --dir \"target/bootstrap5-api/css\" --ext \".rtl.css\" \"target/bootstrap5-api/css/*.css\" \"!target/bootstrap5-api/css/*.min.css\" \"!target/bootstrap5-api/css/*.rtl.css\"",
2929
"css-prefix": "postcss --config etc/postcss.config.js --replace \"target/bootstrap5-api/css/*.css\" \"!target/bootstrap5-api/css/*.rtl*.css\" \"!target/bootstrap5-api/css/*.min.css\"",
30-
"lint-md": "remark ."
30+
"lint-md": "remark .",
31+
"mvntest": ""
3132
},
3233
"remarkConfig": {
3334
"plugins": [

pom.xml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jvnet.hudson.plugins</groupId>
66
<artifactId>analysis-pom</artifactId>
7-
<version>6.10.0</version>
7+
<version>6.12.0</version>
88
<relativePath />
99
</parent>
1010

@@ -75,43 +75,6 @@
7575
</filesets>
7676
</configuration>
7777
</plugin>
78-
<plugin>
79-
<groupId>com.github.eirslett</groupId>
80-
<artifactId>frontend-maven-plugin</artifactId>
81-
<version>1.13.4</version>
82-
<executions>
83-
<execution>
84-
<id>install node and npm</id>
85-
<goals>
86-
<goal>install-node-and-npm</goal>
87-
</goals>
88-
<phase>generate-resources</phase>
89-
<configuration>
90-
<nodeVersion>v18.12.0</nodeVersion>
91-
</configuration>
92-
</execution>
93-
<execution>
94-
<id>npm install</id>
95-
<goals>
96-
<goal>npm</goal>
97-
</goals>
98-
<phase>generate-resources</phase>
99-
<configuration>
100-
<arguments>install</arguments>
101-
</configuration>
102-
</execution>
103-
<execution>
104-
<id>npm build</id>
105-
<goals>
106-
<goal>npm</goal>
107-
</goals>
108-
<phase>compile</phase>
109-
<configuration>
110-
<arguments>run full-build</arguments>
111-
</configuration>
112-
</execution>
113-
</executions>
114-
</plugin>
11578
<plugin>
11679
<groupId>org.apache.maven.plugins</groupId>
11780
<artifactId>maven-resources-plugin</artifactId>

release.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
git pull
4+
git push
5+
mvn -B clean release:prepare release:perform

0 commit comments

Comments
 (0)