diff --git a/.gitignore b/.gitignore index 06b7a0cc..5b5cf1cc 100644 --- a/.gitignore +++ b/.gitignore @@ -88,7 +88,6 @@ buildNumber.properties # NPM node_modules/ -package-lock.json yarn.lock # Webpack diff --git a/pom.xml b/pom.xml index 12ce824e..98ea7f6e 100644 --- a/pom.xml +++ b/pom.xml @@ -72,7 +72,7 @@ 2.5.3 [maven-scm] : - clean install + -Pcommit-changed-npm-files clean install scm:add scm:checkin install release true @@ -601,6 +601,27 @@ Bundle-DocURL: + + commit-changed-npm-files + + false + + + + + + org.apache.maven.plugins + maven-scm-plugin + + ui.frontend/package.json,ui.frontend/package-lock.json + [maven-release-plugin] :update react-components version to ${core.cif.components.version} + false + + + + + + diff --git a/ui.frontend/pom.xml b/ui.frontend/pom.xml index b04454b6..62fbdcd9 100644 --- a/ui.frontend/pom.xml +++ b/ui.frontend/pom.xml @@ -75,7 +75,7 @@ - + @@ -168,6 +168,38 @@ + + release-prepare + + false + + + + + org.codehaus.mojo + exec-maven-plugin + 3.0.0 + + + react-components-install + generate-resources + + exec + + + npm + + install + -S + @adobe/aem-core-cif-react-components@${core.cif.components.version} + + + + + + + +