Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for parsing versions from maven pom.properties files #1

Merged
merged 1 commit into from
Jan 3, 2012

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 referenced this pull request in CatherineRSJ/jackson-core-tests 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