[ https://jira.codehaus.org/browse/MSHARED-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MSHARED-131: ---------------------------------- Description: When I have a dependency {code:xml}<dependency> <groupId>com.almerys.pec</groupId> <artifactId>ws-ag2r-client</artifactId> <version>2.2.0.0.0</version> <classifier>${env}</classifier> </dependency>{code} 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 was: 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 > Maven archiver does not manage empty classifier correctly in manifest.mf > classpath > ---------------------------------------------------------------------------------- > > Key: MSHARED-131 > URL: https://jira.codehaus.org/browse/MSHARED-131 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-archiver > Reporter: fabrice > Assignee: Dennis Lundberg > Fix For: maven-archiver-2.5 > > > When I have a dependency > {code:xml}<dependency> > <groupId>com.almerys.pec</groupId> > <artifactId>ws-ag2r-client</artifactId> > <version>2.2.0.0.0</version> > <classifier>${env}</classifier> > </dependency>{code} > 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 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira