Brett Porter wrote:

This is correct, you just need to add the <model> element to the profile
(another regression I encountered during the process).

Hope that's everything, sorrry for the run around.

Brett, sorry, but its not everything. If there is existing documentation that 
shows how to add a model element, I don't know how to find it. I did take a 
look at the code for org.apache.model.Profile and its superclass ModelBase in 
the same package which I generated in maven-model, neither has a reference to a 
field or local variable named model. Where does it go, what content does it 
get? The really nice Build Profiles page that you did Monday :-) doesn't show 
an example with a model element.

I took a look at the 4.0 XSD generated at the same time as the code with graphical viewer of the Oxygen editor, looked at the Profile type's contents, saw module as a legal entry but not model, but if you mistyped module as model, I'm still baffled about what to put where (as in what module am I referencing?) within the <profile> element.
Please, a working example. :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to