diff --git a/renovate.json b/renovate.json index 7b857add..0fd71d36 100644 --- a/renovate.json +++ b/renovate.json @@ -5,9 +5,22 @@ ], "enabledManagers": [ "npm", - "maven" + "nvm", + "maven", + "custom.regex" ], "npm": { "minimumReleaseAge": "3 days" - } + }, + "customManagers": [ + { + "customType": "regex", + "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}maven{{/if}}", + "fileMatch": ["(^|/)pom\\.xml$"], + "matchStrings": [ + "##\\s??renovate:( datasource=(?[a-z-.]+?))? depName=(?[^\\s]+?)(?: packageName=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?\\s+<(.+\\.)?version>(?.+)<\\/(.+\\.)?version>" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}maven{{/if}}" + } + ] } diff --git a/src/main/resources/archetype-resources/frontend/pom.xml b/src/main/resources/archetype-resources/frontend/pom.xml index 97ef5424..037c34e4 100644 --- a/src/main/resources/archetype-resources/frontend/pom.xml +++ b/src/main/resources/archetype-resources/frontend/pom.xml @@ -1,7 +1,6 @@ 4.0.0 -#set( $nodeJsVersion = "20.13.1" ) ${groupId} @@ -17,6 +16,11 @@ ${projectName} Frontend + +## renovate: datasource=node-version depName=node + v20.13.1 + + @@ -45,7 +49,7 @@ - ${nodeJsVersion} + ${nodejs.version} ${project.basedir} @@ -74,7 +78,7 @@ process-resources - v${nodeJsVersion} + ${nodejs.version} diff --git a/src/main/resources/archetype-resources/parent/pom.xml b/src/main/resources/archetype-resources/parent/pom.xml index ae9668af..3dd4e176 100644 --- a/src/main/resources/archetype-resources/parent/pom.xml +++ b/src/main/resources/archetype-resources/parent/pom.xml @@ -27,16 +27,18 @@ enabled -#if ( $optionAemVersion != "cloud" or $optionAcsCommons == "y" ) -#end #if ( $optionAemVersion != "cloud" ) +## renovate: depName=com.adobe.cq:core.wcm.components.core 2.24.6 #end #if( $optionAcsCommons == "y" ) +## renovate: depName=com.adobe.acs:acs-aem-commons-bundle 6.6.0 #end +## renovate: depName=org.mockito:mockito-core + 5.11.0 2021-01-01T00:00:00Z @@ -92,11 +94,13 @@ org.apache.sling org.apache.sling.models.api +## renovate: depName=org.apache.sling:org.apache.sling.models.api 1.5.0 org.apache.sling org.apache.sling.models.impl +## renovate: depName=org.apache.sling:org.apache.sling.models.impl 1.6.4 @@ -106,21 +110,25 @@ org.apache.sling org.apache.sling.caconfig.api +## renovate: depName=org.apache.sling:org.apache.sling.caconfig.api 1.3.0 org.apache.sling org.apache.sling.caconfig.spi +## renovate: depName=org.apache.sling:org.apache.sling.caconfig.spi 1.4.0 org.apache.sling org.apache.sling.caconfig.impl +## renovate: depName=org.apache.sling:org.apache.sling.caconfig.impl 1.6.0 org.apache.sling org.apache.sling.models.caconfig +## renovate: depName=org.apache.sling:org.apache.sling.models.caconfig 1.0.2 @@ -132,6 +140,7 @@ io.wcm io.wcm.caconfig.extensions #if ( $optionContextAwareConfigLatest == "y" || $optionAemVersion == "cloud" ) +## renovate: depName=io.wcm:io.wcm.caconfig.extensions 1.9.4 #else @@ -141,11 +150,13 @@ io.wcm io.wcm.caconfig.editor +## renovate: depName=io.wcm:io.wcm.caconfig.editor 1.16.0 io.wcm io.wcm.sling.commons +## renovate: depName=io.wcm:io.wcm.sling.commons 1.6.4 #end @@ -153,62 +164,74 @@ io.wcm io.wcm.sling.models +## renovate: depName=io.wcm:io.wcm.sling.models 1.6.0 io.wcm io.wcm.wcm.commons +## renovate: depName=io.wcm:io.wcm.wcm.commons 1.10.0 io.wcm io.wcm.wcm.parsys +## renovate: depName=io.wcm:io.wcm.wcm.parsys 1.7.4 io.wcm io.wcm.wcm.ui.granite +## renovate: depName=io.wcm:io.wcm.wcm.ui.granite 1.10.4 io.wcm io.wcm.wcm.ui.clientlibs +## renovate: depName=io.wcm:io.wcm.wcm.ui.clientlibs 1.3.0 io.wcm io.wcm.handler.commons +## renovate: depName=io.wcm:io.wcm.handler.commons 2.0.0 io.wcm io.wcm.handler.url +## renovate: depName=io.wcm:io.wcm.handler.url 2.1.0 io.wcm io.wcm.handler.media +## renovate: depName=io.wcm:io.wcm.handler.media 2.0.8 io.wcm io.wcm.handler.link +## renovate: depName=io.wcm:io.wcm.handler.link 2.2.0 io.wcm io.wcm.handler.richtext +## renovate: depName=io.wcm:io.wcm.handler.richtext 2.0.0 io.wcm io.wcm.wcm.core.components +## renovate: depName=io.wcm:io.wcm.wcm.core.components 2.0.2-2.23.2 #end io.wcm.devops.conga.definitions io.wcm.devops.conga.definitions.aem +## renovate: depName=io.wcm.devops.conga.definitions:io.wcm.devops.conga.definitions.aem 2.0.4 @@ -216,18 +239,21 @@ io.wcm io.wcm.testing.aem-mock.junit5 +## renovate: depName=io.wcm:io.wcm.testing.aem-mock.junit5 5.5.2 #if ( $optionAemVersion == "6.5" && ($optionAemServicePack=="y" || $optionAemServicePackAPI=="y") ) io.wcm io.wcm.testing.logging.logback +## renovate: depName=io.wcm:io.wcm.testing.logging.logback 1.0.0 #else org.apache.sling org.apache.sling.testing.logging-mock +## renovate: depName=org.apache.sling:org.apache.sling.testing.logging-mock 2.0.0 #end @@ -242,11 +268,13 @@ org.apache.sling org.apache.sling.testing.caconfig-mock-plugin +## renovate: depName=org.apache.sling:org.apache.sling.testing.caconfig-mock-plugin 1.5.4 io.wcm io.wcm.testing.wcm-io-mock.caconfig +## renovate: depName=io.wcm:io.wcm.testing.wcm-io-mock.caconfig 1.2.0 #end @@ -254,16 +282,19 @@ io.wcm io.wcm.testing.wcm-io-mock.sling +## renovate: depName=io.wcm:io.wcm.testing.wcm-io-mock.sling 1.2.0 io.wcm io.wcm.testing.wcm-io-mock.wcm +## renovate: depName=io.wcm:io.wcm.testing.wcm-io-mock.wcm 1.2.0 io.wcm io.wcm.testing.wcm-io-mock.handler +## renovate: depName=io.wcm:io.wcm.testing.wcm-io-mock.handler 2.0.0 #end @@ -321,20 +352,20 @@ org.junit junit-bom +## renovate: depName=org.junit:junit-bom 5.10.2 pom import -#set( $mockitoVersion = "5.11.0" ) org.mockito mockito-core - ${mockitoVersion} + ${mockito.version} org.mockito mockito-junit-jupiter - ${mockitoVersion} + ${mockito.version} #if ( $optionIntegrationTests == "y" ) @@ -342,18 +373,21 @@ junit junit +## renovate: depName=junit:junit 4.13.2 #if ( $optionAemVersion == "6.5" ) com.adobe.cq cq-testing-clients-65 +## renovate: depName=com.adobe.cq:cq-testing-clients-65 1.1.1 #else com.adobe.cq aem-cloud-testing-clients +## renovate: depName=com.adobe.cq:aem-cloud-testing-clients 1.2.5 #end