Closed timja closed 14 years ago
fwiw, I'm going to be using this bug to track any other Maven 3-specific errors/problems I run into building Hudson.
When updating this repository to an id of 'bogus', we then take errors on the following:
com.ds.tools.hudson:crowd:1.2-SNAPSHOT
com.progress.hudson:schedule-failed-builds:1.2-SNAPSHOT
com.redfin.hudson:url-change-trigger:1.3-SNAPSHOT
de.fspengler.hudson.pview:hudson-pview-plugin:1.8-SNAPSHOT
de.jamba.hudson.plugin.wsclean:hudson-wsclean-plugin:1.0.5-SNAPSHOT
hudson.plugins.cmake:cmakebuilder:1.6-SNAPSHOT
hudson.plugins.qmake:qmakebuilder:0.2
hudson.plugins:jclouds:1.0-SNAPSHOT
net.fredjean.ws7:ws7:1.0-SNAPSHOT
org.jvnet.hudson.plugins.findbugs:library:1.3.10-SNAPSHOT
org.jvnet.hudson.plugins.m2release:m2release:0.4.1-SNAPSHOT
org.jvnet.hudson.plugins.m2release:nexus:0.0.4-SNAPSHOT
org.jvnet.hudson.plugins:URLSCM:1.6-SNAPSHOT
org.jvnet.hudson.plugins:accurev:0.6.12-SNAPSHOT
org.jvnet.hudson.plugins:active-directory:1.17-SNAPSHOT
org.jvnet.hudson.plugins:analysis-collector:1.7-SNAPSHOT
org.jvnet.hudson.plugins:analysis-core:1.10-SNAPSHOT
org.jvnet.hudson.plugins:analysis-pom:1.13-SNAPSHOT
org.jvnet.hudson.plugins:analysis-test:1.4-SNAPSHOT
org.jvnet.hudson.plugins:audit-trail:1.5-SNAPSHOT
org.jvnet.hudson.plugins:backup:1.5-SNAPSHOT
org.jvnet.hudson.plugins:batch-task:1.14-SNAPSHOT
org.jvnet.hudson.plugins:bazaar:1.7-SNAPSHOT
org.jvnet.hudson.plugins:bitkeeper:1.6-SNAPSHOT
org.jvnet.hudson.plugins:bugzilla:1.5-SNAPSHOT
org.jvnet.hudson.plugins:build-publisher:1.9-SNAPSHOT
org.jvnet.hudson.plugins:build-timeout:1.7-SNAPSHOT
org.jvnet.hudson.plugins:changelog-history:1.2-SNAPSHOT
org.jvnet.hudson.plugins:checkstyle:3.8-SNAPSHOT
org.jvnet.hudson.plugins:chucknorris:0.5-SNAPSHOT
org.jvnet.hudson.plugins:ci-game:1.18-SNAPSHOT
org.jvnet.hudson.plugins:claim:1.8-SNAPSHOT
org.jvnet.hudson.plugins:clearcase:1.3-SNAPSHOT
org.jvnet.hudson.plugins:clover:3.0.2-SNAPSHOT
org.jvnet.hudson.plugins:cmvc:0.4-SNAPSHOT
org.jvnet.hudson.plugins:cobertura:0.8.12-SNAPSHOT
org.jvnet.hudson.plugins:codeplex:1.1-SNAPSHOT
org.jvnet.hudson.plugins:copyartifact:1.8-SNAPSHOT
org.jvnet.hudson.plugins:cppunit:1.5-SNAPSHOT
org.jvnet.hudson.plugins:crap4j:0.8-SNAPSHOT
org.jvnet.hudson.plugins:cvs-tag:1.6-SNAPSHOT
org.jvnet.hudson.plugins:cygpath:1.4-SNAPSHOT
org.jvnet.hudson.plugins:deploy:1.6-SNAPSHOT
org.jvnet.hudson.plugins:description-setter:1.7-SNAPSHOT
org.jvnet.hudson.plugins:disk-usage:0.11-SNAPSHOT
org.jvnet.hudson.plugins:doclinks:0.4-SNAPSHOT
org.jvnet.hudson.plugins:downstream-buildview:1.5-SNAPSHOT
org.jvnet.hudson.plugins:downstream-ext:1.7-SNAPSHOT
org.jvnet.hudson.plugins:dry:2.8-SNAPSHOT
org.jvnet.hudson.plugins:easyant:1.2-SNAPSHOT
org.jvnet.hudson.plugins:ec2:1.9-SNAPSHOT
org.jvnet.hudson.plugins:email-ext:2.6-SNAPSHOT
org.jvnet.hudson.plugins:emma:1.21-SNAPSHOT
org.jvnet.hudson.plugins:emotional-hudson:1.3-SNAPSHOT
org.jvnet.hudson.plugins:extended-read-permission:1.1-SNAPSHOT
org.jvnet.hudson.plugins:findbugs:4.11-SNAPSHOT
org.jvnet.hudson.plugins:gallio:0.71-SNAPSHOT
org.jvnet.hudson.plugins:gant:1.3-SNAPSHOT
org.jvnet.hudson.plugins:gcal:0.4-SNAPSHOT
org.jvnet.hudson.plugins:git:0.8.3-SNAPSHOT
org.jvnet.hudson.plugins:googleanalytics:1.3-SNAPSHOT
org.jvnet.hudson.plugins:googlecode:1.6-SNAPSHOT
org.jvnet.hudson.plugins:gradle:1.4-SNAPSHOT
org.jvnet.hudson.plugins:grails:1.4-SNAPSHOT
org.jvnet.hudson.plugins:greenballs:1.7-SNAPSHOT
org.jvnet.hudson.plugins:grinder:1.5-SNAPSHOT
org.jvnet.hudson.plugins:groovy:1.5-SNAPSHOT
org.jvnet.hudson.plugins:hadoop:1.4-SNAPSHOT
org.jvnet.hudson.plugins:harvest:0.4-SNAPSHOT
org.jvnet.hudson.plugins:hello-world:1.318
org.jvnet.hudson.plugins:htmlpublisher:0.5-SNAPSHOT
org.jvnet.hudson.plugins:hudsontrayapp-pom:0.7.4-SNAPSHOT
org.jvnet.hudson.plugins:instant-messaging:1.8-SNAPSHOT
org.jvnet.hudson.plugins:ircbot:2.5-SNAPSHOT
org.jvnet.hudson.plugins:ivy:1.8-SNAPSHOT
org.jvnet.hudson.plugins:jabber:1.10-SNAPSHOT
org.jvnet.hudson.plugins:japex:1.7-SNAPSHOT
org.jvnet.hudson.plugins:javancss:1.1-SNAPSHOT
org.jvnet.hudson.plugins:javanet-trigger-installer:1.1-SNAPSHOT
org.jvnet.hudson.plugins:javanet-uploader:1.8-SNAPSHOT
org.jvnet.hudson.plugins:javanet:1.4-SNAPSHOT
org.jvnet.hudson.plugins:javatest-report:1.4-SNAPSHOT
org.jvnet.hudson.plugins:jmx:1.0-SNAPSHOT
org.jvnet.hudson.plugins:jobConfigHistory:1.6-SNAPSHOT
org.jvnet.hudson.plugins:join:1.9-SNAPSHOT
org.jvnet.hudson.plugins:jprt:1.318
org.jvnet.hudson.plugins:jsunit:0.5-SNAPSHOT
org.jvnet.hudson.plugins:jswidgets:1.5-SNAPSHOT
org.jvnet.hudson.plugins:jwsdp-sqe:1.1-SNAPSHOT
org.jvnet.hudson.plugins:kagemai:1.4-SNAPSHOT
org.jvnet.hudson.plugins:lastfailureversioncolumn:1.1-SNAPSHOT
org.jvnet.hudson.plugins:lastsuccessversioncolumn:1.1-SNAPSHOT
org.jvnet.hudson.plugins:mantis:0.10.2-SNAPSHOT
org.jvnet.hudson.plugins:maven1-snapshot-plugin:0.2-SNAPSHOT
org.jvnet.hudson.plugins:measurement-plots:0.2-SNAPSHOT
org.jvnet.hudson.plugins:mercurial:1.31-SNAPSHOT
org.jvnet.hudson.plugins:mibsr:1.4-SNAPSHOT
org.jvnet.hudson.plugins:msbuild:1.4-SNAPSHOT
org.jvnet.hudson.plugins:mstest:0.7-SNAPSHOT
org.jvnet.hudson.plugins:mysql-auth:1.1-SNAPSHOT
org.jvnet.hudson.plugins:naginator:1.6-SNAPSHOT
org.jvnet.hudson.plugins:nant:1.4.2-SNAPSHOT
org.jvnet.hudson.plugins:nested-view:1.3-SNAPSHOT
org.jvnet.hudson.plugins:network-monitor:1.0-SNAPSHOT
org.jvnet.hudson.plugins:next-build-number:1.1-SNAPSHOT
org.jvnet.hudson.plugins:nunit:0.11-SNAPSHOT
org.jvnet.hudson.plugins:perforce:1.1.1-SNAPSHOT
org.jvnet.hudson.plugins:phing:0.5-SNAPSHOT
org.jvnet.hudson.plugins:platformlabeler:1.2-SNAPSHOT
org.jvnet.hudson.plugins:plot:1.3-SNAPSHOT
org.jvnet.hudson.plugins:pmd:3.8-SNAPSHOT
org.jvnet.hudson.plugins:polarion:1.3-SNAPSHOT
org.jvnet.hudson.plugins:powershell:1.3-SNAPSHOT
org.jvnet.hudson.plugins:promoted-builds-simple:1.7-SNAPSHOT
org.jvnet.hudson.plugins:promoted-builds:1.8-SNAPSHOT
org.jvnet.hudson.plugins:pvcs_scm:1.1-SNAPSHOT
org.jvnet.hudson.plugins:pxe:1.6-SNAPSHOT
org.jvnet.hudson.plugins:rake:1.7-SNAPSHOT
org.jvnet.hudson.plugins:redmine:0.9-SNAPSHOT
org.jvnet.hudson.plugins:release:1.10-SNAPSHOT
org.jvnet.hudson.plugins:rotatews:1.1-SNAPSHOT
org.jvnet.hudson.plugins:ruby:1.3-SNAPSHOT
org.jvnet.hudson.plugins:rubyMetrics:1.5-SNAPSHOT
org.jvnet.hudson.plugins:sametime:0.2
org.jvnet.hudson.plugins:scons:0.3-SNAPSHOT
org.jvnet.hudson.plugins:scp:1.7-SNAPSHOT
org.jvnet.hudson.plugins:secret:1.7-SNAPSHOT
org.jvnet.hudson.plugins:sectioned-view:1.11-SNAPSHOT
org.jvnet.hudson.plugins:seleniumhq:0.3-SNAPSHOT
org.jvnet.hudson.plugins:setenv:1.2-SNAPSHOT
org.jvnet.hudson.plugins:sfee:1.0.4-SNAPSHOT
org.jvnet.hudson.plugins:sidebar-link:1.5-SNAPSHOT
org.jvnet.hudson.plugins:sonar:1.6-SNAPSHOT
org.jvnet.hudson.plugins:sourcemonitor:0.1-SNAPSHOT
org.jvnet.hudson.plugins:ssh-slaves:0.13-SNAPSHOT
org.jvnet.hudson.plugins:ssh:1.2-SNAPSHOT
org.jvnet.hudson.plugins:svn-tag:1.15-SNAPSHOT
org.jvnet.hudson.plugins:svncompat13:1.2-SNAPSHOT
org.jvnet.hudson.plugins:svncompat14:1.1-SNAPSHOT
org.jvnet.hudson.plugins:swarm-plugin:1.4-SNAPSHOT
org.jvnet.hudson.plugins:tasks:4.9-SNAPSHOT
org.jvnet.hudson.plugins:testabilityexplorer:0.4-SNAPSHOT
org.jvnet.hudson.plugins:text-finder:1.9-SNAPSHOT
org.jvnet.hudson.plugins:tfs:1.12-SNAPSHOT
org.jvnet.hudson.plugins:toolenv:1.1-SNAPSHOT
org.jvnet.hudson.plugins:trac:1.11-SNAPSHOT
org.jvnet.hudson.plugins:translation:1.5-SNAPSHOT
org.jvnet.hudson.plugins:twitter:0.5-SNAPSHOT
org.jvnet.hudson.plugins:validating-string-parameter:1.4-SNAPSHOT
org.jvnet.hudson.plugins:viewVC:1.4-SNAPSHOT
org.jvnet.hudson.plugins:violations:0.7.6-SNAPSHOT
org.jvnet.hudson.plugins:virtualbox-parent:0.3-SNAPSHOT
org.jvnet.hudson.plugins:vmware:0.9-SNAPSHOT
org.jvnet.hudson.plugins:vss:1.8-SNAPSHOT
org.jvnet.hudson.plugins:warnings:3.7-SNAPSHOT
org.jvnet.hudson.plugins:webtestpresenter:0.24-SNAPSHOT
org.jvnet.hudson.plugins:xunit:0.7-SNAPSHOT
org.jvnet.hudson.plugins:xvnc:1.9-SNAPSHOT
I shudder to think we will need to bump all of those versions to 1.361 but.. it probably has to be done.
there are also plugins missing the version and using LATEST which will fail on Maven3.
this was incorrectly fixed in an already released version of the plugin pom, but central and maven treat releases as golden and can not be changed. so if you have the bad version then you are stuck until it up versions.
see http://hudson.361315.n4.nabble.com/hpi-plugin-tt2196052.html#a2264030
So the Hudson parent pom needs bumping as well.
This is no longer the case - warnings are still popping up 'til we fix the plugin version numbers, but the build itself works.
[Originally depends on: JENKINS-6052]
[Originally depends on: JENKINS-7275]
When attempting to build Hudson with Maven 3, you get the following error:
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] The project org.jvnet.hudson.main:pom:1.356-SNAPSHOT (/home/abayer/src/hudson/main/pom.xml) has 1 error
[ERROR] 'distributionManagement.snapshotRepository.id' must not be 'local', this identifier is reserved.
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
This is because hudson/pom.xml has this in its section:
That needs to be changed to something other than "local" to work with Maven 3.
Originally reported by abayer, imported from: Can't build Hudson with Maven 3