I managed to install .war in a Jboss web container containing and read pom.properties located in the / META -INF / groupid-dir / artifactid-dir / directory
To access the file, I used the following code inside the JSP in the same war:
ServletContext servletContext = getServletConfig().getServletContext(); InputStream in = servletContext.getResourceAsStream("META-INF/maven/groupid-dir/artifactid-dir/pom.properties");
This works great. But I want to be able to dynamically read pom.propertes from ALL.war deployed in the container. Is this possible or do I only have access to the context for one war owner? Jsp
-mb
mariusbreivik
source share