I'm trying to use the maven programmatic APIs to get the properties of the default profile (i.e. the stuff in Project->Properties->XYZ) and return them as a Java 'Properties' object, so far with no luck. First I thought of trying to use the maven invoker e.g:
That just seems to return null. The other way I tried was using the maven builder APIs like so: That causes a "mavenTools: null" exception to be thrown from the MavenProject class. How do I get this to work? -- View this message in context: http://maven.40175.n5.nabble.com/Programmatically-get-maven-properties-tp4912280p4912280.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
