Dev - Nexus
  1. Dev - Nexus
  2. NEXUS-2036

If any exception causes rebuild maven-metadata task skipping rebuilding, it should be logged

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.3.4, 1.4.0
    • Component/s: None
    • Labels:
      None
    • Global Rank:
      4453

      Activity

      Hide
      Juven Xu added a comment -
      • if exception occurs while running the task (eg. parsing a bad pom), it's logged
      • if the the parsed gav is inappropriate (eg. the groupId is $ {parent.groupId}

        , it will be logged since the maven-metadata.xml might no be created

      Show
      Juven Xu added a comment - if exception occurs while running the task (eg. parsing a bad pom), it's logged if the the parsed gav is inappropriate (eg. the groupId is $ {parent.groupId} , it will be logged since the maven-metadata.xml might no be created
      Hide
      Rich Seddon added a comment -

      Logging works, trying with groupid of $

      {parent.groupId}

      In 1.3.3:

      2009-05-19 10:30:17 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository Releases from path null and below. : Process started on Tue May 19 10:30:17 PDT 2009, not yet finished.
      2009-05-19 10:30:17 INFO [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Recreating Maven2 metadata in repository ID='releases' from path='/'


      In1.3.4:

      2009-05-19 10:28:32 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository Releases from path null and below. : Process started on Tue May 19 10:28:32 PDT 2009, not yet finished.
      2009-05-19 10:28:32 INFO [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Recreating Maven2 metadata in repository ID='releases' from path='/'
      2009-05-19 10:28:33 WARN [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Group Id'${parent.groupId}

      ' parsed from '/$

      {parent/groupId}

      /foo/1.0/foo-1.0.0.pom' is inappropriate, related maven-metadata.xml might not be recreated.

      Show
      Rich Seddon added a comment - Logging works, trying with groupid of $ {parent.groupId} In 1.3.3: 2009-05-19 10:30:17 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository Releases from path null and below. : Process started on Tue May 19 10:30:17 PDT 2009, not yet finished. 2009-05-19 10:30:17 INFO [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Recreating Maven2 metadata in repository ID='releases' from path='/' In1.3.4: 2009-05-19 10:28:32 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository Releases from path null and below. : Process started on Tue May 19 10:28:32 PDT 2009, not yet finished. 2009-05-19 10:28:32 INFO [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Recreating Maven2 metadata in repository ID='releases' from path='/' 2009-05-19 10:28:33 WARN [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Group Id'${parent.groupId} ' parsed from '/$ {parent/groupId} /foo/1.0/foo-1.0.0.pom' is inappropriate, related maven-metadata.xml might not be recreated.

        People

        • Assignee:
          Rich Seddon
          Reporter:
          Juven Xu
          Last Updated By:
          Rich Seddon
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:
            Date of First Response:

            Time Tracking

            Estimated:
            Original Estimate - Not Specified
            Not Specified
            Remaining:
            Remaining Estimate - 0h
            0h
            Logged:
            Time Spent - 2.5h
            2.5h