Maven 2 & 3

[RFC] change the POM to use attributes

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0.8
  • Fix Version/s: 3.1
  • Component/s: POM
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    0

Issue Links

Activity

Hide
nicolas de loof added a comment -

I tried to enable the "flat" modello format for collections, to change :

<plugin>
<executions>
<execution>
<id>xx</id>
<phase>xx</phase>
<goals>
<goal>xx</goal>
</goals>
</execution>
</executions>
</plugin>

.. to the more convice :

<plugin>
<execution id="xx" phase="xx">
<goal>xx</goal>
</executions>
</plugin>

but this didn't worked : the modello generated parser still search the "executions" in XML stream. Not investigated more yet on this.

Show
nicolas de loof added a comment - I tried to enable the "flat" modello format for collections, to change : <plugin> <executions> <execution> <id>xx</id> <phase>xx</phase> <goals> <goal>xx</goal> </goals> </execution> </executions> </plugin> .. to the more convice : <plugin> <execution id="xx" phase="xx"> <goal>xx</goal> </executions> </plugin> but this didn't worked : the modello generated parser still search the "executions" in XML stream. Not investigated more yet on this.
Hide
Brett Porter added a comment -

what change did you make to the model to enable this?

Show
Brett Porter added a comment - what change did you make to the model to enable this?
Hide
Darren Bell added a comment -

When will this be rolled into a release?

Show
Darren Bell added a comment - When will this be rolled into a release?
Hide
Darren Bell added a comment -

Yay, thanks Brett. So, when's 2.1 out?

Show
Darren Bell added a comment - Yay, thanks Brett. So, when's 2.1 out?
Hide
Yang Gu added a comment -

This feature will make pom.xml more concise.

Show
Yang Gu added a comment - This feature will make pom.xml more concise.
Hide
Gin-Ting Chen added a comment -

Any chance this will be ported to the 2.0.x or 2.1.x lines?

Show
Gin-Ting Chen added a comment - Any chance this will be ported to the 2.0.x or 2.1.x lines?
Hide
Darren Bell added a comment -

Is this still being worked on? Maybe now for the 3.0 release?

Show
Darren Bell added a comment - Is this still being worked on? Maybe now for the 3.0 release?

People

Vote (51)
Watch (46)

Dates

  • Created:
    Updated: