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>
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: