Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3501

mvn assembly:assembly goal is deprecated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Trivial
    • 7.0.0.ER7
    • None
    • Documentation
    • None

    Description

      Development Guide -> class loading -> 3.3. Generate MANIFEST.MF entries using Maven
      contains example:

      [Localhost ]$ mvn assembly:assembly
      

      however

      http://maven.apache.org/plugins/maven-assembly-plugin/ says

      The main goal in the assembly plugin is the single goal. It is used to create all assemblies. All other goals are deprecated and will be removed in a future release.

      For more information about the goals that are available in the Assembly Plugin, see the plugin documentation page.

      Usage of the assembly:assembly, assembly:attached, assembly:directory, and assembly:directory-inline are deprecated, since they wreak havoc with normal build processes and promote non-standard build practices.

      Suggestion:

      mvn assembly:assembly
      

      should be replaced with

      mvn assembly:single
      

      n_2144933_development-guide_version_7.0.beta_edition_1.0_release_0-revision_7920203

      Attachments

        Activity

          People

            rhn-support-pnag Priyanka Pandey
            msimka@redhat.com Martin Simka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: