Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read the pom.properties from the JAR

 
premchand chand
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a requirement to read the pom.properties present inside the JAR complied by maven.
Could anybody provide any pointer how to go about it?
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can read JAR files using the JarFile and JarInputStream classes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic