[ 
http://jira.codehaus.org/browse/MSHARED-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Casey closed MSHARED-32.
-----------------------------

       Resolution: Fixed
    Fix Version/s: maven-archiver-2.4

Deprecated <classpathMavenRepositoryLayout> in favor of new 
<classpathLayoutType>, which uses a value of 'repository' to mimick the 
<classpathMavenRepositoryLayout>true</classpathMavenRepositoryLayout> setting. 
For a custom layout, try:

{code:xml}
<classpathLayoutType>custom</classpathLayoutType>
<customClasspathLayout>${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</customClasspathLayout>
{code}

The configuration for this should show up in the classpath examples page on the 
maven-archiver website once the release is done.

> Customization of jar-name pattern of classpath-entries inside MANIFEST.MF
> -------------------------------------------------------------------------
>
>                 Key: MSHARED-32
>                 URL: http://jira.codehaus.org/browse/MSHARED-32
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-archiver
>            Reporter: manuel aldana
>            Assignee: John Casey
>            Priority: Critical
>             Fix For: maven-archiver-2.4
>
>
> i followed manifest-customation as explained in:
> http://maven.apache.org/shared/maven-archiver/index.html
> what i really miss, is to configure the classpath pattern of the dependency 
> jar-names. the only customization of classpath entries is possible by setting 
> the classpath prefix (<addClasspath>) and 
> (<classpathMavenRepositoryLayout/>). unfortunately it is not possible to set 
> the jar-name pattern itself.
> to avoid library name-clashes we got pattern $groupId-$artifactId-$version 
> for jars which are put besides the main-jar. by default maven-archiver only 
> sets $artifactId-$version. so it would be nice to have a possible 
> configuration like <jarPattern> or similar inside maven archive-configuration 
> .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to