ebarboni commented on code in PR #161:
URL:
https://github.com/apache/netbeans-jenkins-lib/pull/161#discussion_r4457618649
##########
vars/asfMainNetBeansBuild.groovy:
##########
@@ -430,11 +442,19 @@ def doParallelClusters(cconfigs) {
sh "ant -f
build-${clustername}-temp/build.xml getallmavencoordinates
-Dmetabuild.branch=${branch}"
withMaven(maven:tooling.myMaven,jdk:tooling.jdktool,publisherStrategy:
'EXPLICIT',mavenLocalRepo: localRepo,options:[artifactsPublisher(disabled:
true)])
{
- sh "mvn
org.apache.maven.plugins:maven-dependency-plugin:3.5.0:get
-Dartifact=org.apache.netbeans.utilities:nb-repository-plugin:${repopluginversion}
-Dmaven.repo.local=${env.WORKSPACE}/.repository
-DremoteRepositories=apache.snapshots.https::::https://repository.apache.org/snapshots"
- def commonparam =
"-Dexternallist=${netbeansbase}/build/external.info"
- //sh "mvn
org.apache.netbeans.utilities:nb-repository-plugin:1.5:download ${commonparam}
-DrepositoryUrl=https://repo.maven.apache.org/maven2"
if (heavyrelease) { // skip mavenrepo
for vscode
- sh "mvn
org.apache.netbeans.utilities:nb-repository-plugin:${repopluginversion}:populate
${commonparam} -DnetbeansNbmDirectory=${netbeansbase}/nbms
-DnetbeansInstallDirectory=${netbeansbase}/netbeans
-DnetbeansSourcesDirectory=${netbeansbase}/build/source-zips
-DnetbeansJavadocDirectory=${netbeansbase}/build/javadoc
-DparentGAV=org.apache.netbeans:netbeans-parent:5
-DforcedVersion=${mavenVersion} -DskipInstall=true
-DdeployUrl=file://${env.WORKSPACE}/mavenrepository"
+ // mvn
org.apache.netbeans.utilities:nb-repository-plugin:${repopluginversion}:populate
${commonparam}
+ //
-DnetbeansNbmDirectory=${netbeansbase}/nbms
+ //
-DnetbeansInstallDirectory=${netbeansbase}/netbeans
+ //
-DnetbeansSourcesDirectory=${netbeansbase}/build/source-zips
+ //
-DnetbeansJavadocDirectory=${netbeansbase}/build/javadoc
+ //
-DparentGAV=org.apache.netbeans:netbeans-parent:5
+ // -DforcedVersion=${mavenVersion}
+ // -DskipInstall=true
+ //
-DdeployUrl=file://${env.WORKSPACE}/mavenrepository
+ def commonparam = "-DskipInstall
-DdeployUrl=file://${env.WORKSPACE}/mavenrepository
-Dexternallist=${netbeansbase}/build/external.info"
+ sh "ant -f maven-install
-DmavenVersion=${mavenVersion} -DmavenArgs='${commonparam}'"
+
Review Comment:
+1 we should wait there. And we need I think a way to use snapshot of
nb-repoplugin. maven is moving to 3.10 and later 4.x with new resolver and
stuff that may need patching during release period
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists