Sorry for the confusion - I was referring to the modello plugin
configuration:
<profiles>
<profile>
<id>all-models</id>
<activation>
<property>
<name>allmodels.enabled</name>
<value>true</value>
</property>
</activation>
<build>
<finalName>${pom.artifactId}-${pom.version}-all</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<executions>
<execution>
<id>v3</id>
<configuration>
<model>maven.mdo</model>
<version>3.0.0</version>
<packageWithVersion>true</packageWithVersion>
</configuration>
<goals>
<goal>xpp3-writer</goal>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xsd</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
Andy Glick wrote:
> 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]