Tuesday 22nd bike ride – Bike2Work Stevenage

Tuesday was bike 2 work day in Stevenage.

I started off at 6.10 am and it was fairly nippy outside – 15C. It took until Radwell to get my muscles warmed up, so the first hill was a bit of a challenge.

The traffic wasn’t too bad and there was only one car (taxi) that didn’t pass with ample room.

The route I took was as follows (below) on the way there. On the way back I cut across from just outside of Radwell back to Hinxworth as I was shattered and too hot to attempt the Ashwell hill.
Total Distance 26.5 miles.


View Larger Map

It took 1 hour 20 minutes to get to the bike 2 work meeting point, but I forgot to check how long it took to get back.

There were about 20 people milling about at the meeting point. Goody bags were being handed out to those who wanted one. The goody bag included lots of leaflets a bike clip (?) and a chocolate bar. If you wanted a free breakfast, you were given a coin and could get anything from the sandwich van. I opted for just getting a carton of Ribena as I didn’t want to eat anything substantial before going back.

Also at the event was CEMEX who were demonstrating how little lorries can see of cyclists from their cab. A black mat in front of the cab showed where the bling spot was. The lorry had been fitted with a special mirror that allowed the lorry driver to see in to that blind spot.

The ride back was exceedingly bumpy as I tried to use the pavement between Graveley and Baldock to avoid the traffic. Somehow the screen on my phone got a nice crack across it 🙁

Images courtesy of CEMEX UK.

CEMEX UK 1

CEMEX UK 2

Friday 18th bike ride

We need to start getting in quite a bit of training as there is just over a month now till the bike ride on the 25th July!
So I’ve had this route planned for half a year now. We didn’t go quite according to the route I had planned. Made a few mistakes that added about 2 miles to the original and even ended up cycling down the A507(!) which wasn’t fun, but all cars that passed did so at a good distance.

So here is the final route we took (roughly – as Google maps doesn’t seem to know the bit at the edge of Letchworth and the bit in Ashwell). We went Langford, Shefford, Shillington way, not the way google maps shows as arrows. Total mileage was 31.4 miles


View Larger Map

We stopped for lunch in Ickleford at the Old George Inn which was very nice, but a big mistake as we cooled down too much and found the next section through Letchworth, Baldock and in to Ashwell, very hard going. So we learnt a lot from the ride: Don’t eat lunch, take jelly babies and pretzels, take lots of water and make sure to refill it at every stop and don’t stop for longer than 5 minutes.

My next ride will be on Tuesday 22nd as its bike to work day in Stevenage and its another good excuse to get some training in.

m2eclipse plugin error message

I’ve been installing Eclipse with all of the plugins I usually use nowadays (m2eclipse, checkstyle, etc.) but had encountered a problem after installing m2eclipse. The error was as follows:

Could not calculate build plan: Missing:
----------
1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
Try downloading the file manually from the project website.
Then, install it using the command: 
mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.1 -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: 
mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
----------
1 required artifact is missing.
for artifact: 
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)

Rather non-descript error there. Had a quick google around and there are a few people posting similar error messages but none of the pages had an answer on how to fix it. I checked the .m2eclipse file to make sure it was correct, which it seems to be. And then I had a bit of a brain wave! (Unusual yes). Every post I’d seen had mentioned that the plugin was definitely in the repository, but Eclipse was claiming it couldn’t find it. So I checked ZoneAlarm and deleted all entries that didn’t have Access-trusted and internet. Lo and behold, Java™ Platform SE binary pops up a dialog box straight away and when I allowed it access, Eclipse began to download successfully from the repository!

But the error is still there… So attempt 2, add the plugin to the plugins tab, but move the plugin to the next version 2.4.2.

<plugins>
  	<plugin>
 		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-resources-plugin</artifactId>
		<version>2.4.2</version>
	</plugin>
</plugins>

The error is now gone, but not sure this is the best solution, so if anyone can think of a better one, let me know!

Anyway hope this helps someone else with this error message.