How to reference the latest versions of Woodstox with Maven

I spent some time digging around before figuring out how to reference the latest version of Woodstox Stax processor with Maven: Central only contains older versions, and the project changed its group and artefact ids, so I figured I’d blog about it in case it turns to be useful to others.

First, add the codehaus maven repository to your pom:

<repositories>
	:
	<repository>
		<id>http://repository.codehaus.org/</id>
		<url>http://repository.codehaus.org/</url>
	</repository>
	:
</repositories>

And then add

org.codehaus.woodstox:woodstox-core-asl:4.0.8

to your dependencies:

<dependencies>
	:
	<dependency>
		<groupid>org.codehaus.woodstox</groupid>
		<artifactid>woodstox-core-asl</artifactid>
		<version>4.0.8</version>
	</dependency>
	:
</dependencies>
Follow

Get every new post delivered to your Inbox.