2009/7/27 Lewis, Eric <[email protected]>:
> Is there a way to read a POM from a Java class without having to write a 
> Maven plugin? I've written some plugins, but this should run outside the 
> Maven ecosystem  :-)
> If there is, it would most likely be some helper class which I could load and 
> use.

You should try the Maven embedder. However it seems that there is no
docs about it, though the artifact is present in the main repository.
The guide should be this:
http://maven.apache.org/guides/mini/guide-embedding-m2.html
However it seems that it does not work, this is from Google's cache:
http://209.85.135.132/search?q=cache:BELFcK0V3o8J:maven.apache.org/guides/mini/guide-embedding-m2.html+maven+embedder&cd=1&hl=en&ct=clnk&client=firefox-a

HTH
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to