Francois Fernandes wrote: > Hi list, > > for some time now I've been looking for a easy way to generate a simple > class containing version information of our artifact. I know that it is > possible to filter resources. But to avoid any resource loading issues I > would like maven to generate such a class. > Does anyone have a idea how to solve this? I'm sure that using resource > filtering of a specific class template and then attaching the generated > source(-folder) using the build-helper-maven-plugin, but is this a > elegant way?
Maven packages a pom.porperties inside a jar's META-INF directory. I'd use that instead of generating a class. -dirk -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
