aspose file tools*
The moose likes Java in General and the fly likes How to read the pom.properties from the JAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to read the pom.properties from the JAR " Watch "How to read the pom.properties from the JAR " New topic
Author

How to read the pom.properties from the JAR

premchand chand
Greenhorn

Joined: May 07, 2008
Posts: 6
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

Joined: Oct 27, 2005
Posts: 19693
    
  20

You can read JAR files using the JarFile and JarInputStream classes.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: How to read the pom.properties from the JAR