Skip to content

[MNG-4672] [regression] jnlp doesn't contains dependencies anymore when attaching sources to package phase #6070

@jira-importer

Description

@jira-importer

Julien HENRY opened MNG-4672 and commented

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.


Affects: 3.0-alpha-7, 3.0-beta-1

Attachments:

Issue Links:

  • MNG-3297 maven should not give dependencies to plugins that don't @requireDependencyResolution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions