On Fri, 2004-05-14 at 07:22, Maczka Michal wrote: > The code you are refering to is a part of maven2 code base. > It hasn't yet even reached alpha stage and it is not ready for public > consumption > (everyday there are some changes in the api). > > What you are trying to do (perstist POMs in the database) is also in our > plans. > > So we cannot offer any direct help at the moment...
But we will be able to shortly and using the components from maven2 is definitely the way to go. If you are in the planning stages of your project then there will be something for you to use. Note that we generate the the xpp3 reader/writer from the modello model you see in the maven-model module: http://cvs.modello.codehaus.org/modello/ This model will also serve to generate SQL required for tables and other persistence artifacts. So from this model I'm sure you could OJB metadata (or hibernate, I don't use hibernate) or whatever you need for other persistence layers. So you can take a look at modello and ask questions on the modello list as what it provides for persistence of a model is what you will want to use. That's about all the info you need and about as much as I will say until the alpha is released. The first thing I plan to do post 1.0 is to use the maven2 model mechanism in maven1. Modello supports multiple versions of a model so the model for the v3 will be supported. I have started some dabbling with database stuff for modello if you're in a dire rush to complete a phase for you project. It's taken from work I did in Torque and commons-sql to generate SQL and persistence mechanisms from a model in those projects. If you're interested mail me in private. > regrads > > Michal > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Friday, May 14, 2004 1:15 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: POM Parser > > > > > > For my project in order to make it persistent the information > > gathered by > > the POM of an application we want to store that in a > > database. Being the > > POM Parser a fundamental part of that concept, instead of > > writing my own > > one, I noticed that there is already a POM parser and the > > corresponding > > Model to populate in maven-components and in particular in the > > > > maven-project module. > > > > I noticed that those classes are not distributed with the > > maven.jar that > > normally comes with the public distribution. > > > > In the maven repository at ibiblio I could only find > > maven-model-2.0-ARTIFACT.jar > > > > Is there anyone who could shed some light on that arguments > > and in case > > point me to a location where I could get the > > maven-project-version.jar ? > > > > Any help is welcome > > > > > > Michele > > > > > > This e-mail, including attachments, is intended for the person(s) or > > company named and may contain confidential and/or legally privileged > > information. Unauthorized disclosure, copying or use of this > > information > > may be unlawful and is prohibited. If you are not the > > intended recipient, > > please delete this message and notify the sender > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
