powertac/powertac-server — Issue #433: Maven build timestamps prevent resolution of modules from jenkins repo
Author: jecollins
Created: 2011-11-18 20:13:48+00:00
State: open
Labels: Bug, Process

Yesterday we tried doing a fresh install of the server, and could not build because maven fails to resolve the common module. Here's what maven says about a fresh clone of powertac-server (after running src/main/scripts/submodule-setup.sh).

`[ERROR] Failed to execute goal on project server-interface: Could not resolve dependencies for project org.powertac:server-interface:jar:0.0.1-SNAPSHOT: Could not find artifact org.powertac:common:jar:0.0.1-20111111.173802-46 in powertac-umn (http://tac04.cs.umn.edu:8080/plugin/repository/everything/)`

Indeed, if we look in the repo, there is no common:jar that looks like that. The long string of numbers is a maven timestamp, containing yyyymmdd.tttttt-bb containing year, month, day, seconds, and buld number. There is a build #46, in the repo, but it was built on 11/17, and so it has a different timestamp. Possibly this has something to do with the setting of a flag in the jenkins config, but until it's solved you have to pull down common yourself and install it locally (mvn install).