Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-103

custom classpath layout type using layout ${artifact.artifactId}.${artifact.extension} generate null.null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-archiver-2.4
    • maven-archiver-2.4
    • maven-archiver
    • None
    • windows XP, maven 2.0.9, jdk 1.4.2_11

    Description

      Hello,

      My need is to dynamically create the Manifest, based on pom datas. For classpath, I'd like to list dependencies using only their artifactId (without version).
      so, on maven2 jar plugin, I've tried to add the configuration, as defined at http://maven.apache.org/shared/maven-archiver/examples/classpath.html#Custom
      Dependency to version 2.4 of maven-archiver is well managed.
      Using it, I generate the following entry in the MANIFEST.MF :
      ...
      Class-Path: null.null null.null null.null null.null
      ...

      As you can see, I have 4 dependencies. Where is the problem ?
      ... I've tried to use it with maven-artifact:2.0.9 - no more success.
      Have you an idea ? Does it works for you ?

      Thinks for your help

      Herve

      Attachments

        Activity

          People

            Unassigned Unassigned
            herve.fargeton@laposte.net herve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: