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

Maven archiver does not manage empty classifier correctly in manifest.mf classpath

    XMLWordPrintableJSON

Details

    Description

      When I have a dependency

      <dependency>
      	<groupId>com.almerys.pec</groupId>
      	<artifactId>ws-ag2r-client</artifactId>
      	<version>2.2.0.0.0</version>
      	<classifier>${env}</classifier>
      </dependency>

      and $env define as empty like that

      <env></env> or <env/>

      Maven download the correct dependency without classifier but in the manifest.mf I have in the classpath : ws-ag2r-client-2.2.0.0.0-.jar
      '-' is not correct !!

      Fabrice

      Attachments

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              fabrice Fabrice Scoyer
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: