jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Doxia
  • DOXIA-254

Using the last version of modello-maven-plugin

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0, 1.1
  • Fix Version/s: 1.0, 1.1
  • Component/s: Decoration Model
  • Labels:
    None

Description

modello-maven-plugin:1.0-alpha-21 produces errors in doxia-decoration-model project

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    DOXIA-254
    27/Sep/08 7:04 AM
    2 kB
    Olivier Lamy
  2. File
    testInheritence.diff
    22/Jan/09 6:40 AM
    2 kB
    Vincent Siveton

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MODELLO-83 Improvements for the generated methods equals(...), hashCode(), toString()

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 27/Sep/08 7:03 AM

fixing the xsd generation with attached patch generate junit issues.

Failed tests:
  testInheritence(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testFullyPopulatedParentAndEmptyChild(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testResolvingAllRelativeUrls(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testResolvingAllSiteUrls(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testLogoWithoutImage(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)

Tests run: 49, Failures: 5, Errors: 0, Skipped: 0
Show
Olivier Lamy added a comment - 27/Sep/08 7:03 AM fixing the xsd generation with attached patch generate junit issues.
Failed tests:
  testInheritence(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testFullyPopulatedParentAndEmptyChild(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testResolvingAllRelativeUrls(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testResolvingAllSiteUrls(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)
  testLogoWithoutImage(org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest)

Tests run: 49, Failures: 5, Errors: 0, Skipped: 0
Hide
Permalink
Olivier Lamy added a comment - 27/Sep/08 7:04 AM

patch which fix xsd generation

Show
Olivier Lamy added a comment - 27/Sep/08 7:04 AM patch which fix xsd generation
Hide
Permalink
Vincent Siveton added a comment - 28/Sep/08 6:25 AM

You did exactly what I did

Show
Vincent Siveton added a comment - 28/Sep/08 6:25 AM You did exactly what I did
Hide
Permalink
Olivier Lamy added a comment - 28/Sep/08 10:31 AM

What has changed in modello ? (I will try a diff on generated classes)
it looks to be a very WEIRD issue

Show
Olivier Lamy added a comment - 28/Sep/08 10:31 AM What has changed in modello ? (I will try a diff on generated classes) it looks to be a very WEIRD issue
Hide
Permalink
Vincent Siveton added a comment - 22/Jan/09 6:29 AM

The change is in MenuItem#equals(Object other) which uses also super.equals(), introduced by MODELLO-83.

Show
Vincent Siveton added a comment - 22/Jan/09 6:29 AM The change is in MenuItem#equals(Object other) which uses also super.equals(), introduced by MODELLO-83.
Hide
Permalink
Vincent Siveton added a comment - 22/Jan/09 6:40 AM

The tests like testInheritence() were originally wrong.

I tried to debug the mergedModel and childModel object using Xstream. The attachment shows the Xstream differences: mainly links in childModel should be .. (dotdot) I will fix tests under latest Modello.

Show
Vincent Siveton added a comment - 22/Jan/09 6:40 AM The tests like testInheritence() were originally wrong. I tried to debug the mergedModel and childModel object using Xstream. The attachment shows the Xstream differences: mainly links in childModel should be .. (dotdot) I will fix tests under latest Modello.
Hide
Permalink
Vincent Siveton added a comment - 22/Jan/09 7:05 AM

fixed in r736628

Show
Vincent Siveton added a comment - 22/Jan/09 7:05 AM fixed in r736628
Hide
Permalink
Dennis Lundberg added a comment - 22/Jan/09 5:02 PM

Thanks for looking into this Vincent.

I have been trying to fix this on the 1.0.x branch before I release 1.0.

Do you think it's possible/preferable to merge r736628 to the 1.0.x branch?

Show
Dennis Lundberg added a comment - 22/Jan/09 5:02 PM Thanks for looking into this Vincent. I have been trying to fix this on the 1.0.x branch before I release 1.0. Do you think it's possible/preferable to merge r736628 to the 1.0.x branch?
Hide
Permalink
Vincent Siveton added a comment - 22/Jan/09 9:58 PM

Dennis, I was thinking to ping you since you are our official branch maintainer! So feel free to do it

Show
Vincent Siveton added a comment - 22/Jan/09 9:58 PM Dennis, I was thinking to ping you since you are our official branch maintainer! So feel free to do it
Hide
Permalink
Vincent Siveton added a comment - 22/Jan/09 9:59 PM

An other comment, FYI the generated XSD is actually wrong, but it is fixed with the modello beta-1

Show
Vincent Siveton added a comment - 22/Jan/09 9:59 PM An other comment, FYI the generated XSD is actually wrong, but it is fixed with the modello beta-1
Hide
Permalink
Dennis Lundberg added a comment - 25/Jan/09 4:43 PM

This issue is now fixed for the 1.0 branch as well.

Show
Dennis Lundberg added a comment - 25/Jan/09 4:43 PM This issue is now fixed for the 1.0 branch as well.

People

  • Assignee:
    Vincent Siveton
    Reporter:
    Vincent Siveton
Vote (0)
Watch (0)

Dates

  • Created:
    27/Sep/08 5:45 AM
    Updated:
    25/Jan/09 4:43 PM
    Resolved:
    22/Jan/09 7:05 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.