Skip to content

Conversation

@jroper
Copy link
Member

@jroper jroper commented Jan 3, 2012

I implemented this in my own project, and then thought it would be more useful in jackson-core. Maven puts version info by default in META-INF/maven/groupId/artifactId/pom.properties, so it makes sense that jackson-core should provide a convenience method for loading Version objects from it that jackson modules can use. The method also accepts a classloader, which should ensure it works in OSGi environments.

@cowtowncoder
Copy link
Member

Good idea. I created [http://jira.codehaus.org/browse/JACKSON-745] for this, and can merge the request.
I was actually contemplating on adding such support, but forgot about it (mostly since artifact id is not necessarily always available); but it is a good idea. Thank you for implementing it.

cowtowncoder added a commit that referenced this pull request Jan 3, 2012
Support for parsing versions from maven pom.properties files [JACKSON-745]
@cowtowncoder cowtowncoder merged commit 4b7260c into FasterXML:master Jan 3, 2012
CatherineRSJ added a commit to CatherineRSJ/jackson-core-tests that referenced this pull request Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants