{"issue":{"state":"open","created_at":"2011-11-18T20:13:48Z","updated_at":"2011-11-25T17:12:17Z","user":{"gravatar_id":"2850b7e3dada0859766a15e6b5448598","id":274899,"url":"https://api.github.com/users/jecollins","login":"jecollins","avatar_url":"https://secure.gravatar.com/avatar/2850b7e3dada0859766a15e6b5448598?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"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).\r\n\r\n`[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/)`\r\n\r\nIndeed, 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).","assignee":{"gravatar_id":"b3b58916b24b9e2cac78319da4895150","id":571556,"url":"https://api.github.com/users/ribei017","login":"ribei017","avatar_url":"https://secure.gravatar.com/avatar/b3b58916b24b9e2cac78319da4895150?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2284073,"labels":[{"name":"Bug","color":"ff0000","url":"https://api.github.com/repos/powertac/powertac-server/labels/Bug"},{"name":"Process","color":"038035","url":"https://api.github.com/repos/powertac/powertac-server/labels/Process"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":433,"title":"Maven build timestamps prevent resolution of modules from jenkins repo","closed_at":null,"html_url":"https://github.com/powertac/powertac-server/issues/433","url":"https://api.github.com/repos/powertac/powertac-server/issues/433","milestone":{"state":"open","created_at":"2011-06-09T02:48:03Z","closed_issues":65,"due_on":"2011-12-02T08:00:00Z","creator":{"gravatar_id":"2850b7e3dada0859766a15e6b5448598","id":274899,"url":"https://api.github.com/users/jecollins","login":"jecollins","avatar_url":"https://secure.gravatar.com/avatar/2850b7e3dada0859766a15e6b5448598?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":6,"description":"Development version for 2012 competition","title":"Power TAC 2012 Development","url":"https://api.github.com/repos/powertac/powertac-server/milestones/6","open_issues":8}},"action":"created","comment":{"created_at":"2011-11-25T17:12:17Z","updated_at":"2011-11-25T17:12:17Z","user":{"gravatar_id":"2850b7e3dada0859766a15e6b5448598","id":274899,"url":"https://api.github.com/users/jecollins","login":"jecollins","avatar_url":"https://secure.gravatar.com/avatar/2850b7e3dada0859766a15e6b5448598?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I have been beating my head against this problem for days. I am coming to the conclusion that the jenkins repository plugin does not work, and that we'll need to set up a \"real\" maven repo somewhere before we can solve this problem.\r\n\r\nOn the other hand, I have successfully run the server from outside the IDE, by doing the following steps locally:\r\n\r\n* In powertac-server, do `mvn clean install` - that puts all the artifacts in the local repo (`~/.m2/repository`).\r\n* Also in powertac-server, do `mvn install:install-file -Dfile=distribution-utility/lib/ojalgo-30.6.jar -DgroupId=org.ojalgo -DartifactId=ojalgo -Dversion=30.6 -Dpackaging=jar` - this adds the ojalgo jar to the local repo. I've tried this on jenkins, but the ojalgo package does not show up in the jenkins repo. I suspect it's because there's no ojalgo project.\r\n* Change the ojalgo dependency in distribution-utility/pom.xml to be group:org.ojalgo, artifactId:ojalgo, version:30.6, with compile scope.\r\n* Run the server from powertac-server/server-main as `mvn exec:java -Dexec.mainClass=\"org.powertac.server.PowerTacServer\" -Dexec.args=\"../src/main/resources/bootstrap.txt\"`","id":2876361,"url":"https://api.github.com/repos/powertac/powertac-server/issues/comments/2876361"}}