Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4672

[regression] jnlp doesn't contains dependencies anymore when attaching sources to package phase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.0-alpha-7, 3.0-beta-1
    • None
    • Dependencies
    • None
    • Win XP

    Description

      running:
      mvn clean
      mvn package webstart:jnlp

      on the attached test project produce different result between Maven 2.2.1 and Maven 3-beta-1.

      With Maven 2 I have a jnlp and a zip file that contain all dependencies of the project (logback and slf4j in my sample project).

      With Maven 3 there is no dependency.

      Please note that the important point is that -sources generation is attached to the package phase (like with -DperformRelease=true). When I remove -sources generation it works with Maven 3.

      Attachments

        1. bug Maven 3 jnlp.zip
          2 kB
          Julien HENRY

        Issue Links

          Activity

            People

              Unassigned Unassigned
              henryju Julien HENRY
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: